/* MARJAC Premium v2: independent core/image blocks instead of inaccessible CSS photography. */
.mj-main .mj-hero,.mj-main .mj-feature,.mj-main .mj-cta,.mj-founder-profile-quote,.mj-contact-quote,.mj-newsletter-band{isolation:isolate;position:relative;overflow:hidden}
.mj-hero::before,.mj-feature::before,.mj-cta::before{display:none!important}
.mj-hero::after,.mj-feature::after,.mj-cta::after{content:"";position:absolute;pointer-events:none;inset:0;z-index:1;background:linear-gradient(90deg,#f7f3ee 28%,#f7f3eef5 45%,#f7f3eeaa 61%,transparent 81%)}
.mj-hero-photo,.mj-feature-photo,.mj-cta-photo,.mj-quote-photo,.mj-newsletter-photo{margin:0!important;border:0!important;padding:0!important;position:absolute!important;overflow:hidden;z-index:0;display:block}
.mj-hero-photo img,.mj-feature-photo img,.mj-cta-photo img,.mj-quote-photo img,.mj-newsletter-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.mj-hero-photo{right:0;top:0;bottom:0;width:65%;height:100%}
.mj-feature-photo{right:0;top:0;bottom:0;width:60%;height:100%}
.mj-cta-photo{right:0;top:0;bottom:0;width:47%;height:100%}
.mj-hero .mj-container,.mj-feature .mj-container,.mj-cta .mj-container{position:relative;z-index:2}
.mj-hero .mj-pullquote{z-index:3}
.mj-feature{background:var(--mj-paper)}
.mj-cta{background:#e9dfd6}
.mj-cta::after{background:linear-gradient(90deg,#eee4dbee 19%,#eee4dbdb 55%,#eee4db22 83%)}
.mj-founder-profile-quote,.mj-contact-quote{background:#e9dfd6!important}
.mj-founder-profile-quote::after,.mj-contact-quote::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eee6e0c6,#e0d3c696);z-index:1;pointer-events:none}
.mj-founder-profile-quote .mj-quote-photo,.mj-contact-quote .mj-quote-photo{inset:0;width:100%;height:100%;z-index:0}
.mj-founder-profile-quote p,.mj-contact-quote p{position:relative;z-index:2}
.mj-newsletter-band{background:#ede5dd!important}
.mj-newsletter-photo{top:0;right:0;bottom:0;height:100%;width:39%}
.mj-newsletter-band::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#ede5dd 34%,#ede5ddce 70%,#ede5dd33)}
.mj-newsletter-band>.mj-container{position:relative;z-index:2}
.mj-founder-teaser-image{overflow:hidden}.mj-founder-teaser-image figure{width:100%;height:100%;margin:0}.mj-founder-teaser-image img{display:block}
/* Each Insight card is independent: image + label + title + paragraph + link. */
.mj-editorial-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.mj-editorial-card{min-width:0;border:1px solid #e2d9d0;background:#fbf8f4;overflow:hidden}
.mj-editorial-thumb{width:100%;height:157px;margin:0!important;overflow:hidden}
.mj-editorial-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mj-editorial-card-content{padding:18px 20px 24px}
.mj-editorial-card .mj-eyebrow{font-size:11px;color:var(--mj-red);letter-spacing:.035em;margin-bottom:9px}
.mj-editorial-card h3{font-size:clamp(21px,2vw,28px);line-height:1.08;margin-bottom:13px}
.mj-editorial-card p{font-size:13px;line-height:1.48;margin-bottom:14px}
.mj-editorial-card .mj-text-link{margin-top:6px}
.mj-editorial-feature{display:grid!important;grid-template-columns:53% 47%;align-items:stretch;min-height:278px;background:#ede6df}
.mj-editorial-feature-copy{padding:34px 46px;display:flex;flex-direction:column;justify-content:center}
.mj-editorial-feature-copy h3{font-size:clamp(32px,3.3vw,50px)}
.mj-editorial-feature-copy p{font-size:14px;line-height:1.45}
.mj-editorial-feature-image{min-height:100%;height:100%;margin:0!important}
.mj-editorial-feature-image img{display:block;width:100%;height:100%;object-fit:cover}
.mj-topic-editable-columns{gap:24px!important;align-items:flex-start}
.mj-topic-editable-column{min-width:0}
.mj-topic-editable-columns>.wp-block-column{border-right:1px solid #e2d8cd;padding-right:20px}
.mj-topic-editable-columns>.wp-block-column:last-child{border-right:0}
.mj-topic-editable-column h3{font-size:23px;margin-top:8px}
.mj-topic-editable-column>p{font-size:13px}
.mj-topic-editable-column>.mj-card-icon{width:42px;height:42px}
.mj-topic-editable-item{display:flex;align-items:center;gap:12px;margin:14px 0;min-height:68px}
.mj-topic-editable-image{width:80px!important;height:62px!important;flex:0 0 80px;margin:0!important}
.mj-topic-editable-image img{width:100%;height:100%;object-fit:cover}
.mj-topic-editable-item h4{font-size:18px;line-height:1.18;margin:0}
.mj-contact-item{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;margin:19px 0}
.mj-contact-item>.mj-card-icon{width:31px!important;height:31px!important;margin:0!important}
.mj-contact-item .mj-contact-item-text h3{font:600 14px/1.3 var(--mj-sans);margin:0 0 4px}
.mj-contact-item .mj-contact-item-text p{font-size:14px;line-height:1.5;margin:0}
.mj-contact-item a{color:var(--mj-text)}
/* Site-wide footer edited under Appearance > MARJAC Setup > Edit shared footer */
.mj-footer .mj-footer-columns{display:grid!important;grid-template-columns:155px 1.2fr .9fr 1fr;gap:25px;align-items:center;margin:0}
.mj-footer .mj-footer-columns>.wp-block-column{display:flex;align-items:center;gap:10px;min-width:0}
.mj-footer .mj-footer-columns .mj-card-icon{flex:0 0 22px;width:22px;height:22px;margin:0!important}
.mj-footer .mj-footer-columns p{font-size:12px;line-height:1.4;margin:0}
.mj-footer .mj-footer-brand-img{margin:0!important;width:112px}
.mj-footer .mj-footer-brand-img img{height:auto;display:block}
.mj-footer .mj-footer-bottom .mj-footer-copyright{white-space:nowrap}
.mj-footer .mj-footer-legal,.mj-footer .mj-footer-copyright{font-size:11px;margin:0}
/* Gutenberg custom form block canvas preview; real form remains fully functional on the front-end. */
.mj-block-form-editor{padding:20px!important;border:1px dashed #cb917e;background:#f8f3ed}
.mj-block-form-editor .mj-editor-helper{font:12px/1.4 Arial,sans-serif!important;color:#795e50}
.mj-block-form-editor .mj-edit-field{margin-bottom:16px}
.mj-block-form-editor .mj-edit-field label{display:block;font-size:13px!important;margin-bottom:6px}
.mj-block-form-editor .mj-edit-input{border:1px solid #d5c8c0;padding:12px;min-height:35px;background:#fbf9f6;color:#8b7b72;font:13px/1.2 Arial,sans-serif!important}
.mj-block-form-editor .mj-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mj-block-form-editor .mj-edit-submit{display:inline-block;padding:12px 25px;background:var(--mj-red);color:#fff;font:13px Arial,sans-serif}
@media(max-width:1050px){.mj-footer .mj-footer-columns{grid-template-columns:155px 1fr 1fr;gap:15px}}
@media(max-width:760px){
 .mj-hero{padding-top:235px!important}
 .mj-hero-photo{top:0;left:0;right:0;bottom:auto;width:100%;height:320px}
 .mj-hero::after{inset:0 0 auto;height:340px;background:linear-gradient(0deg,var(--mj-paper),#f7f3ee00 65%)}
 .mj-hero .mj-container{z-index:2}
 .mj-feature{padding-top:170px!important}
 .mj-feature-photo{top:0;left:0;right:0;bottom:auto;width:100%;height:220px}
 .mj-feature::after{top:0;bottom:auto;height:240px;background:linear-gradient(0deg,var(--mj-paper),transparent 55%)}
 .mj-cta-photo{width:70%}
 .mj-cta::after{background:linear-gradient(90deg,#eee4dbf5 30%,#eee4db88)}
 .mj-editorial-grid,.mj-editorial-feature{grid-template-columns:1fr!important}
 .mj-editorial-feature-image{height:240px;min-height:0;grid-row:1}
 .mj-editorial-feature-copy{padding:30px 24px}
 .mj-topic-editable-columns>.wp-block-column{border-right:0;border-bottom:1px solid #d9cbc1;padding:15px 0}
 .mj-newsletter-photo{width:50%}
 .mj-footer .mj-footer-columns{grid-template-columns:1fr 1fr;align-items:start;gap:16px}
 .mj-footer .mj-footer-columns>.wp-block-column:first-child{grid-column:1/-1}
}
@media(max-width:460px){.mj-footer .mj-footer-columns{grid-template-columns:1fr}.mj-footer .mj-footer-columns>.wp-block-column:first-child{grid-column:auto}.mj-block-form-editor .mj-edit-grid{grid-template-columns:1fr}}
/* v3: live Insights content block and article cards */
.mj-insight-feed-grid{margin-top:18px}
.mj-insight-empty{padding:40px 28px;background:rgba(245,240,233,.75);border:1px solid #e6d9d0;font-size:15px;color:#6d5a50;text-align:center}
.mj-insight-featured .mj-featured-article-visual{display:block;min-height:280px;background:#cdbba8;overflow:hidden}
.mj-insight-featured .mj-featured-article-visual img{display:block;width:100%;height:100%;object-fit:cover}
.mj-insight-topic-feed{margin-top:24px}
.mj-dynamic-insights-block{padding:22px;border:1px dashed #cb8b72;background:#f6eee7;color:#423530;font:14px/1.5 system-ui,sans-serif}
.mj-dynamic-insights-block p{margin:9px 0}
/* v4 -- Native MARJAC icon selector, separately configurable in every card. */
.mj-main .wp-block-marjac-icon,.mj-footer .wp-block-marjac-icon{display:block;width:var(--mj-icon-size,36px);height:var(--mj-icon-size,36px);max-width:100%;margin:0 0 10px;flex-shrink:0}
.wp-block-marjac-icon img{width:100%;height:100%;object-fit:contain;display:block}
.wp-block-marjac-icon.mj-icon-color-red img{filter:brightness(0) saturate(100%) invert(20%) sepia(95%) saturate(3200%) hue-rotate(343deg) brightness(89%) contrast(104%)}
.wp-block-marjac-icon.mj-icon-color-ink img{filter:brightness(0) saturate(100%) invert(9%) sepia(12%) saturate(1500%) hue-rotate(330deg)}
