/*
Theme Name: Your Catholic Journey Blocks
Theme URI: https://yourcatholicjourney.org
Author: Fresh Coast Marketing Group
Description: Lightweight block-friendly WordPress theme prototype for Your Catholic Journey. No Divi dependency. Page content is editable with WordPress blocks.
Version: 1.10.0
Text Domain: ycj-blocks
*/

:root{
  --ycj-navy:#17273a;
  --ycj-navy-2:#213650;
  --ycj-cream:#f7f1e6;
  --ycj-paper:#fffaf2;
  --ycj-green:#dfeadd;
  --ycj-green-2:#cbdcc8;
  --ycj-gold:#d8a84e;
  --ycj-clay:#b66b4f;
  --ycj-blue:#6c8aa1;
  --ycj-ink:#243247;
  --ycj-muted:#667085;
  --ycj-line:rgba(23,39,58,.14);
  --ycj-shadow:0 18px 48px rgba(23,39,58,.10);
  --ycj-shadow-soft:0 12px 30px rgba(23,39,58,.08);
  --ycj-radius:24px;
  --ycj-radius-sm:16px;
  --ycj-wrap:1120px;
  --ycj-wide:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ycj-ink);
  background:var(--ycj-paper);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
:focus-visible{outline:3px solid rgba(216,168,78,.7);outline-offset:3px;border-radius:6px}

