/*
Theme Name: Barnabus Encouragement Elementor Faithful
Theme URI: https://example.com/
Author: OpenAI
Description: A faithful Elementor-editable rebuild of the original Barnabus Encouragement design for a Christian encouragement, missionary testimony, books and study guides ministry.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: barnabus-encouragement
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--ink:#18312c;--pine:#2f5a47;--sage:#a8b9a2;--cream:#f7f2e8;--paper:#fffdf8;--gold:#bd8a42;--muted:#61716a;--line:#d8ddd5;--shadow:0 12px 35px rgba(24,49,44,.11);--radius:18px;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.7}.site{overflow:hidden}.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}a{color:var(--pine);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--gold)}img{max-width:100%;height:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed;width:auto;height:auto;margin:0;clip:auto;z-index:9999;top:10px;left:10px;padding:10px 14px;background:#fff;color:#000}
.site-header{background:rgba(255,253,248,.96);border-bottom:1px solid var(--line);position:relative;z-index:20}.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--pine);color:#fff;font-weight:bold;font-size:25px;box-shadow:0 4px 12px rgba(47,90,71,.25)}.brand-text{display:grid;line-height:1.05}.brand-text strong{font-size:22px}.brand-text span{font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);margin-top:5px;font-family:Arial,sans-serif}.primary-menu ul{display:flex;align-items:center;gap:20px;margin:0;padding:0;list-style:none}.primary-menu a{text-decoration:none;color:var(--ink);font-family:Arial,sans-serif;font-weight:700;font-size:14px}.primary-menu .current-menu-item>a,.primary-menu a:hover{color:var(--gold)}.menu-toggle{display:none;background:transparent;border:1px solid var(--pine);color:var(--pine);border-radius:8px;padding:8px 10px;font:700 14px Arial,sans-serif}
.hero{background:linear-gradient(115deg,rgba(24,49,44,.96),rgba(47,90,71,.9)),radial-gradient(circle at 92% 15%,rgba(189,138,66,.38),transparent 26%);color:#fff;padding:90px 0 100px;position:relative}.hero:after{content:"";position:absolute;inset:auto 0 0;height:54px;background:var(--cream);clip-path:polygon(0 68%,100% 0,100% 100%,0 100%)}.hero-content{max-width:760px;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font:700 12px Arial,sans-serif;color:#f1d7ad;margin:0 0 14px}.hero h1{font-size:clamp(46px,7vw,80px);line-height:1.04;letter-spacing:-.035em;margin:0 0 20px}.hero p{font-size:22px;max-width:670px;color:#f8f2e9;margin:0 0 32px}.button-row{display:flex;gap:14px;flex-wrap:wrap}.button{display:inline-block;background:var(--gold);color:#fff!important;text-decoration:none;font:700 14px Arial,sans-serif;letter-spacing:.02em;padding:14px 20px;border-radius:8px;border:2px solid var(--gold);transition:.2s}.button:hover{background:#9b6e31;border-color:#9b6e31;transform:translateY(-1px)}.button-outline{background:transparent;border-color:#e8ddcb}.button-outline:hover{background:#fff;color:var(--ink)!important;border-color:#fff}
.section{padding:76px 0}.section-paper{background:var(--paper)}.section-heading{max-width:720px;margin-bottom:36px}.section-heading h2{font-size:clamp(32px,4vw,48px);line-height:1.15;letter-spacing:-.025em;margin:0 0 12px}.section-heading p{margin:0;color:var(--muted)}.feature-grid,.resource-grid,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:var(--paper);padding:30px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 19px rgba(24,49,44,.04);height:100%}.section-paper .card{background:#fff}.card-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:12px;background:#e5eee5;color:var(--pine);font-size:24px;margin-bottom:18px}.card h3{font-size:25px;line-height:1.2;margin:0 0 12px}.card p{margin:0 0 20px;color:var(--muted);font-size:17px}.text-link{font:700 14px Arial,sans-serif;text-decoration:none}.testimony{background:var(--pine);color:#fff;padding:58px 0}.testimony blockquote{font-size:clamp(28px,4vw,43px);line-height:1.25;max-width:930px;margin:0}.testimony cite{display:block;font:700 13px Arial,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#d3e1d0;margin-top:22px}.resource-card{padding:0;overflow:hidden}.resource-top{min-height:165px;background:linear-gradient(135deg,#e5eee5,#c6d4bd);padding:24px;display:flex;align-items:flex-end}.resource-top .resource-type{font:700 12px Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--pine);background:#fff;padding:7px 9px;border-radius:6px}.resource-content{padding:25px}.resource-content h3{margin:0 0 10px;font-size:26px;line-height:1.2}.resource-meta{font:700 12px Arial,sans-serif;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);margin-bottom:12px}.cta{background:linear-gradient(125deg,#17312b,#3d6c55);color:#fff;text-align:center;padding:72px 0}.cta h2{font-size:clamp(33px,4vw,50px);margin:0 0 12px;line-height:1.16}.cta p{max-width:650px;margin:0 auto 27px;color:#edf5ec}.cta .button{background:#fff;color:var(--pine)!important;border-color:#fff}.cta .button:hover{background:#e7eee5;border-color:#e7eee5}.site-footer{background:#12231f;color:#dce8db;padding:46px 0 24px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:34px}.site-footer h3{color:#fff;font-size:19px;margin-top:0}.site-footer p,.site-footer li{color:#bcd0bd;font-size:16px}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li+li{margin-top:8px}.site-footer a{color:#dce8db}.footer-bottom{border-top:1px solid rgba(220,232,219,.22);margin-top:34px;padding-top:20px;color:#93aa95;font:13px Arial,sans-serif}.page-header{background:#e5eee5;padding:54px 0}.page-header h1{margin:0;font-size:clamp(40px,6vw,62px);line-height:1.1}.content-area{padding:66px 0}.content-area article{max-width:800px}.entry-title{font-size:clamp(33px,5vw,52px);line-height:1.15;margin-top:0}.entry-meta{font:13px Arial,sans-serif;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);margin-bottom:26px}.entry-content h2{line-height:1.2;margin-top:42px}.entry-content h3{line-height:1.2;margin-top:32px}.entry-content ul,.entry-content ol{padding-left:24px}.archive-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pagination{margin-top:40px;font-family:Arial,sans-serif}.pagination .page-numbers{padding:8px 10px}.wp-block-button__link{border-radius:8px}.alignwide{max-width:var(--max)}.wp-block-quote{border-left:4px solid var(--gold);padding-left:22px;font-size:25px;color:var(--pine)}
@media(max-width:800px){.menu-toggle{display:block}.primary-menu{display:none;position:absolute;top:86px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:16px 20px}.primary-menu.open{display:block}.primary-menu ul{display:grid;gap:12px}.feature-grid,.resource-grid,.post-grid,.archive-list{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.hero{padding:72px 0 84px}.section{padding:58px 0}.header-inner{min-height:78px}.primary-menu{top:78px}}


/* Faithful Elementor editability layer: keeps the original design while making sections editable in Elementor. */
body.elementor-page .entry-content,
.elementor-page .entry-content,
.barnabus-elementor-content{max-width:none;width:100%}
.barnabus-elementor-rendered .elementor-section.elementor-section-boxed > .elementor-container,
.barnabus-elementor-content .elementor-section.elementor-section-boxed > .elementor-container{width:min(var(--max),calc(100% - 40px));max-width:var(--max);margin-inline:auto}
.barnabus-elementor-rendered .elementor-widget:not(:last-child),
.barnabus-elementor-content .elementor-widget:not(:last-child){margin-block-end:0;margin-bottom:0}
.barnabus-elementor-rendered .elementor-widget-text-editor p:last-child,
.barnabus-elementor-content .elementor-widget-text-editor p:last-child{margin-bottom:0}

