:root{--paper:#f4eee3;--paper2:#eadbc2;--cream:#fffaf1;--burg:#7b3034;--burg2:#542024;--gold:#b89556;--gold2:#d8bd86;--ink:#2c2723;--muted:#71665d;--line:#d9c9af;--white:#fff;--shadow:0 18px 42px rgba(61,42,27,.10);--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--burg)}img{max-width:100%;height:auto}.ucc-shell{width:min(1160px,calc(100% - 40px));margin-inline: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}

.site-header{background:rgba(255,250,241,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:92px}.site-branding{flex:0 0 auto}.site-title{font-family:Georgia,"Times New Roman",serif;font-size:1.72rem;text-decoration:none;color:var(--ink);font-weight:700;line-height:1.05}.site-tagline{font-size:.78rem;color:var(--muted);margin-top:6px}.custom-logo{max-height:64px;width:auto}.primary-nav{margin-left:auto}.primary-nav ul{display:flex;gap:6px;list-style:none;margin:0;padding:0;align-items:center}.primary-nav li{position:relative}.primary-nav a{display:block;padding:11px 13px;text-decoration:none;color:var(--ink);font-weight:700;font-size:.93rem;line-height:1.2;border-radius:9px;white-space:nowrap}.primary-nav a:hover,.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a{color:var(--burg);background:#f3e8d8}.primary-nav .sub-menu{position:absolute;top:calc(100% + 6px);left:0;display:block;min-width:245px;padding:9px;background:var(--cream);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s ease}.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}.primary-nav .sub-menu a{white-space:normal;padding:10px 12px}.primary-nav .sub-menu .sub-menu{left:calc(100% + 6px);top:0}.menu-toggle{display:none;border:1px solid var(--line);background:var(--cream);padding:10px;border-radius:9px}.menu-toggle__line{display:block;width:22px;height:2px;background:var(--ink);margin:4px 0}

.ucc-hero{position:relative;min-height:470px;display:grid;align-items:center;overflow:hidden;background-image:linear-gradient(90deg,rgba(31,22,18,.94) 0%,rgba(43,30,24,.82) 38%,rgba(59,43,33,.40) 62%,rgba(59,43,33,.08) 100%),var(--ucc-hero-image,linear-gradient(135deg,#49352b 0%,#7d654f 58%,#ae916a 100%));background-size:cover;background-position:center center}.ucc-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.03),transparent 66%,rgba(29,21,17,.16));pointer-events:none}.hero-content{position:relative;z-index:2;padding:54px 0 58px;max-width:1160px}.kicker{margin:0 0 10px;color:var(--burg);font-size:.75rem;font-weight:850;letter-spacing:.17em;text-transform:uppercase}.ucc-hero .kicker{color:#e5c77d}.ucc-hero h1,.section h2,.cta h2,.content-card h1,.content-card h2,.card h3,.site-footer h2,.site-footer h3{font-family:Georgia,"Times New Roman",serif;line-height:1.08}.ucc-hero h1{font-size:clamp(3.2rem,6vw,5.9rem);color:#fff;margin:0 0 12px;max-width:900px;text-shadow:0 2px 18px rgba(0,0,0,.16)}.ucc-hero h1 .hero-small{display:block;color:#fff;font-size:.56em;font-weight:400;letter-spacing:.01em;margin-bottom:3px}.ucc-hero h1>span:last-child{display:block;color:var(--gold2)}.hero-scripture{margin:0 0 20px;color:#eadcc6;font-family:Georgia,"Times New Roman",serif;font-size:1.03rem}.hero-scripture strong{font-weight:400;color:#cfb68d}.hero-lead{max-width:690px;color:rgba(255,255,255,.91);font-size:1.08rem;margin:0 0 26px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border-radius:10px;text-decoration:none;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--burg);color:#fff;box-shadow:0 10px 24px rgba(70,24,26,.26)}.btn-primary:hover{background:var(--burg2)}.btn-ghost{border:1px solid rgba(255,255,255,.6);color:#fff;background:rgba(255,255,255,.05)}

.section{padding:78px 0}.paper{background:radial-gradient(circle at 10% 10%,rgba(184,149,86,.08),transparent 24%),var(--paper)}.soft{background:linear-gradient(180deg,#fbf6ed,var(--paper))}.section-heading{max-width:760px;margin-bottom:32px}.section-heading.centred{text-align:center;margin-inline:auto}.section h2,.cta h2{font-size:clamp(2rem,3.2vw,3.25rem);margin:0 0 16px}.service-grid,.feature-grid,.post-grid{display:grid;gap:20px}.service-grid{grid-template-columns:repeat(3,1fr)}.feature-grid{grid-template-columns:repeat(4,1fr)}.post-grid{grid-template-columns:repeat(3,1fr)}.card,.content-card{background:rgba(255,255,255,.77);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:27px}.card h3{font-size:1.38rem;margin:0 0 10px}.service-card{text-align:center}.service-icon{width:42px;height:42px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;color:var(--burg);font-family:Georgia,serif}.time{font-family:Georgia,"Times New Roman",serif;color:var(--burg);font-size:1.9rem;font-weight:700;margin:7px 0 10px}.two-col{display:grid;grid-template-columns:1.3fr .85fr;gap:58px;align-items:center}.welcome-section{position:relative}.welcome-section:before{content:"✝";position:absolute;right:4%;top:12%;font-family:Georgia,serif;font-size:10rem;color:rgba(184,149,86,.07);line-height:1}.quote-card{padding:36px;background:linear-gradient(135deg,var(--burg2),var(--burg));border-radius:var(--radius);color:#fff;box-shadow:var(--shadow)}.quote-card blockquote{margin:0 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:1.4rem;line-height:1.45}.quote-card cite{color:#edd6aa;font-style:normal}.feature-card{position:relative;display:block;min-height:220px;color:inherit;text-decoration:none;transition:.18s ease;overflow:hidden}.feature-card:hover{transform:translateY(-3px);border-color:var(--gold)}.feature-mark{display:block;font-size:.72rem;color:var(--gold);font-weight:900;letter-spacing:.12em;margin-bottom:22px}.feature-link,.text-link{color:var(--burg);font-weight:800;text-decoration:none}.latest-section{background:#fffdf8}.post-date{font-size:.84rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.post-card h3 a,.content-card h1 a,.content-card h2 a{color:inherit;text-decoration:none}.thumb img{border-radius:10px;margin-bottom:14px;aspect-ratio:16/10;object-fit:cover}.scripture-band{padding:46px 0;background:linear-gradient(90deg,#e7d7bf,#f6ecdf,#e7d7bf);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.scripture-band__inner{text-align:center}.scripture-band p{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.3rem,2.1vw,2rem);font-style:italic;margin:0 0 8px}.scripture-band span{color:var(--burg);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800}.cta{padding:52px 0;background:var(--paper2)}.cta-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}.cta h2{margin-bottom:0}.content-wrap{padding:64px 0}.content-card{padding:clamp(24px,4vw,52px);margin-bottom:28px}.content-card h1{font-size:clamp(2.2rem,4vw,4rem)}.content-card h2{font-size:2rem}

.site-footer{background:#2c241f;color:#eee2d1;padding:58px 0 24px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.site-footer h2,.site-footer h3{color:#fff}.site-footer a{color:#e5c790}.site-footer ul{list-style:none;padding:0;margin:0}.footer-verse{color:#d4c0a5}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:38px;padding-top:22px;color:#c8b7a4;font-size:.9rem}

@media(max-width:1040px){.primary-nav a{font-size:.87rem;padding:10px 9px}.header-inner{gap:18px}.site-title{font-size:1.52rem}}
@media(max-width:920px){.site-header{position:sticky}.header-inner{min-height:78px}.menu-toggle{display:block;margin-left:auto}.primary-nav{position:absolute;left:0;right:0;top:100%;background:var(--cream);border-bottom:1px solid var(--line);padding:0 20px;max-height:0;overflow:hidden;opacity:0;transition:max-height .25s ease,opacity .2s ease}.primary-nav.is-open{max-height:78vh;overflow:auto;opacity:1;padding-bottom:18px}.primary-nav ul{display:block}.primary-nav a{padding:12px 8px;border-radius:0;border-bottom:1px solid rgba(217,201,175,.55)}.primary-nav .sub-menu{position:static;display:block;min-width:0;padding:0 0 0 16px;background:transparent;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none}.service-grid,.post-grid,.feature-grid{grid-template-columns:1fr 1fr}.two-col,.footer-grid{grid-template-columns:1fr}}
@media(max-width:640px){.ucc-shell{width:min(100% - 28px,1160px)}.service-grid,.post-grid,.feature-grid{grid-template-columns:1fr}.section{padding:58px 0}.ucc-hero{min-height:520px;background-position:72% center}.hero-content{padding:58px 0}.cta-inner{align-items:flex-start;flex-direction:column}.site-tagline{max-width:190px}.site-title{font-size:1.38rem}}


/* V6 pulpit hero: clean photograph + live WordPress text */
.ucc-hero--v6{
  min-height:500px;
  background-image:
    linear-gradient(90deg,
      rgba(27,20,17,.92) 0%,
      rgba(34,25,21,.84) 27%,
      rgba(44,32,26,.62) 47%,
      rgba(44,32,26,.22) 68%,
      rgba(44,32,26,.06) 100%),
    url('../hero-pulpit-v6.png');
  background-size:cover;
  background-position:center center;
}
.ucc-hero--v6:after{
  background:linear-gradient(to bottom,rgba(0,0,0,.02),transparent 70%,rgba(29,21,17,.12));
}
.ucc-hero--v6 .hero-content{
  padding-top:48px;
  padding-bottom:52px;
}
.ucc-hero--v6 .hero-lead{
  max-width:650px;
}
@media(max-width:920px){
  .ucc-hero--v6{
    background-position:61% center;
  }
}
@media(max-width:640px){
  .ucc-hero--v6{
    min-height:570px;
    background-position:66% center;
    background-image:
      linear-gradient(90deg,
        rgba(27,20,17,.94) 0%,
        rgba(34,25,21,.86) 52%,
        rgba(44,32,26,.40) 80%,
        rgba(44,32,26,.18) 100%),
      url('../hero-pulpit-v6.png');
  }
}


/* ===== V7 homepage refinements ===== */
.ucc-hero--v6 h1{max-width:650px;font-size:clamp(3.2rem,5vw,5.3rem)}
.ucc-hero--v6 .hero-small{font-size:.56em;margin-bottom:.12em}
.ucc-section{padding:76px 0}
.ucc-section--paper{background:#f4eee3}
.ucc-section--soft{background:linear-gradient(180deg,#faf6ee 0%,#f2eadf 100%)}
.section-heading{max-width:720px;margin-bottom:34px}
.section-heading--center{text-align:center;margin-left:auto;margin-right:auto}
.section-heading h2,.welcome-copy h2,.visit-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,3.2vw,3.15rem);line-height:1.1;margin:0 0 16px;color:#2d251f}
.section-heading p:last-child{color:#62584f}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:rgba(255,255,255,.82);border:1px solid #ddcdb7;border-radius:16px;box-shadow:0 14px 34px rgba(57,39,25,.08)}
.service-card{text-align:center;padding:30px 25px}
.service-card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.45rem;margin:10px 0 8px}
.service-icon{width:42px;height:42px;border:1px solid #c39c59;border-radius:50%;display:grid;place-items:center;margin:0 auto;color:#8b3033}
.service-time{font-family:Georgia,"Times New Roman",serif;font-size:2rem;font-weight:700;color:#8b3033;margin:6px 0}
.welcome-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:54px;align-items:center}
.welcome-copy>p{max-width:720px}
.text-link{color:#813033!important;text-decoration:none!important;font-weight:750}
.scripture-card{margin:0;background:#752b2f;color:white;border-radius:18px;padding:42px;box-shadow:0 18px 42px rgba(66,29,25,.18)}
.scripture-card blockquote{font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;line-height:1.45;margin:12px 0 18px}
.scripture-card cite{color:#ecd6ad;font-style:normal}
.scripture-cross{color:#d6b36e;font-size:1.6rem}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post-card{padding:26px}
.post-card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.45rem;margin:8px 0 12px}
.post-card h3 a{color:#2d251f;text-decoration:none}
.post-date{text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;font-weight:800;color:#8b3033}
.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.visit-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;box-shadow:0 18px 44px rgba(57,39,25,.14)}
.visit-details{display:flex;gap:45px;margin:24px 0 28px;padding:20px 0;border-top:1px solid #ddcdb7;border-bottom:1px solid #ddcdb7}
.visit-details p{margin:0}
.ucc-verse-band{padding:58px 0;text-align:center;background:linear-gradient(90deg,#ded0ba,#f7f0e5,#ded0ba);border-top:1px solid #d4c2a9;border-bottom:1px solid #d4c2a9}
.ucc-verse-band blockquote{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(1.35rem,2.2vw,2rem);max-width:900px;margin:0 auto 10px;line-height:1.45}
.ucc-verse-band cite{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-style:normal}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature-card{display:block;padding:28px;text-decoration:none!important;color:#2d251f!important;transition:transform .18s ease,box-shadow .18s ease}
.feature-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(57,39,25,.13)}
.feature-card h3{font-family:Georgia,"Times New Roman",serif;font-size:1.5rem;margin:10px 0}
.feature-card strong{color:#813033}
.feature-mark{font-family:Georgia,"Times New Roman",serif;color:#b08b4e;font-size:.82rem;letter-spacing:.1em}
@media(max-width:900px){
 .service-grid,.post-grid,.feature-grid{grid-template-columns:1fr 1fr}
 .welcome-grid,.visit-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
 .ucc-section{padding:58px 0}
 .service-grid,.post-grid,.feature-grid{grid-template-columns:1fr}
 .visit-details{gap:25px;flex-wrap:wrap}
 .scripture-card{padding:30px}
 .ucc-hero--v6 h1{font-size:clamp(2.75rem,12vw,4rem)}
}


/* ===== V8 polish-and-fix release ===== */
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{margin:.32rem 0}
.footer-links a{
  color:#e9d6b8;
  text-decoration:none;
}
.footer-links a:hover,
.footer-links a:focus{color:#fff;text-decoration:underline}

.ucc-links .section-heading h2{max-width:760px;margin-inline:auto}

/* Make the real exterior image section unmistakably part of the homepage. */
.ucc-visit{
  background:#fffaf2;
}
.visit-photo{
  position:relative;
}
.visit-photo:after{
  content:"Union Croft Chapel";
  position:absolute;
  left:18px;
  bottom:16px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(45,37,31,.76);
  color:#fff7ea;
  font-size:.78rem;
  letter-spacing:.04em;
}

/* Small desktop refinement */
@media(min-width:1100px){
  .ucc-hero--v6 .hero-content{padding-top:44px;padding-bottom:48px}
  .ucc-hero--v6 h1{max-width:620px}
}

/* Stronger tablet/mobile behaviour */
@media(max-width:900px){
  .site-header .ucc-shell,
  .site-header .site-inner{
    gap:16px;
  }
  .ucc-hero--v6{
    min-height:520px;
    background-position:68% center;
  }
  .ucc-hero--v6 .hero-content{
    padding-top:46px;
    padding-bottom:46px;
  }
  .ucc-hero--v6 .hero-lead{max-width:560px}
  .visit-photo img{aspect-ratio:16/10}
}

@media(max-width:640px){
  .ucc-hero--v6{
    min-height:610px;
    background-position:73% center;
  }
  .ucc-hero--v6 .hero-content{
    padding-top:42px;
    padding-bottom:42px;
  }
  .ucc-hero--v6 h1{
    max-width:100%;
    line-height:1.02;
  }
  .ucc-hero--v6 .hero-small{
    font-size:.58em;
  }
  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    width:min(100%,360px);
  }
  .hero-actions .btn{width:100%}
  .section-heading--center{text-align:left}
  .service-card{text-align:left}
  .service-icon{margin-left:0}
  .visit-details{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .ucc-verse-band{padding:44px 0}
  .ucc-verse-band blockquote{font-size:1.4rem}
}

@media(max-width:430px){
  .visit-details{grid-template-columns:1fr}
  .scripture-card{padding:26px}
  .ucc-section{padding:50px 0}
}


/* ===== V10 inner-page system ===== */
.ucc-inner{
  background:#fffaf2;
  color:#2d251f;
}
.ucc-inner-hero{
  padding:86px 0 72px;
  background:
    linear-gradient(180deg,rgba(255,250,242,.98),rgba(244,238,227,.98)),
    radial-gradient(circle at 85% 15%,rgba(181,150,91,.10),transparent 36%);
  border-bottom:1px solid #dfcfb8;
}
.ucc-inner-hero--post{
  padding-bottom:62px;
}
.ucc-inner-hero h1{
  max-width:920px;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2.55rem,5vw,4.8rem);
  line-height:1.05;
  color:#2d251f;
}
.ucc-inner-intro{
  max-width:760px;
  margin:20px 0 0;
  font-size:1.14rem;
  color:#62584f;
}
.ucc-inner-body{
  padding:72px 0 88px;
}
.ucc-inner-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:58px;
  align-items:start;
}
.ucc-article{
  min-width:0;
  font-size:1.04rem;
  line-height:1.78;
}
.ucc-article > *:first-child{margin-top:0}
.ucc-article h2,
.ucc-article h3,
.ucc-article h4{
  font-family:Georgia,"Times New Roman",serif;
  color:#2d251f;
  line-height:1.15;
}
.ucc-article h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:2.2em 0 .7em}
.ucc-article h3{font-size:1.6rem;margin:1.8em 0 .6em}
.ucc-article h4{font-size:1.25rem;margin:1.5em 0 .5em}
.ucc-article a{color:#813033}
.ucc-article blockquote{
  margin:2em 0;
  padding:24px 28px;
  border-left:4px solid #b08b4e;
  background:#f4eee3;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.24rem;
  line-height:1.55;
}
.ucc-article img{
  max-width:100%;
  height:auto;
  border-radius:14px;
}
.ucc-article table{
  width:100%;
  border-collapse:collapse;
  margin:2em 0;
  background:#fff;
}
.ucc-article th,
.ucc-article td{
  padding:12px 14px;
  border:1px solid #ddcdb7;
  text-align:left;
}
.ucc-article th{background:#f4eee3}
.ucc-article .wp-block-button__link{
  background:#812f33;
  border-radius:999px;
}
.ucc-article .wp-block-separator{
  border-color:#ddcdb7;
  margin:2.2em 0;
}
.ucc-inner-aside{
  position:sticky;
  top:110px;
}
.ucc-aside-card{
  padding:28px;
  border:1px solid #ddcdb7;
  border-radius:16px;
  background:#f4eee3;
  box-shadow:0 14px 34px rgba(57,39,25,.08);
}
.ucc-aside-card h2{
  margin:0 0 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.65rem;
}
.ucc-aside-card p{margin:.85em 0}
.ucc-aside-links{
  list-style:none;
  padding:0;
  margin:0;
}
.ucc-aside-links li{border-top:1px solid #ddcdb7}
.ucc-aside-links li:first-child{border-top:0}
.ucc-aside-links a{
  display:block;
  padding:12px 0;
  color:#813033;
  text-decoration:none;
  font-weight:750;
}
.ucc-featured-image{
  margin:0 0 34px;
}
.ucc-featured-image img{
  display:block;
  width:100%;
  border-radius:18px;
  box-shadow:0 16px 38px rgba(57,39,25,.10);
}
.ucc-post-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:54px;
  padding-top:28px;
  border-top:1px solid #ddcdb7;
}
.ucc-post-nav > div:last-child{text-align:right}
.ucc-post-nav a{
  color:#813033;
  text-decoration:none;
  font-weight:750;
}
.ucc-archive-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.ucc-archive-card{
  padding:28px;
}
.ucc-archive-card h2{
  margin:.4em 0 .6em;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.5rem;
}
.ucc-archive-card h2 a{
  color:#2d251f;
  text-decoration:none;
}
.ucc-pagination{
  margin-top:42px;
}
.ucc-pagination .nav-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.ucc-pagination a,
.ucc-pagination span{
  display:inline-flex;
  min-width:40px;
  min-height:40px;
  padding:8px 12px;
  align-items:center;
  justify-content:center;
  border:1px solid #ddcdb7;
  border-radius:999px;
  text-decoration:none;
}
.ucc-pagination .current{
  background:#813033;
  color:#fff;
  border-color:#813033;
}

/* Friendly styling for common WordPress blocks */
.ucc-article .wp-block-group,
.ucc-article .wp-block-columns{
  margin-top:1.8em;
  margin-bottom:1.8em;
}
.ucc-article .wp-block-cover{
  border-radius:18px;
  overflow:hidden;
}
.ucc-article .wp-block-image figcaption{
  color:#6d625a;
  font-size:.9rem;
}
.ucc-article .wp-block-file a{
  color:#813033;
  font-weight:750;
}
.ucc-article .wp-block-file__button{
  background:#813033;
  color:#fff;
  border-radius:999px;
}

/* Information landing-page style, automatically useful for lists of child pages */
.ucc-article > ul:first-of-type{
  padding-left:1.2rem;
}
.ucc-article > ul:first-of-type li{
  margin:.6em 0;
}

@media(max-width:1000px){
  .ucc-inner-layout{grid-template-columns:1fr}
  .ucc-inner-aside{position:static}
  .ucc-archive-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .ucc-inner-hero{padding:62px 0 50px}
  .ucc-inner-body{padding:52px 0 64px}
  .ucc-inner-hero h1{font-size:clamp(2.35rem,11vw,3.6rem)}
  .ucc-archive-grid{grid-template-columns:1fr}
  .ucc-post-nav{grid-template-columns:1fr}
  .ucc-post-nav > div:last-child{text-align:left}
  .ucc-article{font-size:1rem}
  .ucc-aside-card{padding:24px}
}


/* ===== V11 sermon-system compatibility and polish =====
   These rules are intentionally scoped to common Sermon Manager post-type
   body classes, so ordinary pages and the finished homepage are unaffected.
*/
body.single-wpfc_sermon,
body.single-sermon{
  background:#fffaf2;
}

/* Warm the large sermon title/hero area used by common Sermon Manager layouts. */
body.single-wpfc_sermon .sermon-header,
body.single-wpfc_sermon .single-sermon-header,
body.single-wpfc_sermon .wpfc-sermon-single-header,
body.single-wpfc_sermon [class*="sermon-hero"],
body.single-wpfc_sermon [class*="sermon_header"],
body.single-sermon .sermon-header,
body.single-sermon .single-sermon-header{
  background:#30231d !important;
  color:#fffaf2 !important;
  min-height:auto !important;
  padding-top:72px !important;
  padding-bottom:72px !important;
}

body.single-wpfc_sermon .sermon-header h1,
body.single-wpfc_sermon .single-sermon-header h1,
body.single-wpfc_sermon .wpfc-sermon-single-header h1,
body.single-wpfc_sermon [class*="sermon-hero"] h1,
body.single-wpfc_sermon [class*="sermon_header"] h1,
body.single-sermon .sermon-header h1,
body.single-sermon .single-sermon-header h1{
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(2.6rem,5vw,4.7rem) !important;
  line-height:1.06 !important;
  color:#f2d18e !important;
  letter-spacing:0 !important;
}

/* The plugin's main sermon content area. */
body.single-wpfc_sermon .sermon-wrapper,
body.single-wpfc_sermon .single-sermon,
body.single-wpfc_sermon .wpfc-sermon-single,
body.single-wpfc_sermon [class*="sermon-content"],
body.single-wpfc_sermon [class*="sermon_content"],
body.single-sermon .sermon-wrapper,
body.single-sermon .single-sermon{
  color:#2d251f;
}

body.single-wpfc_sermon h1,
body.single-wpfc_sermon h2,
body.single-wpfc_sermon h3,
body.single-sermon h1,
body.single-sermon h2,
body.single-sermon h3{
  font-family:Georgia,"Times New Roman",serif;
}

/* Back-to-sermons, series and metadata links. */
body.single-wpfc_sermon a,
body.single-sermon a{
  text-underline-offset:3px;
}
body.single-wpfc_sermon .sermon-meta a,
body.single-wpfc_sermon [class*="sermon-meta"] a,
body.single-wpfc_sermon [class*="sermon_meta"] a,
body.single-wpfc_sermon [class*="series"] a,
body.single-sermon .sermon-meta a{
  color:#812f33 !important;
}

/* Preacher / media information bar: replace plugin teal with chapel brown. */
body.single-wpfc_sermon .sermon-info,
body.single-wpfc_sermon .sermon-details,
body.single-wpfc_sermon .sermon-speaker,
body.single-wpfc_sermon .sermon-meta-box,
body.single-wpfc_sermon .wpfc-sermon-single-meta,
body.single-wpfc_sermon [class*="speaker-wrap"],
body.single-wpfc_sermon [class*="sermon-speaker"],
body.single-wpfc_sermon [class*="sermon-info"],
body.single-wpfc_sermon [class*="sermon_info"],
body.single-sermon .sermon-info,
body.single-sermon .sermon-details{
  background:#352820 !important;
  color:#fff7ea !important;
  border-radius:12px !important;
  border-color:#4f3b30 !important;
}
body.single-wpfc_sermon .sermon-info a,
body.single-wpfc_sermon .sermon-details a,
body.single-wpfc_sermon .sermon-speaker a,
body.single-wpfc_sermon .wpfc-sermon-single-meta a,
body.single-sermon .sermon-info a{
  color:#f1d39a !important;
}

/* Audio/media controls and download buttons. */
body.single-wpfc_sermon .sermon-media,
body.single-wpfc_sermon .sermon-audio,
body.single-wpfc_sermon .wpfc-sermon-single-audio,
body.single-wpfc_sermon [class*="sermon-player"],
body.single-wpfc_sermon [class*="sermon_player"],
body.single-sermon .sermon-media,
body.single-sermon .sermon-audio{
  margin-top:28px !important;
  margin-bottom:32px !important;
}

body.single-wpfc_sermon .sermon-media button,
body.single-wpfc_sermon .sermon-media .button,
body.single-wpfc_sermon .sermon-audio button,
body.single-wpfc_sermon .sermon-audio .button,
body.single-wpfc_sermon [class*="sermon"] .button,
body.single-wpfc_sermon [class*="sermon"] a.button,
body.single-sermon [class*="sermon"] .button{
  border-radius:999px !important;
  border:1px solid #b08b4e !important;
  background:#812f33 !important;
  color:#fff !important;
  box-shadow:none !important;
}
body.single-wpfc_sermon [class*="sermon"] .button:hover,
body.single-wpfc_sermon [class*="sermon"] a.button:hover,
body.single-sermon [class*="sermon"] .button:hover{
  background:#652429 !important;
}

/* HTML5 audio player gets a clean full-width presentation. */
body.single-wpfc_sermon audio,
body.single-sermon audio{
  display:block;
  width:min(100%,860px) !important;
  margin:18px auto 30px !important;
}

/* Pull oversized plugin whitespace back into line with V10. */
body.single-wpfc_sermon main,
body.single-sermon main{
  background:#fffaf2;
}
body.single-wpfc_sermon .site-main > section,
body.single-wpfc_sermon main > section,
body.single-sermon .site-main > section,
body.single-sermon main > section{
  scroll-margin-top:100px;
}
body.single-wpfc_sermon [class*="sermon"] .container,
body.single-wpfc_sermon [class*="sermon"] .content-width,
body.single-sermon [class*="sermon"] .container{
  width:min(1120px,calc(100% - 40px)) !important;
  margin-inline:auto !important;
}

/* Make sermon section headings echo the homepage. */
body.single-wpfc_sermon [class*="sermon"] h2,
body.single-sermon [class*="sermon"] h2{
  color:#2d251f;
}
body.single-wpfc_sermon [class*="sermon"] h2::after,
body.single-sermon [class*="sermon"] h2::after{
  border-color:#b08b4e;
}

/* If the plugin outputs an avatar circle, use a restrained gold outline. */
body.single-wpfc_sermon [class*="avatar"],
body.single-wpfc_sermon [class*="speaker-image"],
body.single-sermon [class*="avatar"]{
  border-color:#b08b4e !important;
}

/* Sermon archive compatibility. */
body.post-type-archive-wpfc_sermon,
body.tax-wpfc_sermon_series,
body.tax-wpfc_preacher{
  background:#fffaf2;
}
body.post-type-archive-wpfc_sermon [class*="sermon"] h1,
body.tax-wpfc_sermon_series [class*="sermon"] h1,
body.tax-wpfc_preacher [class*="sermon"] h1{
  font-family:Georgia,"Times New Roman",serif;
  color:#2d251f;
}

/* Mobile sermon pass. */
@media(max-width:700px){
  body.single-wpfc_sermon .sermon-header,
  body.single-wpfc_sermon .single-sermon-header,
  body.single-wpfc_sermon .wpfc-sermon-single-header,
  body.single-wpfc_sermon [class*="sermon-hero"],
  body.single-sermon .sermon-header{
    padding-top:52px !important;
    padding-bottom:52px !important;
  }
  body.single-wpfc_sermon [class*="sermon"] .container,
  body.single-wpfc_sermon [class*="sermon"] .content-width,
  body.single-sermon [class*="sermon"] .container{
    width:min(100% - 28px,1120px) !important;
  }
}


/* Reliable fallback when the sermon plugin uses unfamiliar class names. */
body.ucc-sermon-page{
  background:#fffaf2;
  color:#2d251f;
}
body.ucc-sermon-page main{
  background:#fffaf2;
}
body.ucc-sermon-page main h1,
body.ucc-sermon-page main h2,
body.ucc-sermon-page main h3{
  font-family:Georgia,"Times New Roman",serif;
}
body.ucc-sermon-page main a{
  text-underline-offset:3px;
}


/* ===== V12 semantic sermon-page integration =====
   Classes below are attached to the plugin's rendered DOM by sermon-compat.js.
*/
body.ucc-sermon-v12 .ucc-sermon-hero-detected{
  min-height:0 !important;
  padding:72px 24px !important;
  background:
    radial-gradient(circle at 78% 35%, rgba(181,150,91,.13), transparent 36%),
    linear-gradient(135deg,#241a16,#49352a) !important;
  color:#fffaf2 !important;
  text-align:center !important;
  border:0 !important;
}
body.ucc-sermon-v12 .ucc-sermon-hero-title{
  margin:0 !important;
  color:#edcf91 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(2.8rem,5vw,4.5rem) !important;
  font-weight:700 !important;
  line-height:1.04 !important;
  letter-spacing:0 !important;
  text-shadow:none !important;
}

body.ucc-sermon-v12 .ucc-sermon-backlink{
  display:inline-flex !important;
  align-items:center;
  gap:.4rem;
  margin-bottom:8px;
  color:#812f33 !important;
  font-weight:750 !important;
  text-decoration:none !important;
}
body.ucc-sermon-v12 .ucc-sermon-backlink:hover{
  text-decoration:underline !important;
}

body.ucc-sermon-v12 .ucc-sermon-content-title{
  color:#2d251f !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(2rem,3vw,2.8rem) !important;
  line-height:1.08 !important;
}

body.ucc-sermon-v12 .ucc-sermon-meta-detected{
  color:#6a5d53 !important;
  border-color:#dfcfb8 !important;
}
body.ucc-sermon-v12 .ucc-sermon-meta-detected a{
  color:#812f33 !important;
}

body.ucc-sermon-v12 .ucc-sermon-info-detected{
  margin-top:24px !important;
  margin-bottom:30px !important;
  padding:22px 26px !important;
  background:linear-gradient(135deg,#34261f,#48362b) !important;
  color:#fff8ed !important;
  border:1px solid #654c3d !important;
  border-radius:14px !important;
  box-shadow:0 14px 34px rgba(57,39,25,.13) !important;
}
body.ucc-sermon-v12 .ucc-sermon-info-detected a{
  color:#f2d399 !important;
}
body.ucc-sermon-v12 .ucc-sermon-preacher-link{
  color:#f2d399 !important;
  font-weight:750 !important;
}
body.ucc-sermon-v12 .ucc-sermon-audio-button{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 18px !important;
  border:1px solid #d0ad70 !important;
  border-radius:999px !important;
  background:#812f33 !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:750 !important;
}
body.ucc-sermon-v12 .ucc-sermon-audio-button:hover{
  background:#672429 !important;
}

body.ucc-sermon-v12 .ucc-sermon-player-section{
  margin-top:26px !important;
  padding-top:10px !important;
  padding-bottom:28px !important;
}
body.ucc-sermon-v12 .ucc-sermon-listen-heading{
  margin:0 0 18px !important;
  color:#2d251f !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:1.65rem !important;
  font-weight:700 !important;
  text-align:center !important;
}
body.ucc-sermon-v12 .ucc-sermon-audio-wrap{
  padding:14px 18px !important;
  border:1px solid #dfcfb8 !important;
  border-radius:14px !important;
  background:#f4eee3 !important;
  box-shadow:0 8px 20px rgba(57,39,25,.06) !important;
}
body.ucc-sermon-v12 .ucc-sermon-audio-player{
  display:block !important;
  width:100% !important;
  max-width:900px !important;
  margin:0 auto !important;
}

/* So the sermon page feels like V10 even if the plugin uses a full-width wrapper. */
body.ucc-sermon-v12 main{
  background:#fffaf2 !important;
}
body.ucc-sermon-v12 main > *:not(.ucc-sermon-hero-detected){
  border-color:#dfcfb8;
}
body.ucc-sermon-v12 main p,
body.ucc-sermon-v12 main li{
  line-height:1.65;
}

@media(max-width:700px){
  body.ucc-sermon-v12 .ucc-sermon-hero-detected{
    padding:52px 18px !important;
  }
  body.ucc-sermon-v12 .ucc-sermon-info-detected{
    padding:20px !important;
  }
  body.ucc-sermon-v12 .ucc-sermon-audio-button{
    margin-top:10px;
  }
}


/* ===== V13 sermon archive + single-page skin ===== */

/* Archive hero */
body.ucc-sermon-archive-v13 .ucc-sermon-archive-hero{
  min-height:0 !important;
  padding:68px 24px !important;
  background:
    radial-gradient(circle at 76% 30%, rgba(181,150,91,.14), transparent 38%),
    linear-gradient(135deg,#241a16,#4b362b) !important;
  color:#fffaf2 !important;
  text-align:center !important;
  border:0 !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-archive-title{
  margin:0 !important;
  color:#f0d298 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(2.8rem,5vw,4.4rem) !important;
  line-height:1.05 !important;
  letter-spacing:0 !important;
}

/* Filters */
body.ucc-sermon-archive-v13 .ucc-sermon-filter-panel{
  width:min(1120px,calc(100% - 40px)) !important;
  margin:34px auto 26px !important;
  padding:22px !important;
  border:1px solid #dfcfb8 !important;
  border-radius:16px !important;
  background:#f4eee3 !important;
  box-shadow:0 12px 30px rgba(57,39,25,.07) !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-filter-control{
  min-height:46px !important;
  border:1px solid #d7c6af !important;
  border-radius:10px !important;
  background:#fffdf9 !important;
  color:#2d251f !important;
  box-shadow:none !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-filter-control:focus{
  outline:2px solid rgba(129,47,51,.2) !important;
  border-color:#a7774d !important;
}

/* Results layout */
body.ucc-sermon-archive-v13 .ucc-sermon-results-grid{
  width:min(1120px,calc(100% - 40px)) !important;
  margin:0 auto 72px !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-result-card{
  margin:0 !important;
  padding:24px !important;
  min-width:0 !important;
  width:auto !important;
  max-width:none !important;
  height:100% !important;
  border:1px solid #dfcfb8 !important;
  border-radius:16px !important;
  background:#fffdf9 !important;
  box-shadow:0 12px 28px rgba(57,39,25,.07) !important;
  color:#2d251f !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.ucc-sermon-archive-v13 .ucc-sermon-result-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 36px rgba(57,39,25,.11) !important;
  border-color:#c49b5f !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-result-title{
  color:#812f33 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:1.45rem !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  text-decoration:none !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-result-card a{
  color:#812f33 !important;
  text-underline-offset:3px;
}
body.ucc-sermon-archive-v13 .ucc-sermon-speaker-link-v13{
  color:#812f33 !important;
  font-weight:700 !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-result-card p,
body.ucc-sermon-archive-v13 .ucc-sermon-result-card div{
  line-height:1.55;
}
body.ucc-sermon-archive-v13 main{
  background:#fffaf2 !important;
}

/* Refine V12 single-sermon look now that archive styling is shared */
body.ucc-sermon-v12 .ucc-sermon-hero-detected{
  padding-top:60px !important;
  padding-bottom:60px !important;
}
body.ucc-sermon-v12 .ucc-sermon-info-detected{
  background:linear-gradient(135deg,#3b2822,#58362f) !important;
}
body.ucc-sermon-v12 .ucc-sermon-audio-wrap{
  background:#f7f0e5 !important;
}

/* Tablet/mobile */
@media(max-width:980px){
  body.ucc-sermon-archive-v13 .ucc-sermon-results-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:700px){
  body.ucc-sermon-archive-v13 .ucc-sermon-archive-hero{
    padding:50px 18px !important;
  }
  body.ucc-sermon-archive-v13 .ucc-sermon-filter-panel{
    width:min(100% - 28px,1120px) !important;
    margin-top:24px !important;
    padding:16px !important;
  }
  body.ucc-sermon-archive-v13 .ucc-sermon-results-grid{
    width:min(100% - 28px,1120px) !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    margin-bottom:54px !important;
  }
  body.ucc-sermon-archive-v13 .ucc-sermon-result-card{
    padding:20px !important;
  }
}