.ycj-wrap{width:min(var(--ycj-wrap), calc(100% - 40px));margin:0 auto!important;max-width:var(--ycj-wrap)!important}
.ycj-wrap-wide{width:min(var(--ycj-wide), calc(100% - 40px));margin:0 auto!important;max-width:var(--ycj-wide)!important}
.ycj-section{padding:84px 0;margin:0!important}
.ycj-section-tight{padding:56px 0;margin:0!important}
.ycj-paper{background:var(--ycj-paper)}
.ycj-cream{background:var(--ycj-cream)}
.ycj-green{background:linear-gradient(180deg, #edf4eb 0%, var(--ycj-green) 100%)}
.ycj-gradient{background:radial-gradient(circle at 15% 20%, rgba(216,168,78,.20), transparent 30%), linear-gradient(135deg, #fffaf2 0%, #f5eddc 54%, #e7efe2 100%)}
.ycj-soft-band{background:linear-gradient(135deg, #eef4e9 0%, #f8f1e4 58%, #f1dfc6 100%)}

.ycj-site-header{background:rgba(255,250,242,.94);border-bottom:1px solid var(--ycj-line);position:sticky;top:0;z-index:50;backdrop-filter:saturate(140%) blur(12px)}
.ycj-header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ycj-brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--ycj-navy);letter-spacing:-.02em;font-size:1.02rem}
.ycj-brand-mark{width:42px;height:42px;border-radius:14px;background:var(--ycj-navy);display:grid;place-items:center;color:#fff;box-shadow:0 10px 26px rgba(23,39,58,.15)}
.ycj-brand-mark svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ycj-nav{display:flex;align-items:center;gap:28px;font-size:.96rem;font-weight:600;color:var(--ycj-navy)}
.ycj-nav ul,.ycj-nav li{list-style:none;margin:0;padding:0}
.ycj-nav ul{display:flex;align-items:center;gap:28px}
.ycj-nav a{position:relative;display:inline-flex;align-items:center;white-space:nowrap}
.ycj-nav a:not(.ycj-nav-btn):after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--ycj-gold);transform:scaleX(0);transform-origin:left;transition:.18s ease}
.ycj-nav a:hover:after,.ycj-nav .current-menu-item>a:after{transform:scaleX(1)}
.ycj-nav-btn{border:1.5px solid rgba(23,39,58,.35);padding:10px 18px;border-radius:12px;background:transparent;color:var(--ycj-navy)}
.ycj-nav-btn:hover{border-color:var(--ycj-navy);background:#fff}.ycj-nav .ycj-nav-btn:after{display:none!important}
.ycj-menu-toggle{display:none;border:1px solid var(--ycj-line);background:#fff;border-radius:12px;padding:8px 11px;color:var(--ycj-navy);font-weight:800;cursor:pointer}
.ycj-site-header a{text-decoration:none}

h1,h2,h3,h4,.wp-block-heading{font-family:Lora, Georgia, serif;color:var(--ycj-navy);line-height:1.08;margin:0 0 16px;font-weight:600;letter-spacing:-.03em}
h1{font-size:clamp(2.35rem,4.6vw,4.25rem)}
h2{font-size:clamp(1.85rem,3vw,2.75rem)}
h3{font-size:clamp(1.22rem,1.7vw,1.55rem)}
p{margin:0 0 16px}.ycj-lede{font-size:clamp(1.05rem,1.35vw,1.25rem);line-height:1.75;color:#4d5a6d;max-width:760px}.ycj-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:800;color:var(--ycj-clay);margin-bottom:12px}.ycj-center{text-align:center}.ycj-center .ycj-lede{margin-left:auto;margin-right:auto}

.ycj-actions,.wp-block-buttons.ycj-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:26px}.ycj-btn,.wp-block-button__link.ycj-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1.5px solid var(--ycj-navy);background:var(--ycj-navy);color:#fff!important;font-weight:800;padding:13px 21px;border-radius:14px;box-shadow:0 12px 24px rgba(23,39,58,.12);transition:transform .18s ease, box-shadow .18s ease, background .18s ease;text-decoration:none}.ycj-btn:hover,.wp-block-button__link.ycj-btn:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(23,39,58,.16);background:var(--ycj-navy-2)}.ycj-btn-outline,.wp-block-button__link.ycj-btn-outline{background:transparent;color:var(--ycj-navy)!important;box-shadow:none}.ycj-btn-outline:hover,.wp-block-button__link.ycj-btn-outline:hover{background:#fff}.ycj-link{font-weight:800;color:var(--ycj-navy);display:inline-flex;gap:8px;align-items:center}

.ycj-hero{padding:74px 0 86px}.wp-block-columns.ycj-hero-grid,.ycj-hero-grid{display:grid!important;grid-template-columns:minmax(0,1.02fr) minmax(360px,.78fr);gap:52px;align-items:center}.wp-block-columns.ycj-hero-grid>.wp-block-column{margin:0!important}.ycj-hero-image{border-radius:30px;overflow:hidden;min-height:390px;background:linear-gradient(135deg, rgba(23,39,58,.10), rgba(216,168,78,.20));box-shadow:var(--ycj-shadow);position:relative}.ycj-hero-image .wp-block-image{margin:0;height:100%}.ycj-hero-image img{width:100%;height:100%;object-fit:cover;min-height:390px}.ycj-image-card{border-radius:24px;overflow:hidden;box-shadow:var(--ycj-shadow-soft);background:#fff}.ycj-image-card .wp-block-image{margin:0}.ycj-image-card img{width:100%;height:100%;object-fit:cover}.ycj-photo-block{margin:0!important}.ycj-photo-block img{display:block;width:100%;height:100%;object-fit:cover}

.ycj-card{background:rgba(255,250,242,.86);border:1px solid var(--ycj-line);border-radius:var(--ycj-radius);box-shadow:var(--ycj-shadow-soft)}.ycj-card-pad{padding:30px}.wp-block-columns.ycj-grid-3,.ycj-grid-3{display:grid!important;grid-template-columns:repeat(3,1fr);gap:24px}.wp-block-columns.ycj-grid-2,.ycj-grid-2{display:grid!important;grid-template-columns:repeat(2,1fr);gap:24px}.wp-block-columns.ycj-grid-3>.wp-block-column,.wp-block-columns.ycj-grid-2>.wp-block-column{margin:0!important}.ycj-icon{width:50px;height:50px;border-radius:16px;background:#edf3ef;color:var(--ycj-navy);display:inline-grid;place-items:center;flex:0 0 auto}.ycj-icon svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.ycj-icon-lg{width:72px;height:72px;border-radius:22px}.ycj-icon-lg svg{width:38px;height:38px}.ycj-icon-xl{width:88px;height:88px;border-radius:26px}.ycj-icon-xl svg{width:47px;height:47px}.ycj-icon-blue{background:#e7eef4;color:#385d76}.ycj-icon-green{background:#e5eee1;color:#4f7457}.ycj-icon-gold{background:#fff0cd;color:#9a6a0c}.ycj-icon-clay{background:#f7e2d9;color:#9b4e37}.ycj-icon-navy{background:var(--ycj-navy);color:#fff}

.ycj-path-card{overflow:hidden;display:flex;flex-direction:column}.ycj-path-card-media{height:220px;background:#edf3ef;overflow:hidden}.ycj-path-card-media .wp-block-image{margin:0;height:100%}.ycj-path-card-media img{height:100%;width:100%;object-fit:cover}.ycj-path-card-body{padding:26px;display:flex;flex-direction:column;gap:10px;flex:1}.ycj-card-top{display:flex;align-items:center;gap:14px}.ycj-card-top h3{margin:0}.ycj-card p{color:#536070}.ycj-mini-tag{display:inline-flex;align-items:center;border-radius:999px;background:#fff;border:1px solid var(--ycj-line);padding:5px 10px;font-weight:800;font-size:.78rem;color:var(--ycj-clay);width:max-content}

.ycj-quote-band{padding:76px 0;background:linear-gradient(135deg,#e7efe2 0%,#f8f1e4 58%,#eed6bf 100%);border-top:1px solid rgba(23,39,58,.08);border-bottom:1px solid rgba(23,39,58,.08)}.wp-block-columns.ycj-quote-panel,.ycj-quote-panel{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(320px,.75fr);gap:32px;align-items:center}.wp-block-columns.ycj-quote-panel>.wp-block-column{margin:0!important}.ycj-scripture{display:grid;grid-template-columns:92px minmax(0,1fr);gap:28px;align-items:center}.ycj-scripture blockquote{font-family:Lora, Georgia, serif;color:var(--ycj-navy);font-size:clamp(1.75rem,2.65vw,2.45rem);line-height:1.15;margin:0}.ycj-scripture cite{display:block;margin-top:14px;font-style:normal;font-weight:800;color:#506071}.ycj-quote-side{background:rgba(255,250,242,.72);border:1px solid var(--ycj-line);border-radius:24px;padding:30px}

.wp-block-columns.ycj-steps,.ycj-steps{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.wp-block-columns.ycj-steps>.wp-block-column{margin:0!important}.ycj-step{text-align:center;padding:30px 24px}.ycj-step .ycj-icon{margin:0 auto 18px}.ycj-step h3{font-size:1.35rem}.ycj-horizontal-cta{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;padding:34px}.ycj-horizontal-cta .ycj-actions{margin:0}.ycj-soft-cta{background:linear-gradient(135deg,#fefaf0 0%,#e9f1e6 100%);border:1px solid var(--ycj-line);border-radius:28px;box-shadow:var(--ycj-shadow-soft)}

.ycj-featured{display:grid;grid-template-columns:1fr;gap:22px}.ycj-video-embed{position:relative;height:0;padding-bottom:56.25%;background:var(--ycj-navy);border-radius:24px;overflow:hidden;box-shadow:var(--ycj-shadow)}.ycj-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.ycj-fake-video{position:absolute;inset:0;background:linear-gradient(135deg,rgba(23,39,58,.98),rgba(108,138,161,.75)), radial-gradient(circle at 72% 28%, rgba(216,168,78,.45), transparent 30%);display:grid;place-items:center;color:#fff}.ycj-fake-video span{width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ycj-navy);display:grid;place-items:center;font-size:34px}.wp-block-columns.ycj-related-grid,.ycj-related-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:22px}.wp-block-columns.ycj-related-grid>.wp-block-column{margin:0!important}.ycj-related-card{overflow:hidden}.ycj-related-card .wp-block-image{height:160px;margin:0;overflow:hidden}.ycj-related-card img{height:160px;width:100%;object-fit:cover}.ycj-related-card-body{padding:22px}.ycj-takeaway{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:center}.ycj-tools{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0 0;color:#5b6674;font-size:.95rem}

.ycj-faq-wrap{display:grid;gap:22px}.ycj-faq-group{display:grid!important;grid-template-columns:210px minmax(0,1fr);gap:30px;padding:28px}.ycj-faq-label{display:flex;gap:16px;align-items:flex-start}.ycj-faq-label h2{font-size:1.45rem;margin:4px 0 0}.ycj-faq-list details{background:#fff;border:1px solid var(--ycj-line);border-radius:16px;margin-bottom:12px;overflow:hidden}.ycj-faq-list summary{cursor:pointer;list-style:none;padding:18px 48px 18px 20px;font-weight:800;color:var(--ycj-navy);position:relative}.ycj-faq-list summary::-webkit-details-marker{display:none}.ycj-faq-list summary:after{content:"+";position:absolute;right:20px;top:16px;font-size:1.35rem;color:var(--ycj-gold)}.ycj-faq-list details[open] summary:after{content:"−"}.ycj-faq-list details p{padding:0 20px 20px;margin:0;color:#556274}.ycj-question-cta{margin-top:8px}

.wp-block-columns.ycj-info-grid,.ycj-info-grid{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.wp-block-columns.ycj-info-grid>.wp-block-column{margin:0!important}.ycj-info-card h3{font-size:1.25rem}.ycj-form-card{background:#fff;border-radius:28px;padding:34px;border:1px solid var(--ycj-line);box-shadow:var(--ycj-shadow-soft)}.ycj-form-placeholder{border:1.5px dashed rgba(23,39,58,.25);border-radius:18px;padding:24px;background:#fffaf2;color:#657282}.wp-block-columns.ycj-visit-list,.ycj-visit-list{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px}.wp-block-columns.ycj-visit-list>.wp-block-column{margin:0!important}.ycj-visit-card{text-align:center;padding:28px 22px}.ycj-visit-card .ycj-icon{margin:0 auto 16px}

.ycj-video-library-placeholder{background:#fff;border-style:dashed;text-align:center}.wp-block-columns.ycj-featured-video,.ycj-featured-video{display:grid!important;grid-template-columns:360px minmax(0,1fr);gap:28px;align-items:center}.wp-block-columns.ycj-featured-video>.wp-block-column{margin:0!important}.ycj-featured-video .wp-block-image{height:250px;margin:0}.ycj-featured-video img{height:250px;width:100%;object-fit:cover;border-radius:20px}.ycj-page-simple{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--ycj-line);border-radius:28px;padding:42px;box-shadow:var(--ycj-shadow-soft)}

.ycj-site-footer{background:var(--ycj-navy);color:rgba(255,255,255,.78);padding:58px 0 44px}.ycj-footer-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:56px;align-items:start}.ycj-footer-brand{color:#fff}.ycj-footer-brand .ycj-brand-mark{background:#fff;color:var(--ycj-navy)}.ycj-footer-about{max-width:680px}.ycj-footer-links{min-width:170px}.ycj-footer-links h3{font-family:Inter, sans-serif;font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin:0 0 14px}.ycj-footer-links a{display:block;padding:5px 0;color:rgba(255,255,255,.82)}.ycj-footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:38px;padding-top:22px;font-size:.9rem;color:rgba(255,255,255,.58)}

/* WordPress block editor/front-end alignment helpers */
.entry-content > *{margin-block-start:0;margin-block-end:0}.entry-content .wp-block-group{margin-block-start:0;margin-block-end:0}.wp-block-columns{margin-bottom:0}.wp-block-column > *:last-child{margin-bottom:0}.wp-block-button{margin:0}.ycj-edit-note{font-size:.9rem;color:#697586;background:#fff;border:1px dashed var(--ycj-line);border-radius:14px;padding:16px}.ycj-block-main .wp-block-html{margin:0}.ycj-block-main ul{margin-top:0}

@media (max-width: 980px){
  .wp-block-columns.ycj-hero-grid,.ycj-hero-grid,.wp-block-columns.ycj-quote-panel,.ycj-quote-panel,.wp-block-columns.ycj-featured-video,.ycj-featured-video{grid-template-columns:1fr!important}.wp-block-columns.ycj-grid-3,.ycj-grid-3,.wp-block-columns.ycj-steps,.ycj-steps,.wp-block-columns.ycj-info-grid,.ycj-info-grid,.wp-block-columns.ycj-visit-list,.ycj-visit-list,.wp-block-columns.ycj-related-grid,.ycj-related-grid{grid-template-columns:repeat(2,1fr)!important}.ycj-faq-group{grid-template-columns:1fr!important}.ycj-horizontal-cta{grid-template-columns:1fr!important;text-align:left}.ycj-footer-grid{grid-template-columns:1fr}.ycj-nav{display:none;position:absolute;left:20px;right:20px;top:78px;background:#fff;border:1px solid var(--ycj-line);border-radius:18px;padding:18px;box-shadow:var(--ycj-shadow);flex-direction:column;align-items:flex-start}.ycj-nav.is-open{display:flex}.ycj-nav ul{flex-direction:column;align-items:flex-start;gap:14px}.ycj-menu-toggle{display:inline-flex}.ycj-header-inner{position:relative}
}
@media (max-width: 680px){
  body{font-size:16px}.ycj-wrap,.ycj-wrap-wide{width:min(100% - 28px, var(--ycj-wrap))}.ycj-section{padding:60px 0}.ycj-hero{padding:52px 0 62px}.wp-block-columns.ycj-grid-3,.ycj-grid-3,.wp-block-columns.ycj-grid-2,.ycj-grid-2,.wp-block-columns.ycj-steps,.ycj-steps,.wp-block-columns.ycj-info-grid,.ycj-info-grid,.wp-block-columns.ycj-visit-list,.ycj-visit-list,.wp-block-columns.ycj-related-grid,.ycj-related-grid{grid-template-columns:1fr!important}.ycj-hero-image,.ycj-hero-image img{min-height:280px}.ycj-scripture{grid-template-columns:1fr;gap:18px}.ycj-card-pad,.ycj-horizontal-cta{padding:24px}.ycj-site-header{position:sticky}.ycj-brand span:last-child{font-size:.94rem}.ycj-footer-grid{gap:28px}
}
.wp-block-button.ycj-btn .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1.5px solid var(--ycj-navy);background:var(--ycj-navy);color:#fff!important;font-weight:800;padding:13px 21px;border-radius:14px;box-shadow:0 12px 24px rgba(23,39,58,.12);transition:transform .18s ease, box-shadow .18s ease, background .18s ease;text-decoration:none}.wp-block-button.ycj-btn .wp-block-button__link:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(23,39,58,.16);background:var(--ycj-navy-2)}.wp-block-button.ycj-btn-outline .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1.5px solid var(--ycj-navy);background:transparent;color:var(--ycj-navy)!important;font-weight:800;padding:13px 21px;border-radius:14px;text-decoration:none}.wp-block-button.ycj-btn-outline .wp-block-button__link:hover{background:#fff}


/* YCJ v1.3 polish */
.ycj-site-header{box-shadow:0 1px 0 rgba(23,39,58,.05)}
.ycj-header-inner{height:74px}
.ycj-logo-img{height:45px;width:auto;display:block}
.ycj-brand{gap:0}
.ycj-brand .ycj-brand-mark,.ycj-brand span:not(.ycj-brand-mark){display:none}
.ycj-nav{gap:24px;font-size:.9rem;font-weight:700}
.ycj-nav a{padding:8px 0}
.ycj-nav-btn{border:1.5px solid rgba(23,39,58,.65);padding:9px 16px!important;border-radius:8px;background:transparent;color:var(--ycj-navy);font-weight:800}
.ycj-nav-btn:hover{background:#fff;border-color:var(--ycj-navy);box-shadow:0 6px 16px rgba(23,39,58,.08)}

h1,h2,h3,h4,.wp-block-heading{font-weight:600!important}
.ycj-eyebrow{font-weight:800!important}
.ycj-lede{font-size:clamp(1rem,1.12vw,1.13rem)}

.ycj-btn,.wp-block-button__link.ycj-btn,.wp-block-button.ycj-btn .wp-block-button__link,.ycj-horizontal-cta .wp-block-button__link{border-radius:10px!important;padding:11px 17px!important;font-size:.94rem!important;font-weight:800!important;line-height:1.2!important;min-height:43px;box-shadow:0 10px 22px rgba(23,39,58,.12)!important}
.ycj-btn-outline,.wp-block-button.ycj-btn-outline .wp-block-button__link{box-shadow:none!important}
.wp-block-button.ycj-btn-video .wp-block-button__link:before,.ycj-btn-video .wp-block-button__link:before,.ycj-link-video:before{content:"▶";width:20px;height:20px;border-radius:999px;display:inline-grid;place-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);font-size:.62rem;line-height:1;flex:0 0 auto}.ycj-link-video:before{background:rgba(23,39,58,.08);border-color:rgba(23,39,58,.14);color:var(--ycj-navy)}
.ycj-link-video{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--ycj-navy)}

.ycj-grid-3>.wp-block-column,.ycj-grid-2>.wp-block-column,.ycj-related-grid>.wp-block-column,.ycj-steps>.wp-block-column,.ycj-info-grid>.wp-block-column,.ycj-visit-list>.wp-block-column{display:flex}.ycj-grid-3>.wp-block-column>*,.ycj-grid-2>.wp-block-column>*,.ycj-related-grid>.wp-block-column>*,.ycj-steps>.wp-block-column>*,.ycj-info-grid>.wp-block-column>*,.ycj-visit-list>.wp-block-column>*{width:100%;height:100%}
.ycj-card-link{display:flex;flex-direction:column;height:100%;width:100%;color:inherit;text-decoration:none;border-radius:inherit}.ycj-card-link:hover{text-decoration:none}.ycj-card-link:hover .ycj-link,.ycj-card-link:hover .ycj-link-video{text-decoration:underline}.ycj-card-link:hover img{transform:scale(1.03)}.ycj-card-link img{transition:transform .22s ease}.ycj-card{height:100%}.ycj-path-card,.ycj-related-card{height:100%;transition:transform .18s ease, box-shadow .18s ease}.ycj-path-card:hover,.ycj-related-card:hover{transform:translateY(-2px);box-shadow:var(--ycj-shadow)}
.ycj-path-card-body,.ycj-related-card-body{flex:1;display:flex;flex-direction:column}.ycj-path-card-body .ycj-link,.ycj-path-card-body .ycj-link-video,.ycj-related-card-body .ycj-link,.ycj-related-card-body .ycj-link-video{margin-top:auto}.ycj-related-card-body .ycj-mini-tag{display:none!important}

.ycj-scripture blockquote{font-size:clamp(1.65rem,2.45vw,2.45rem)!important}.ycj-scripture{grid-template-columns:76px minmax(0,1fr);gap:22px}.ycj-scripture .ycj-icon-xl{width:76px;height:76px;border-radius:22px}.ycj-scripture .ycj-icon-xl svg{width:39px;height:39px}

.ycj-steps{align-items:stretch}.ycj-step{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}.ycj-step h3{width:100%;font-size:1.25rem}.ycj-step p{width:100%;max-width:100%}.ycj-step .ycj-icon{margin:0 auto 18px!important}
.ycj-soft-cta{margin-top:24px}.ycj-horizontal-cta{min-height:150px}.ycj-horizontal-cta h2{margin-bottom:8px}.ycj-horizontal-cta .ycj-actions{justify-content:flex-end}

.ycj-featured{max-width:var(--ycj-wrap);margin:0 auto}.ycj-featured .ycj-actions{margin-top:8px}
.ycj-tools{display:none!important}
.ycj-takeaway{grid-template-columns:88px minmax(0,1fr)!important}.ycj-takeaway h2{margin-bottom:8px}

.ycj-featured-video,.ycj-video-library-placeholder,.ycj-videos-cta{max-width:880px;margin-left:auto!important;margin-right:auto!important}.ycj-featured-video-card{max-width:880px;margin-left:auto!important;margin-right:auto!important}

@media (max-width: 980px){.ycj-nav{gap:14px}.ycj-logo-img{height:40px}.ycj-horizontal-cta .ycj-actions{justify-content:flex-start}}
@media (max-width: 680px){h1{font-size:clamp(2.05rem,10vw,3.2rem)}h2{font-size:clamp(1.55rem,7vw,2.25rem)}.ycj-logo-img{height:37px}.ycj-scripture{grid-template-columns:1fr}.ycj-takeaway{grid-template-columns:1fr!important}.ycj-horizontal-cta{min-height:0}}
.ycj-related-card-media{height:160px;background:#edf3ef;overflow:hidden}.ycj-related-card-media img{height:160px;width:100%;object-fit:cover}
.ycj-path-card-question{background:linear-gradient(135deg,#fffaf2 0%,#edf4eb 100%)}
.ycj-path-card-question .ycj-path-card-body{justify-content:center;min-height:220px}
.ycj-paths-bottom-cta{margin-top:28px}.ycj-paths-bottom-cta>.ycj-soft-cta{margin-top:0}
.ycj-video-scripture{margin-top:24px}.ycj-video-scripture .ycj-scripture blockquote{font-size:clamp(1.5rem,2.2vw,2.25rem)!important}
.ycj-related-card h3{margin-bottom:10px}.ycj-related-card p{font-size:.96rem;line-height:1.55}


/* YCJ v1.4 polish */
.ycj-logo-img{height:48px;max-width:205px;object-fit:contain}
.ycj-footer-brand .ycj-logo-img{height:52px;max-width:220px;background:rgba(255,250,242,.96);border-radius:12px;padding:7px 10px;box-shadow:0 8px 18px rgba(0,0,0,.10)}
.ycj-section-head{max-width:820px;margin-bottom:30px!important}
.ycj-section-head .ycj-lede{max-width:100%!important}
.ycj-center .ycj-section-head{margin-left:auto!important;margin-right:auto!important;text-align:center}
.ycj-center .ycj-section-head .ycj-lede{margin-left:auto;margin-right:auto}
.ycj-wrap > .ycj-lede{max-width:820px}
.ycj-quote-side .ycj-lede,.ycj-horizontal-cta .ycj-lede,.ycj-hero-grid .ycj-lede{max-width:100%}
.ycj-paths-bottom-cta{margin-top:24px!important}
.ycj-path-card-question{min-height:100%;display:flex!important;background:linear-gradient(135deg,#fffaf2 0%,#edf4eb 100%)}
.ycj-path-card-question .ycj-card-link{min-height:100%;display:flex;align-items:center;justify-content:center}
.ycj-path-card-question .ycj-path-card-body{min-height:0!important;height:100%;justify-content:center!important;align-items:flex-start;padding-top:34px;padding-bottom:34px}
.ycj-path-card-question .ycj-card-top{width:100%}
.ycj-path-card-question p{max-width:100%}
@media (max-width: 980px){.ycj-section-head{max-width:760px}.ycj-logo-img{height:42px;max-width:180px}.ycj-footer-brand .ycj-logo-img{height:50px}}
@media (max-width: 680px){.ycj-logo-img{height:38px;max-width:158px}.ycj-footer-brand .ycj-logo-img{height:46px;max-width:190px}.ycj-section-head{margin-bottom:22px!important}}


/* YCJ v1.5 polish: let card copy use the available card width */
.ycj-card h1,
.ycj-card h2,
.ycj-card h3,
.ycj-card h4,
.ycj-card p,
.ycj-card .ycj-lede,
.ycj-featured h1,
.ycj-featured h2,
.ycj-featured h3,
.ycj-featured p,
.ycj-featured .ycj-lede,
.ycj-related-card h3,
.ycj-related-card p,
.ycj-path-card h3,
.ycj-path-card p,
.ycj-info-card h3,
.ycj-info-card p,
.ycj-video-library-placeholder p,
.ycj-featured-video-card p{
  width:100%!important;
  max-width:none!important;
}

.ycj-featured,
.ycj-featured > *,
.ycj-featured .ycj-video-embed,
.ycj-video-scripture,
.ycj-video-scripture > *,
.ycj-featured-video-card,
.ycj-featured-video-card > *,
.ycj-video-library-placeholder,
.ycj-video-library-placeholder > *{
  width:100%!important;
}

.ycj-card-pad{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

.ycj-card-pad > .ycj-eyebrow,
.ycj-card-pad > h1,
.ycj-card-pad > h2,
.ycj-card-pad > h3,
.ycj-card-pad > p,
.ycj-card-pad > .ycj-lede,
.ycj-card-pad > .wp-block-heading,
.ycj-card-pad > .wp-block-buttons,
.ycj-card-pad > .ycj-video-embed{
  align-self:stretch;
}

.ycj-card .ycj-lede{
  line-height:1.68;
}

.ycj-featured .ycj-lede{
  margin-right:0!important;
}

.ycj-featured .ycj-actions,
.ycj-card .ycj-actions{
  width:100%;
}


/* YCJ v1.6 theme-only polish */
/* Larger header/logo height baked into the theme */
.ycj-header-inner{
  height:88px!important;
}
.ycj-logo-img{
  height:56px!important;
  width:auto!important;
  max-width:230px!important;
  object-fit:contain!important;
}
@media (max-width: 980px){
  .ycj-nav{
    top:88px!important;
  }
  .ycj-logo-img{
    height:52px!important;
    max-width:215px!important;
  }
}
@media (max-width: 680px){
  .ycj-logo-img{
    height:48px!important;
    max-width:190px!important;
  }
}

/* Keep Exploring / related reflection thumbnails: show the full uploaded thumbnail */
.ycj-related-card-media,
.ycj-related-card .wp-block-image{
  position:relative;
  height:190px!important;
  min-height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#f3efe5;
}
.ycj-related-card-media img,
.ycj-related-card .wp-block-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}

/* Play overlay for video/reflection thumbnail cards */
.ycj-related-card-media::after,
.ycj-related-card .wp-block-image::after{
  content:"▶";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:54px;
  height:54px;
  border-radius:999px;
  display:grid;
  place-items:center;
  padding-left:3px;
  background:rgba(23,39,58,.84);
  color:#fff;
  font-size:18px;
  line-height:1;
  box-shadow:0 14px 32px rgba(23,39,58,.24);
  pointer-events:none;
  z-index:2;
}
.ycj-related-card-media::before,
.ycj-related-card .wp-block-image::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(23,39,58,0) 52%, rgba(23,39,58,.10) 100%);
  pointer-events:none;
  z-index:1;
}

/* Defensive full-card click behavior styling */
.ycj-clickable-card{
  cursor:pointer;
}
.ycj-clickable-card:focus{
  outline:3px solid rgba(216,168,78,.55);
  outline-offset:4px;
}
.ycj-clickable-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--ycj-shadow)!important;
}

/* Vertically center the Paths page question card */
.ycj-path-card-question,
.ycj-question-card{
  display:flex!important;
  flex-direction:column;
  justify-content:center!important;
  min-height:100%;
}
.ycj-path-card-question .ycj-card-link,
.ycj-question-card .ycj-card-link{
  height:100%;
  min-height:100%;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.ycj-path-card-question .ycj-path-card-body,
.ycj-question-card .ycj-path-card-body,
.ycj-question-card .ycj-card-body{
  height:auto!important;
  min-height:0!important;
  justify-content:center!important;
  align-items:flex-start!important;
  padding-top:34px!important;
  padding-bottom:34px!important;
}

/* Individual video lede should use the full available content width */
.ycj-video-page .ycj-lede,
.single-video .ycj-lede,
.ycj-lede.wp-block-paragraph{
  width:100%!important;
  max-width:100%!important;
}

/* Align large green icons consistently with the other icon treatments */
.ycj-icon.ycj-icon-xl.ycj-icon-green{
  align-self:center!important;
  margin-top:0!important;
  margin-bottom:0!important;
  flex-shrink:0!important;
  display:inline-grid!important;
  place-items:center!important;
}
.ycj-horizontal-cta,
.ycj-takeaway,
.ycj-scripture,
.ycj-next-step-card,
.ycj-question-card{
  align-items:center!important;
}

/* Individual video Scripture quote treatment */
.ycj-video-scripture .ycj-scripture blockquote,
.ycj-video-scripture .ycj-scripture-quote,
.ycj-video-page .ycj-scripture blockquote,
.single-video .ycj-scripture blockquote{
  font-size:clamp(1.25rem,1.75vw,1.7rem)!important;
  line-height:1.35!important;
  font-style:italic!important;
  font-weight:500!important;
  letter-spacing:-.01em!important;
}
.ycj-video-scripture .ycj-scripture cite,
.ycj-video-scripture .ycj-scripture-citation,
.ycj-video-page .ycj-scripture cite,
.single-video .ycj-scripture cite{
  display:block;
  margin-top:10px!important;
  font-size:.88rem!important;
  line-height:1.3!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  color:#4f5e70!important;
}

/* YCJ v1.7 theme-only polish */
/* Footer copy is updated in footer.php. This pass keeps content intact and avoids rerunning the setup plugin. */

/* Takeaway icon: use a distinct seedling/growth mark instead of repeating the Scripture book icon. */
.ycj-takeaway .ycj-icon.ycj-icon-xl,
.ycj-takeaway .ycj-icon-takeaway{
  position:relative;
  overflow:hidden;
}
.ycj-takeaway .ycj-icon.ycj-icon-xl svg,
.ycj-takeaway .ycj-icon-takeaway svg{
  display:none!important;
}
.ycj-takeaway .ycj-icon.ycj-icon-xl::before,
.ycj-takeaway .ycj-icon-takeaway::before{
  content:"";
  width:42px;
  height:42px;
  display:block;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M32 55V31'/%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M32 34c-12-1-20-8-22-21 13 1 21 8 22 21Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M32 38c13-1 21-9 23-23-14 1-22 9-23 23Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M18 56h28'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M32 55V31'/%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M32 34c-12-1-20-8-22-21 13 1 21 8 22 21Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M32 38c13-1 21-9 23-23-14 1-22 9-23 23Z'/%3E%3Cpath fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' d='M18 56h28'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Vertically align copy in takeaway and horizontal CTA panels. */
.ycj-takeaway,
.ycj-horizontal-cta,
.ycj-next-step-card,
.ycj-guided-cta,
.ycj-question-cta,
.ycj-videos-cta{
  align-items:center!important;
}
.ycj-takeaway > .wp-block-column,
.ycj-horizontal-cta > .wp-block-column,
.ycj-next-step-card > .wp-block-column,
.ycj-guided-cta > .wp-block-column,
.ycj-question-cta > .wp-block-column,
.ycj-videos-cta > .wp-block-column{
  align-self:center!important;
}
.ycj-takeaway .ycj-copy,
.ycj-horizontal-cta .ycj-copy,
.ycj-next-step-card .ycj-copy,
.ycj-guided-cta .ycj-copy,
.ycj-question-cta .ycj-copy,
.ycj-videos-cta .ycj-copy,
.ycj-takeaway > .wp-block-column:not(:first-child):not(:last-child),
.ycj-horizontal-cta > .wp-block-column:not(:first-child):not(:last-child),
.ycj-next-step-card > .wp-block-column:not(:first-child):not(:last-child),
.ycj-guided-cta > .wp-block-column:not(:first-child):not(:last-child),
.ycj-question-cta > .wp-block-column:not(:first-child):not(:last-child),
.ycj-videos-cta > .wp-block-column:not(:first-child):not(:last-child){
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.ycj-takeaway h2,
.ycj-horizontal-cta h2,
.ycj-next-step-card h2,
.ycj-guided-cta h2,
.ycj-question-cta h2,
.ycj-videos-cta h2{
  margin-top:0!important;
}
.ycj-takeaway p:last-child,
.ycj-horizontal-cta p:last-child,
.ycj-next-step-card p:last-child,
.ycj-guided-cta p:last-child,
.ycj-question-cta p:last-child,
.ycj-videos-cta p:last-child{
  margin-bottom:0!important;
}

/* Path parent hero: vertically align the image column with the copy column. */
.ycj-hero-grid > .wp-block-column:has(.ycj-hero-image),
.ycj-hero-grid > .wp-block-column:has(.ycj-image-card),
.ycj-page-hero > .wp-block-column:has(.ycj-hero-image),
.ycj-page-hero > .wp-block-column:has(.ycj-image-card){
  align-self:center!important;
}
.ycj-hero-grid .ycj-hero-image,
.ycj-hero-grid .ycj-image-card,
.ycj-page-hero .ycj-hero-image,
.ycj-page-hero .ycj-image-card{
  margin-top:auto!important;
  margin-bottom:auto!important;
}

/* Individual video pages: make Scripture feel like a clean quote beneath the video, not a separate card. */
.ycj-video-scripture{
  margin-top:28px!important;
  padding:0 0 0 1.35rem!important;
  background:transparent!important;
  border:0!important;
  border-left:4px solid var(--ycj-gold)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.ycj-video-scripture .ycj-scripture{
  display:block!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.ycj-video-scripture .ycj-icon,
.ycj-video-scripture .ycj-icon-xl,
.ycj-video-scripture .wp-block-column:first-child:has(.ycj-icon){
  display:none!important;
}
.ycj-video-scripture blockquote,
.ycj-video-scripture .ycj-scripture blockquote,
.ycj-video-scripture .ycj-scripture-quote,
.ycj-video-page .ycj-video-scripture .ycj-scripture blockquote,
.single-video .ycj-video-scripture .ycj-scripture blockquote{
  font-family:Lora, Georgia, serif!important;
  font-size:clamp(1.18rem,1.45vw,1.45rem)!important;
  line-height:1.48!important;
  font-style:italic!important;
  font-weight:500!important;
  color:var(--ycj-navy)!important;
  margin:0!important;
  max-width:860px!important;
}
.ycj-video-scripture cite,
.ycj-video-scripture .ycj-scripture cite,
.ycj-video-scripture .ycj-scripture-citation,
.ycj-video-page .ycj-video-scripture .ycj-scripture cite,
.single-video .ycj-video-scripture .ycj-scripture cite{
  display:block!important;
  margin-top:.65rem!important;
  font-size:.86rem!important;
  line-height:1.35!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  color:#4f5e70!important;
}

/* Videos page: duplicated featured video blocks should stack cleanly and use the full container width. */
.ycj-featured-video,
.wp-block-columns.ycj-featured-video{
  width:100%!important;
  max-width:100%!important;
}
.ycj-featured-video + .ycj-featured-video,
.wp-block-columns.ycj-featured-video + .wp-block-columns.ycj-featured-video,
.ycj-featured-video-card + .ycj-featured-video-card{
  margin-top:2rem!important;
}
.ycj-video-featured-stack,
.ycj-featured-video-list{
  display:grid!important;
  gap:2rem!important;
}
.ycj-featured-video .wp-block-image,
.ycj-featured-video-card .wp-block-image{
  position:relative!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:#f3efe5!important;
}
.ycj-featured-video .wp-block-image::before,
.ycj-featured-video-card .wp-block-image::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(23,39,58,0) 48%, rgba(23,39,58,.12) 100%);
  pointer-events:none;
  z-index:1;
}
.ycj-featured-video .wp-block-image::after,
.ycj-featured-video-card .wp-block-image::after{
  content:"▶";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:58px;
  height:58px;
  border-radius:999px;
  display:grid;
  place-items:center;
  padding-left:3px;
  background:rgba(23,39,58,.84);
  color:#fff;
  font-size:19px;
  line-height:1;
  box-shadow:0 14px 32px rgba(23,39,58,.24);
  pointer-events:none;
  z-index:2;
}
.ycj-featured-video.ycj-clickable-card,
.ycj-featured-video-card.ycj-clickable-card{
  cursor:pointer;
}

/* Paths page: stronger centering for the “Have a different question?” card. */
.ycj-path-card-question,
.ycj-path-card.ycj-question-card,
.ycj-question-card,
.ycj-path-card:has(.ycj-path-card-body a[href*="connect"]){
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.ycj-path-card-question .ycj-card-link,
.ycj-path-card.ycj-question-card .ycj-card-link,
.ycj-question-card .ycj-card-link,
.ycj-path-card:has(.ycj-path-card-body a[href*="connect"]) .ycj-card-link{
  flex:1 1 auto!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.ycj-path-card-question .ycj-path-card-body,
.ycj-path-card.ycj-question-card .ycj-path-card-body,
.ycj-question-card .ycj-path-card-body,
.ycj-path-card:has(.ycj-path-card-body a[href*="connect"]) .ycj-path-card-body{
  flex:0 1 auto!important;
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:.85rem!important;
}
.ycj-path-card-question .ycj-link,
.ycj-path-card.ycj-question-card .ycj-link,
.ycj-question-card .ycj-link,
.ycj-path-card:has(.ycj-path-card-body a[href*="connect"]) .ycj-link{
  margin-top:.25rem!important;
}
.ycj-path-card-question p,
.ycj-path-card.ycj-question-card p,
.ycj-question-card p,
.ycj-path-card:has(.ycj-path-card-body a[href*="connect"]) p{
  margin-bottom:0!important;
}

@media (max-width: 980px){
  .ycj-featured-video + .ycj-featured-video,
  .wp-block-columns.ycj-featured-video + .wp-block-columns.ycj-featured-video,
  .ycj-featured-video-card + .ycj-featured-video-card{
    margin-top:1.5rem!important;
  }
}
@media (max-width: 680px){
  .ycj-video-scripture{
    padding-left:1rem!important;
    margin-top:22px!important;
  }
  .ycj-video-scripture blockquote,
  .ycj-video-scripture .ycj-scripture blockquote,
  .ycj-video-scripture .ycj-scripture-quote{
    font-size:1.12rem!important;
  }
}


/* YCJ v1.8 theme-only polish */
/* Footer uses the white transparent logo on the dark navy background. */
.ycj-footer-brand .ycj-logo-img{
  height:58px!important;
  max-width:245px!important;
  width:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
.ycj-footer-bottom a{
  color:rgba(255,255,255,.78)!important;
  text-decoration:none;
}
.ycj-footer-bottom a:hover{
  color:#fff!important;
  text-decoration:underline;
}

/* Videos page: align the main cards/CTAs to the full content width. */
body.page-template-default .ycj-featured-video,
body.page-template-default .ycj-featured-video-card,
body.page-template-default .ycj-videos-cta,
body.page-template-default .ycj-video-library-placeholder,
.ycj-featured-video,
.wp-block-columns.ycj-featured-video,
.ycj-featured-video-card,
.ycj-videos-cta,
.ycj-video-library-placeholder{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.ycj-wrap > .ycj-featured-video,
.ycj-wrap > .ycj-featured-video-card,
.ycj-wrap > .ycj-videos-cta,
.ycj-wrap > .ycj-video-library-placeholder,
.ycj-wrap > .wp-block-columns.ycj-featured-video{
  margin-left:0!important;
  margin-right:0!important;
}
.ycj-featured-video + .ycj-featured-video,
.wp-block-columns.ycj-featured-video + .wp-block-columns.ycj-featured-video,
.ycj-featured-video-card + .ycj-featured-video-card,
.ycj-featured-video + .ycj-featured-video-card,
.ycj-featured-video-card + .ycj-featured-video{
  margin-top:2rem!important;
}
.ycj-videos-cta{
  margin-top:2.25rem!important;
}

/* Videos page cards remain fully clickable even when the visible button has been removed. */
.ycj-featured-video,
.ycj-featured-video-card{
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.ycj-featured-video:hover,
.ycj-featured-video-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--ycj-shadow)!important;
}
.ycj-featured-video a,
.ycj-featured-video-card a{
  text-decoration:none;
}
.ycj-featured-video .wp-block-image,
.ycj-featured-video-card .wp-block-image,
.ycj-featured-video figure,
.ycj-featured-video-card figure{
  position:relative!important;
  overflow:hidden!important;
}
.ycj-featured-video .wp-block-image::after,
.ycj-featured-video-card .wp-block-image::after,
.ycj-featured-video figure::after,
.ycj-featured-video-card figure::after{
  content:"▶";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:58px;
  height:58px;
  border-radius:999px;
  display:grid;
  place-items:center;
  padding-left:3px;
  background:rgba(23,39,58,.84);
  color:#fff;
  font-size:19px;
  line-height:1;
  box-shadow:0 14px 32px rgba(23,39,58,.24);
  pointer-events:none;
  z-index:2;
}
.ycj-featured-video .wp-block-image::before,
.ycj-featured-video-card .wp-block-image::before,
.ycj-featured-video figure::before,
.ycj-featured-video-card figure::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(23,39,58,0) 48%, rgba(23,39,58,.12) 100%);
  pointer-events:none;
  z-index:1;
}

@media (max-width: 680px){
  .ycj-footer-brand .ycj-logo-img{
    height:50px!important;
    max-width:210px!important;
  }
  .ycj-videos-cta{
    margin-top:1.75rem!important;
  }
}


/* YCJ v1.9 theme-only polish */
/* Connect page: form section alignment and Gravity Forms styling. */
#send-message .ycj-hero-grid{
  align-items:stretch!important;
}
#send-message .ycj-hero-grid > .wp-block-column{
  display:flex!important;
  flex-direction:column!important;
}
#send-message .ycj-hero-grid > .wp-block-column:first-child{
  justify-content:center!important;
}
#send-message .ycj-connect-form-intro{
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(18px,3vw,36px) 0;
}
#send-message .ycj-connect-form-intro h2{
  max-width:620px;
}
#send-message .ycj-connect-form-intro .ycj-lede,
#send-message .ycj-connect-form-intro p{
  max-width:620px!important;
}
#send-message .ycj-connect-form-intro p:last-child{
  margin-bottom:0!important;
}
#send-message .ycj-connect-form-card,
#send-message .wp-block-group.ycj-card:has(.gform_wrapper),
#send-message .wp-block-column > .ycj-card:has(.gform_wrapper){
  width:100%!important;
  height:auto!important;
  padding:clamp(22px,3vw,34px)!important;
  background:rgba(255,250,242,.92)!important;
  border:1px solid rgba(23,39,58,.13)!important;
  border-radius:26px!important;
  box-shadow:0 18px 48px rgba(23,39,58,.10)!important;
  overflow:hidden!important;
}
#send-message .ycj-connect-form-card > *,
#send-message .wp-block-group.ycj-card:has(.gform_wrapper) > *{
  width:100%!important;
  max-width:100%!important;
}
#send-message .gform_wrapper,
#send-message .gform_wrapper.gravity-theme,
#send-message .gform-theme,
#send-message .gform-theme--framework{
  margin:0!important;
  color:var(--ycj-ink)!important;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  --gf-ctrl-border-color:rgba(23,39,58,.22);
  --gf-ctrl-border-radius:12px;
  --gf-ctrl-bg-color:#fffdf8;
  --gf-ctrl-color:var(--ycj-ink);
  --gf-ctrl-label-color:var(--ycj-ink);
  --gf-ctrl-accent-color:var(--ycj-navy);
}
#send-message .gform_wrapper form{
  margin:0!important;
}
#send-message .gform_fields{
  display:grid!important;
  row-gap:18px!important;
  column-gap:18px!important;
}
#send-message .gfield{
  margin:0!important;
}
#send-message .gfield_label,
#send-message .gform-field-label,
#send-message legend.gfield_label{
  color:var(--ycj-ink)!important;
  font-size:.92rem!important;
  line-height:1.35!important;
  font-weight:800!important;
  margin:0 0 7px!important;
  padding:0!important;
}
#send-message .gfield_required,
#send-message .gfield_required_text,
#send-message .gfield_required_asterisk{
  color:var(--ycj-clay)!important;
  font-size:.78rem!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
}
#send-message .gfield_description,
#send-message .gform_fileupload_rules,
#send-message .gform-field-label--description{
  color:#667085!important;
  font-size:.86rem!important;
  line-height:1.45!important;
  margin-top:6px!important;
}
#send-message input[type="text"],
#send-message input[type="email"],
#send-message input[type="tel"],
#send-message input[type="url"],
#send-message input[type="number"],
#send-message textarea,
#send-message select{
  width:100%!important;
  border:1px solid rgba(23,39,58,.22)!important;
  border-radius:12px!important;
  background:#fffdf8!important;
  color:var(--ycj-ink)!important;
  padding:12px 14px!important;
  min-height:46px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease!important;
}
#send-message textarea{
  min-height:132px!important;
  resize:vertical!important;
  line-height:1.55!important;
}
#send-message input:focus,
#send-message textarea:focus,
#send-message select:focus{
  outline:none!important;
  border-color:rgba(216,168,78,.80)!important;
  box-shadow:0 0 0 4px rgba(216,168,78,.18)!important;
  background:#fff!important;
}
#send-message input::placeholder,
#send-message textarea::placeholder{
  color:#667085!important;
  opacity:1!important;
}
#send-message .gfield_checkbox,
#send-message .gfield_radio{
  display:grid!important;
  gap:9px!important;
  margin-top:4px!important;
}
#send-message .gchoice{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  margin:0!important;
  line-height:1.45!important;
}
#send-message .gchoice input[type="checkbox"],
#send-message .gchoice input[type="radio"]{
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  margin:2px 0 0!important;
  accent-color:var(--ycj-navy)!important;
}
#send-message .gchoice label,
#send-message .gfield-choice-input + label{
  color:var(--ycj-ink)!important;
  font-size:.95rem!important;
  line-height:1.45!important;
  font-weight:500!important;
  margin:0!important;
  padding:0!important;
}
#send-message .gform_footer,
#send-message .gform_page_footer{
  margin-top:22px!important;
  padding-top:0!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