/* Elementor header mirrors the original PHP header. */
.barnabus-el-header.site-header{background:rgba(255,253,248,.96);border-bottom:1px solid var(--line);position:relative;z-index:20;padding:0}
.barnabus-el-header > .elementor-container{min-height:86px;align-items:center;justify-content:space-between;gap:24px}
.barnabus-brand-shortcode .brand{display:flex!important}.barnabus-menu-shortcode{display:flex;justify-content:flex-end;align-items:center}.barnabus-menu-shortcode .elementor-widget-container{width:100%}
.barnabus-menu-shortcode .menu-toggle{float:right;margin-left:auto}.barnabus-menu-shortcode .primary-menu{clear:both}

/* Elementor widgets are mapped back to the original classes and sizes. */
.eyebrow .elementor-heading-title,.eyebrow.elementor-widget-heading .elementor-heading-title{text-transform:uppercase;letter-spacing:.16em;font:700 12px Arial,sans-serif!important;color:#f1d7ad;margin:0 0 14px}
.section .eyebrow .elementor-heading-title,.section-paper .eyebrow .elementor-heading-title,.page-header .eyebrow .elementor-heading-title{color:var(--gold)}
.be-hero-title .elementor-heading-title{font-size:clamp(46px,7vw,80px)!important;line-height:1.04!important;letter-spacing:-.035em!important;margin:0 0 20px;color:#fff!important}
.be-hero-text .elementor-widget-container{font-size:22px;max-width:670px;color:#f8f2e9;margin:0 0 32px}
.be-button-row .elementor-widget-container{display:flex;gap:14px;flex-wrap:wrap}.be-button-row a{text-decoration:none}
.section-heading .elementor-heading-title{font-size:clamp(32px,4vw,48px)!important;line-height:1.15!important;letter-spacing:-.025em!important;margin:0 0 12px;color:var(--ink)!important}
.section-heading .elementor-widget-text-editor{color:var(--muted)}
.feature-grid.elementor-section > .elementor-container,
.resource-grid.elementor-section > .elementor-container,
.post-grid.elementor-section > .elementor-container{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-grid.elementor-section > .elementor-container > .elementor-column,
.resource-grid.elementor-section > .elementor-container > .elementor-column,
.post-grid.elementor-section > .elementor-container > .elementor-column{width:auto!important}
.feature-card > .elementor-widget-wrap,
.post-card > .elementor-widget-wrap{background:var(--paper);padding:30px!important;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 19px rgba(24,49,44,.04);height:100%;align-content:flex-start}
.section-paper .feature-card > .elementor-widget-wrap,
.section-paper .post-card > .elementor-widget-wrap{background:#fff}
.card-icon .elementor-heading-title{display:grid;place-items:center;width:47px;height:47px;border-radius:12px;background:#e5eee5;color:var(--pine)!important;font-size:24px!important;margin-bottom:18px}
.feature-card h3.elementor-heading-title,.post-card h3.elementor-heading-title{font-size:25px!important;line-height:1.2!important;margin:0 0 12px;color:var(--ink)!important}
.feature-card .elementor-widget-text-editor,.post-card .elementor-widget-text-editor{color:var(--muted);font-size:17px;margin:0 0 20px}
.testimony .be-testimony-html blockquote{font-size:clamp(28px,4vw,43px);line-height:1.25;max-width:930px;margin:0;color:#fff}.testimony .be-testimony-html cite{display:block;font:700 13px Arial,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#d3e1d0;margin-top:22px}.testimony .elementor-widget-container{color:#fff}
.cta .elementor-heading-title{font-size:clamp(33px,4vw,50px)!important;margin:0 0 12px;line-height:1.16;color:#fff!important}.cta .elementor-widget-text-editor{max-width:650px;margin:0 auto 27px;color:#edf5ec}.cta .button{background:#fff;color:var(--pine)!important;border-color:#fff}.cta .button:hover{background:#e7eee5;border-color:#e7eee5}

/* Elementor page/header/footer templates. */
.barnabus-page-template-note{background:#fff7e2;border:1px solid #edd49c;color:#5c4422;border-radius:12px;padding:14px 18px;font:14px/1.5 Arial,sans-serif;margin:18px 0}.barnabus-dynamic-title h1,.barnabus-dynamic-title .entry-title{font-size:clamp(40px,6vw,62px);line-height:1.1;margin:0}.barnabus-dynamic-intro{max-width:760px;color:var(--muted);font-size:20px}.barnabus-current-content{max-width:800px}.barnabus-featured-panel{background:linear-gradient(135deg,#e5eee5,#c6d4bd);border-radius:var(--radius);border:1px solid var(--line);min-height:280px;display:grid;place-items:center;overflow:hidden}.barnabus-featured-panel img{width:100%;height:100%;object-fit:cover}.barnabus-featured-panel .resource-type{font:700 12px Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--pine);background:#fff;padding:7px 9px;border-radius:6px}.barnabus-resource-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}.barnabus-sidebar-card{background:var(--paper);padding:30px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 19px rgba(24,49,44,.04)}.barnabus-sidebar-card ul{list-style:none;margin:0;padding:0}.barnabus-sidebar-card li{border-bottom:1px solid var(--line);padding:9px 0}.barnabus-sidebar-card li:last-child{border-bottom:0}.barnabus-search-results{display:grid;gap:22px}.barnabus-el-footer.site-footer{padding:46px 0 24px}.barnabus-el-footer .elementor-heading-title{color:#fff!important;font-size:19px!important;margin-top:0}.barnabus-el-footer .elementor-widget-text-editor,.barnabus-el-footer li{color:#bcd0bd;font-size:16px}.barnabus-el-footer a{color:#dce8db}.barnabus-el-footer ul{list-style:none;padding:0;margin:0}.barnabus-el-footer li+li{margin-top:8px}.barnabus-footer-bottom{border-top:1px solid rgba(220,232,219,.22);margin-top:34px;padding-top:20px;color:#93aa95;font:13px Arial,sans-serif}

@media(max-width:800px){.feature-grid.elementor-section > .elementor-container,.resource-grid.elementor-section > .elementor-container,.post-grid.elementor-section > .elementor-container{grid-template-columns:1fr}.barnabus-resource-layout{grid-template-columns:1fr}.barnabus-menu-shortcode{display:block}.barnabus-el-header > .elementor-container{min-height:78px}.barnabus-menu-shortcode .primary-menu{top:78px}.be-button-row .elementor-widget-container{display:flex}.hero .elementor-container{align-items:flex-start}}