#send-message .gform_button,
#send-message .gform_next_button,
#send-message .gform_previous_button,
#send-message .gform_wrapper input[type="submit"],
#send-message .gform_wrapper input[type="button"],
#send-message .gform_wrapper button{
  border:1.5px solid var(--ycj-navy)!important;
  border-radius:10px!important;
  background:var(--ycj-navy)!important;
  color:#fff!important;
  font-size:.94rem!important;
  font-weight:800!important;
  line-height:1.2!important;
  min-height:43px!important;
  padding:11px 17px!important;
  box-shadow:0 10px 22px rgba(23,39,58,.12)!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
#send-message .gform_previous_button{
  background:transparent!important;
  color:var(--ycj-navy)!important;
  box-shadow:none!important;
}
#send-message .gform_button:hover,
#send-message .gform_next_button:hover,
#send-message .gform_wrapper input[type="submit"]:hover,
#send-message .gform_wrapper input[type="button"]:hover,
#send-message .gform_wrapper button:hover{
  background:var(--ycj-navy-2)!important;
  transform:translateY(-1px)!important;
}
#send-message .gform_previous_button:hover{
  background:#fff!important;
}
#send-message .gf_progressbar_wrapper{
  margin:0 0 22px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid rgba(23,39,58,.10)!important;
}
#send-message .gf_progressbar_title{
  color:#667085!important;
  font-size:.82rem!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  margin:0 0 9px!important;
}
#send-message .gf_progressbar{
  height:9px!important;
  border-radius:999px!important;
  background:#e9eee7!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
#send-message .gf_progressbar_percentage{
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg, var(--ycj-gold), var(--ycj-clay))!important;
}
#send-message .gf_progressbar_percentage span{
  display:none!important;
}
#send-message .gf_step,
#send-message .gf_page_steps{
  color:#667085!important;
}
#send-message .gform_validation_errors,
#send-message .validation_error{
  border-radius:14px!important;
  border:1px solid rgba(182,107,79,.30)!important;
  background:#fff7f3!important;
  color:var(--ycj-clay)!important;
  box-shadow:none!important;
  padding:14px 16px!important;
}
#send-message .gfield_error input,
#send-message .gfield_error textarea,
#send-message .gfield_error select{
  border-color:rgba(182,107,79,.72)!important;
}
#send-message .validation_message{
  color:var(--ycj-clay)!important;
  font-size:.84rem!important;
  margin-top:6px!important;
}

/* Connect page: keep the local partner cards from touching the St. Joseph Parish panel. */
.ycj-horizontal-cta + .ycj-grid-3,
.ycj-horizontal-cta + .wp-block-columns.ycj-grid-3,
.wp-block-group.ycj-horizontal-cta + .wp-block-columns.ycj-grid-3{
  margin-top:28px!important;
}

/* Individual video pages: center the Scripture block under the video while keeping the quote itself left-aligned. */
.ycj-video-scripture{
  width:min(84%, 860px)!important;
  max-width:860px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:left!important;
}
.ycj-video-scripture blockquote,
.ycj-video-scripture .ycj-scripture blockquote,
.ycj-video-scripture .ycj-scripture-quote{
  max-width:100%!important;
}
@media (max-width: 980px){
  #send-message .ycj-hero-grid{
    align-items:start!important;
  }
  #send-message .ycj-hero-grid > .wp-block-column:first-child{
    justify-content:flex-start!important;
  }
  #send-message .ycj-connect-form-intro{
    padding:0!important;
  }
  .ycj-horizontal-cta + .ycj-grid-3,
  .ycj-horizontal-cta + .wp-block-columns.ycj-grid-3,
  .wp-block-group.ycj-horizontal-cta + .wp-block-columns.ycj-grid-3{
    margin-top:22px!important;
  }
}
@media (max-width: 680px){
  #send-message .ycj-connect-form-card,
  #send-message .wp-block-group.ycj-card:has(.gform_wrapper),
  #send-message .wp-block-column > .ycj-card:has(.gform_wrapper){
    padding:20px!important;
    border-radius:22px!important;
  }
  #send-message .gform_footer,
  #send-message .gform_page_footer{
    align-items:stretch!important;
  }
  #send-message .gform_button,
  #send-message .gform_next_button,
  #send-message .gform_previous_button,
  #send-message .gform_wrapper input[type="submit"],
  #send-message .gform_wrapper input[type="button"]{
    width:100%!important;
    justify-content:center!important;
  }
  .ycj-video-scripture{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}


/* YCJ v1.10 final theme polish: connect form alignment, related reflections spacing, accessibility, responsive rendering. */

/* Skip link for keyboard users */
.ycj-skip-link{
  position:absolute;
  left:16px;
  top:10px;
  z-index:9999;
  transform:translateY(-140%);
  background:#fffaf2;
  color:var(--ycj-navy);
  border:2px solid var(--ycj-gold);
  border-radius:10px;
  padding:10px 14px;
  font-weight:800;
  box-shadow:var(--ycj-shadow-soft);
}
.ycj-skip-link:focus,
.ycj-skip-link:focus-visible{
  transform:translateY(0);
  outline:none;
}

/* Connect form area: work even when the section does not have #send-message. */
.wp-block-columns:has(.ycj-connect-form-card),
.ycj-hero-grid:has(.ycj-connect-form-card),
.ycj-connect-form-grid,
.ycj-connect-form-section .wp-block-columns{
  align-items:stretch!important;
}
.wp-block-columns:has(.ycj-connect-form-card) > .wp-block-column,
.ycj-hero-grid:has(.ycj-connect-form-card) > .wp-block-column,
.ycj-connect-form-grid > .wp-block-column,
.ycj-connect-form-section .wp-block-column{
  display:flex!important;
  flex-direction:column!important;
}
.wp-block-columns:has(.ycj-connect-form-card) > .wp-block-column:has(.ycj-connect-form-intro),
.ycj-hero-grid:has(.ycj-connect-form-card) > .wp-block-column:has(.ycj-connect-form-intro),
.ycj-connect-form-grid > .wp-block-column:has(.ycj-connect-form-intro),
.ycj-connect-form-section .wp-block-column:has(.ycj-connect-form-intro){
  justify-content:center!important;
}
.wp-block-columns:has(.ycj-connect-form-card) > .wp-block-column:has(.ycj-connect-form-card),
.ycj-hero-grid:has(.ycj-connect-form-card) > .wp-block-column:has(.ycj-connect-form-card),
.ycj-connect-form-grid > .wp-block-column:has(.ycj-connect-form-card),
.ycj-connect-form-section .wp-block-column:has(.ycj-connect-form-card){
  justify-content:stretch!important;
}
.ycj-connect-form-intro{
  width:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:clamp(22px,4vw,48px) 0!important;
}
.ycj-connect-form-intro h2,
.ycj-connect-form-intro .ycj-lede,
.ycj-connect-form-intro p{
  max-width:640px!important;
}
.ycj-connect-form-intro p:last-child{
  margin-bottom:0!important;
}
.ycj-connect-form-card{
  align-self:stretch!important;
}

/* Related reflections on individual video pages: clearer spacing around the row of cards. */
.ycj-related-section,
.ycj-related-reflections,
.ycj-video-related,
section:has(.ycj-related-grid){
  margin-top:clamp(44px,5vw,72px)!important;
}
.ycj-related-section .ycj-section-head,
.ycj-related-reflections .ycj-section-head,
.ycj-video-related .ycj-section-head,
section:has(.ycj-related-grid) .ycj-section-head,
.ycj-related-section > h2,
.ycj-related-reflections > h2,
.ycj-video-related > h2,
section:has(.ycj-related-grid) > h2{
  margin-bottom:clamp(22px,3vw,34px)!important;
}
.wp-block-columns.ycj-related-grid,
.ycj-related-grid{
  margin-top:clamp(20px,2.6vw,32px)!important;
  margin-bottom:clamp(38px,4.4vw,64px)!important;
}
.ycj-related-grid + *,
.wp-block-columns.ycj-related-grid + *{
  margin-top:0!important;
}

/* Accessibility and interaction polish */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.ycj-clickable-card:focus-visible{
  outline:3px solid rgba(216,168,78,.78)!important;
  outline-offset:4px!important;
}
.ycj-clickable-card[role="link"]{
  -webkit-tap-highlight-color:rgba(216,168,78,.18);
}
.ycj-nav a,
.ycj-footer-links a,
.ycj-footer-bottom a{
  text-underline-offset:3px;
}
.ycj-nav a:focus-visible,
.ycj-footer-links a:focus-visible,
.ycj-footer-bottom a:focus-visible{
  text-decoration:underline;
}

/* Prevent accidental horizontal scroll and make embeds/images behave predictably on narrow devices. */
html, body{
  overflow-x:hidden;
}
iframe,
embed,
object,
video{
  max-width:100%;
}
.ycj-video-embed iframe{
  display:block;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto!important;}
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
}

/* Responsive final pass */
@media (max-width: 980px){
  .wp-block-columns:has(.ycj-connect-form-card) > .wp-block-column:has(.ycj-connect-form-intro),
  .ycj-hero-grid:has(.ycj-connect-form-card) > .wp-block-column:has(.ycj-connect-form-intro),
  .ycj-connect-form-grid > .wp-block-column:has(.ycj-connect-form-intro),
  .ycj-connect-form-section .wp-block-column:has(.ycj-connect-form-intro){
    justify-content:flex-start!important;
  }
  .ycj-connect-form-intro{
    min-height:0!important;
    padding:0 0 10px!important;
  }
  .ycj-related-section,
  .ycj-related-reflections,
  .ycj-video-related,
  section:has(.ycj-related-grid){
    margin-top:48px!important;
  }
}
@media (max-width: 680px){
  .ycj-wrap,
  .ycj-wrap-wide{
    width:min(100% - 28px, var(--ycj-wrap))!important;
  }
  .ycj-connect-form-intro h2,
  .ycj-connect-form-intro .ycj-lede,
  .ycj-connect-form-intro p{
    max-width:100%!important;
  }
  .wp-block-columns.ycj-related-grid,
  .ycj-related-grid{
    margin-top:18px!important;
    margin-bottom:42px!important;
  }
  .ycj-related-card-media,
  .ycj-related-card .wp-block-image{
    height:180px!important;
    min-height:180px!important;
  }
}
