: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-wordmark{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px}.site-wordmark__name{display:block;color:var(--ink);font-size:1em;letter-spacing:.01em}.site-wordmark__detail{display:block;color:var(--burg);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.43em;font-weight:800;letter-spacing:.13em;line-height:1.25;text-transform:uppercase;white-space:nowrap}.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.jpg');
  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.jpg');
  }
}


/* ===== 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;
  }
}

/* V15 — Chapel Diary */
.ucc-diary-hero{background:#30231d;padding:72px 0 64px;color:#fff9f0;text-align:center;border-bottom:1px solid rgba(217,182,111,.45)}
.ucc-diary-hero .kicker{color:#d9b66f;margin-bottom:10px}.ucc-diary-hero h1{color:#f0d298;font-size:clamp(2.5rem,6vw,4.5rem);margin:0 0 12px}.ucc-diary-hero p:last-child{max-width:700px;margin:0 auto;color:#f5ebdd}
.ucc-diary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ucc-diary-card{padding:28px}.ucc-diary-card h3,.ucc-diary-event h3{margin:.25rem 0 .5rem;color:#30231d}.ucc-diary-when{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#812f33;margin:0 0 6px}.ucc-diary-time{font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;color:#812f33;margin:.15rem 0 .4rem}.ucc-diary-location{font-weight:600;color:#57473e;margin:.25rem 0 .65rem}.ucc-diary-summary p:last-child{margin-bottom:0}
.ucc-diary-list{display:grid;gap:18px}.ucc-diary-event{display:grid;grid-template-columns:86px 1fr;gap:24px;padding:24px;align-items:start}.ucc-diary-datebox{background:#812f33;color:#fff9f0;border-radius:10px;text-align:center;overflow:hidden;box-shadow:0 5px 16px rgba(48,35,29,.12)}.ucc-diary-datebox span{display:block;background:#30231d;color:#f0d298;padding:7px 4px;text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;font-weight:700}.ucc-diary-datebox strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:2rem;padding:9px 4px 11px}.ucc-diary-event-copy{min-width:0}.ucc-diary-empty{padding:24px}.ucc-diary-empty p{margin:0}
.ucc-diary-single-shell{max-width:900px}.ucc-diary-single-card{margin-top:22px;padding:clamp(28px,5vw,52px)}.ucc-diary-single-card h1{color:#30231d;margin:.2rem 0 .5rem}.ucc-diary-single-meta{font-weight:700;color:#812f33;margin-bottom:1.5rem}
.ucc-home-coming .ucc-diary-event{background:#fff9f0}.ucc-home-coming-footer{text-align:center;margin-top:26px}
@media(max-width:850px){.ucc-diary-grid{grid-template-columns:1fr}.ucc-diary-event{grid-template-columns:72px 1fr;gap:16px}}@media(max-width:520px){.ucc-diary-hero{padding:52px 0 46px}.ucc-diary-event{grid-template-columns:1fr}.ucc-diary-datebox{width:74px}}

/* V16 — Native WordPress chapel gallery */
.entry-content .wp-block-gallery,
.ucc-page-content .wp-block-gallery,
.entry-content .gallery,
.ucc-page-content .gallery{
  margin:2rem 0 2.4rem;
}

.entry-content .wp-block-gallery,
.ucc-page-content .wp-block-gallery{
  gap:16px !important;
}

.entry-content .wp-block-gallery .wp-block-image,
.ucc-page-content .wp-block-gallery .wp-block-image,
.entry-content .gallery-item,
.ucc-page-content .gallery-item{
  overflow:hidden;
  border:1px solid #dfcfb8;
  border-radius:12px;
  background:#fffdf9;
  box-shadow:0 8px 22px rgba(57,39,25,.08);
}

.entry-content .wp-block-gallery img,
.ucc-page-content .wp-block-gallery img,
.entry-content .gallery img,
.ucc-page-content .gallery img{
  display:block;
  width:100%;
  height:100%;
  min-height:220px;
  object-fit:cover;
  border:0 !important;
  border-radius:0 !important;
  cursor:zoom-in;
  transition:transform .22s ease, filter .22s ease;
}

.entry-content .wp-block-gallery figure:hover img,
.ucc-page-content .wp-block-gallery figure:hover img,
.entry-content .gallery-item:hover img,
.ucc-page-content .gallery-item:hover img{
  transform:scale(1.025);
}

.entry-content .wp-block-gallery figcaption,
.ucc-page-content .wp-block-gallery figcaption,
.entry-content .gallery-caption,
.ucc-page-content .gallery-caption{
  position:static !important;
  margin:0 !important;
  padding:10px 12px !important;
  background:#f5ebdd !important;
  color:#49362c !important;
  font-size:.92rem !important;
  line-height:1.4 !important;
  text-align:center;
}

/* Lightweight click-to-enlarge viewer. */
.ucc-gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(31,22,18,.92);
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease;
}
.ucc-gallery-lightbox.is-open{
  opacity:1;
  visibility:visible;
}
.ucc-gallery-lightbox__inner{
  position:relative;
  max-width:min(1200px,94vw);
  max-height:90vh;
}
.ucc-gallery-lightbox__img{
  display:block;
  max-width:100%;
  max-height:86vh;
  width:auto;
  height:auto;
  margin:auto;
  border-radius:8px;
  box-shadow:0 18px 70px rgba(0,0,0,.42);
}
.ucc-gallery-lightbox__close{
  position:absolute;
  top:-18px;
  right:-18px;
  width:44px;
  height:44px;
  border:1px solid rgba(240,210,152,.65);
  border-radius:50%;
  background:#812f33;
  color:#fff9f0;
  font-size:29px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(0,0,0,.28);
}
.ucc-gallery-lightbox__close:focus-visible{
  outline:3px solid #f0d298;
  outline-offset:3px;
}
body.ucc-gallery-open{
  overflow:hidden;
}

@media(max-width:700px){
  .entry-content .wp-block-gallery img,
  .ucc-page-content .wp-block-gallery img,
  .entry-content .gallery img,
  .ucc-page-content .gallery img{
    min-height:170px;
  }
  .ucc-gallery-lightbox{padding:18px}
  .ucc-gallery-lightbox__close{top:8px;right:8px}
}


/* V18: mixed News + Sermon cards in Latest from Union Croft. */
.ucc-latest-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 12px;
  margin-bottom:12px;
}
.ucc-latest-meta .post-date{
  margin:0;
}
.ucc-content-kind{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 9px;
  border:1px solid #d9b66f;
  border-radius:999px;
  background:#fff9f0;
  color:#812f33;
  font-size:.72rem;
  font-weight:700;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ucc-content-kind--sermon{
  background:#812f33;
  border-color:#812f33;
  color:#fff9f0;
}


/* V19 — Daily Scripture band */
.ucc-daily-scripture .ucc-shell{max-width:940px;text-align:center}
.ucc-daily-scripture .ucc-daily-label{margin:0 0 12px;text-transform:uppercase;letter-spacing:.16em;font-size:.76rem;font-weight:700;color:#f0d298}
.ucc-daily-scripture blockquote{margin-left:auto;margin-right:auto}
.ucc-daily-scripture cite a{color:inherit;text-decoration:none}
.ucc-daily-scripture cite a:hover,.ucc-daily-scripture cite a:focus{text-decoration:underline;text-underline-offset:3px}
.ucc-daily-scripture .ucc-daily-credit{margin:14px 0 0;font-size:.78rem;opacity:.76}
.ucc-daily-scripture .ucc-daily-credit a{color:inherit;text-underline-offset:2px}


/* V21 — Chapel Diary link beneath Sunday services */
.ucc-diary-link{
  text-align:center;
  margin-top:30px;
}
.ucc-diary-link a{
  display:inline-block;
  color:#812f33;
  text-decoration:none;
  font-size:1rem;
}
.ucc-diary-link a:hover,
.ucc-diary-link a:focus{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.ucc-diary-link strong{
  font-weight:700;
}

/* V23 — sleeker mobile presentation; desktop layout intentionally unchanged. */
@media(max-width:640px){
  .ucc-shell{width:min(100% - 32px,1160px)}
  .ucc-section,.section{padding:44px 0}
  .section-heading{margin-bottom:22px}
  .section-heading h2,.welcome-copy h2,.visit-copy h2,.section h2{font-size:clamp(1.85rem,8.5vw,2.35rem);margin-bottom:11px}
  .section-heading p:last-child{margin-bottom:0}
  .kicker{font-size:.69rem;letter-spacing:.14em}

  .ucc-hero--v6{min-height:500px;background-position:70% center}
  .ucc-hero--v6 .hero-content{padding-top:34px;padding-bottom:36px}
  .ucc-hero--v6 h1{font-size:clamp(2.55rem,11vw,3.55rem);margin-bottom:10px}
  .hero-scripture{font-size:.94rem;margin-bottom:14px}
  .hero-lead{font-size:1rem;line-height:1.55;margin-bottom:20px;max-width:94%}
  .hero-actions{display:flex;flex-direction:row;gap:9px;width:100%;max-width:390px}
  .hero-actions .btn{width:auto;flex:1;min-height:44px;padding:10px 12px;font-size:.88rem;border-radius:8px}

  .service-grid,.post-grid{gap:13px}
  .card{padding:20px}
  .service-card{position:relative;text-align:left;padding:18px 18px 17px 62px;min-height:0}
  .service-card .service-icon{position:absolute;left:18px;top:19px;width:32px;height:32px;margin:0;font-size:.86rem}
  .service-card h3{font-size:1.22rem;margin:0 0 3px}
  .service-card .service-time{font-size:1.45rem;margin:2px 0 5px}
  .service-card p:last-child{font-size:.92rem;line-height:1.45;margin-bottom:0}
  .ucc-diary-link{margin-top:20px;padding:0 8px}
  .ucc-diary-link a{font-size:.91rem;line-height:1.45}

  .welcome-grid,.visit-grid{gap:28px}
  .welcome-copy p,.visit-copy>p{line-height:1.6}
  .scripture-card{padding:24px}
  .scripture-card blockquote{font-size:1.2rem;line-height:1.48}

  .post-card{padding:20px}
  .post-card h3{font-size:1.28rem}
  .ucc-latest-meta{gap:7px 9px;margin-bottom:9px}
  .ucc-content-kind{min-height:23px;padding:3px 8px;font-size:.66rem}

  .ucc-home-coming .ucc-diary-list{gap:12px}
  .ucc-home-coming .ucc-diary-event{padding:17px;gap:13px;grid-template-columns:62px 1fr}
  .ucc-home-coming .ucc-diary-datebox{width:62px}
  .ucc-home-coming .ucc-diary-datebox strong{font-size:1.55rem;padding:7px 3px 8px}
  .ucc-home-coming .ucc-diary-datebox span{font-size:.66rem;padding:5px 3px}
  .ucc-home-coming .ucc-diary-event h3{font-size:1.2rem}
  .ucc-home-coming .ucc-diary-event-copy>p:last-child{font-size:.91rem;line-height:1.45;margin-bottom:0}
  .ucc-home-coming .ucc-diary-grid{gap:12px}
  .ucc-home-coming .ucc-diary-card{padding:19px}
  .ucc-home-coming-footer{margin-top:19px}
  .ucc-home-coming-footer .btn{min-height:43px;padding:10px 17px;font-size:.9rem}

  .visit-photo img{aspect-ratio:16/9;border-radius:13px}
  .visit-details{margin:17px 0 20px;padding:14px 0;gap:12px;grid-template-columns:1fr 1fr}
  .visit-details p{font-size:.91rem}
  .visit-copy>.btn{min-height:44px;padding:10px 17px;font-size:.91rem}

  .ucc-verse-band{padding:34px 0}
  .ucc-daily-scripture .ucc-daily-label{margin-bottom:9px;font-size:.68rem}
  .ucc-daily-scripture blockquote{font-size:1.25rem;line-height:1.45;margin-bottom:8px}
  .ucc-daily-scripture .ucc-daily-credit{margin-top:10px;font-size:.7rem}

  .site-footer{font-size:.92rem}
  .footer-grid{gap:24px}
}

@media(max-width:430px){
  .ucc-hero--v6{min-height:485px}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .hero-actions .btn{width:100%;font-size:.82rem;padding-inline:8px}
  .ucc-home-coming .ucc-diary-event{grid-template-columns:58px 1fr}
  .ucc-home-coming .ucc-diary-datebox{width:58px}
  .visit-details{grid-template-columns:1fr 1fr}
}


/* V23.1 — expandable homepage diary descriptions */
.ucc-home-coming .ucc-diary-expandable {
  margin-top: .65rem;
}
.ucc-home-coming .ucc-diary-expandable p {
  margin: 0;
}
.ucc-home-coming .ucc-diary-read-more {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  margin-top: .55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #812f33;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
.ucc-home-coming .ucc-diary-read-more:hover,
.ucc-home-coming .ucc-diary-read-more:focus-visible {
  color: #30231d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ucc-home-coming .ucc-diary-read-more:focus-visible {
  outline: 2px solid #d9b66f;
  outline-offset: 4px;
  border-radius: 2px;
}
.ucc-home-coming .ucc-diary-read-more-icon {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
}
.ucc-home-coming .ucc-diary-expandable[data-expanded="true"] .ucc-diary-description-full {
  animation: uccDiaryReveal .18s ease-out;
}
@keyframes uccDiaryReveal {
  from { opacity: 0; transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ucc-home-coming .ucc-diary-expandable[data-expanded="true"] .ucc-diary-description-full {
    animation: none;
  }
}
@media (max-width: 520px) {
  .ucc-home-coming .ucc-diary-read-more {
    font-size: .88rem;
    margin-top: .48rem;
  }
}

/* V24 — Church Officers on the About page */
.ucc-officers{
  margin-top:52px;
  padding-top:48px;
  border-top:1px solid #dfcfb8;
}
.ucc-officers-heading{max-width:720px;margin-bottom:30px}
.ucc-officers-heading h2{margin:.15em 0 .35em;font-size:clamp(2rem,4vw,3rem);color:#30231d}
.ucc-officers-heading>p:last-child{margin-bottom:0;color:#5d5148;line-height:1.7}
.ucc-officer-group+.ucc-officer-group{margin-top:38px}
.ucc-officer-group-title{margin:0 0 18px;font-size:1.35rem;color:#812f33}
.ucc-officer-grid{display:grid;gap:22px}
.ucc-officer-grid--pastor{grid-template-columns:minmax(0,1fr)}
.ucc-officer-grid--deacons{grid-template-columns:repeat(2,minmax(0,1fr))}
.ucc-officer-card{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:24px;
  align-items:start;
  padding:22px;
  border:1px solid #dfcfb8;
  border-radius:14px;
  background:#fff9f0;
  box-shadow:0 10px 28px rgba(48,35,29,.06);
}
.ucc-officer-grid--deacons .ucc-officer-card{grid-template-columns:120px minmax(0,1fr)}
.ucc-officer-photo{margin:0;overflow:hidden;border-radius:10px;background:#f5ebdd;aspect-ratio:4/5}
.ucc-officer-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ucc-officer-photo--placeholder{display:grid;place-items:center;color:#812f33;font-family:Georgia,"Times New Roman",serif;font-size:2rem;border:1px solid #dfcfb8}
.ucc-officer-role{margin:0 0 5px;color:#812f33;font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.ucc-officer-copy h3{margin:0 0 10px;font-size:1.45rem;color:#30231d}
.ucc-officer-bio{color:#4f443c;line-height:1.65}
.ucc-officer-bio p:last-child{margin-bottom:0}

/* V24 — WEB British Edition readings on sermon pages */
.ucc-sermon-readings{
  margin:38px 0 8px;
  padding-top:34px;
  border-top:1px solid #dfcfb8;
}
.ucc-sermon-readings-heading{margin-bottom:18px}
.ucc-sermon-readings-heading h2{margin:.15em 0 0;color:#30231d;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.8rem,3vw,2.35rem)}
.ucc-sermon-reading{margin:0 0 12px;border:1px solid #dfcfb8;border-radius:10px;overflow:hidden;background:#fff9f0}
.ucc-sermon-reading-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  border:0;
  background:transparent;
  color:#30231d;
  text-align:left;
  cursor:pointer;
}
.ucc-sermon-reading-toggle:hover{background:#f8efe3}
.ucc-sermon-reading-toggle:focus-visible{outline:3px solid #d9b66f;outline-offset:-3px}
.ucc-sermon-reading-toggle strong{display:block;margin-top:2px;font-family:Georgia,"Times New Roman",serif;font-size:1.22rem}
.ucc-sermon-reading-label{display:block;color:#812f33;font-size:.68rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.ucc-sermon-reading-icon{flex:0 0 auto;color:#812f33;font-size:1.25rem;font-weight:700}
.ucc-sermon-reading-text{padding:4px 20px 18px;border-top:1px solid #eadfce;color:#3f352e;line-height:1.72}
.ucc-sermon-reading-text p{margin:.85em 0}
.ucc-sermon-reading-text sup{color:#812f33;font-size:.68em;font-weight:700;vertical-align:super}
.ucc-sermon-reading--unavailable{padding:18px}
.ucc-sermon-reading--unavailable h3{margin:0 0 6px;color:#30231d;font-size:1.2rem}
.ucc-sermon-reading--unavailable p{margin:0;color:#685b51}
.ucc-sermon-reading-credit{margin:14px 2px 0;color:#706158;font-size:.78rem}
.ucc-sermon-reading-credit a{color:#812f33;text-underline-offset:3px}

@media(max-width:780px){
  .ucc-officer-grid--deacons{grid-template-columns:1fr}
}
@media(max-width:560px){
  .ucc-officers{margin-top:38px;padding-top:34px}
  .ucc-officer-card,.ucc-officer-grid--deacons .ucc-officer-card{grid-template-columns:86px minmax(0,1fr);gap:16px;padding:16px}
  .ucc-officer-copy h3{font-size:1.25rem}
  .ucc-officer-bio{font-size:.93rem;line-height:1.55}
  .ucc-sermon-readings{margin-top:30px;padding-top:28px}
  .ucc-sermon-reading-toggle{padding:14px 15px}
  .ucc-sermon-reading-toggle strong{font-size:1.08rem}
  .ucc-sermon-reading-text{padding:3px 15px 15px;font-size:.94rem}
}


/* V24 wordmark refinement */
@media(max-width:640px){
  .site-wordmark{gap:3px}
  .site-wordmark__detail{font-size:.40em;letter-spacing:.10em}
}

/* V24.1 — About Union Croft */
.ucc-about-content{display:grid;gap:20px}
.ucc-about-section{padding:25px 27px;border:1px solid #dfcfb8;border-radius:12px;background:#fff9f0;box-shadow:0 8px 24px rgba(48,35,29,.045)}
.ucc-about-section h2{margin:0 0 12px;color:#30231d;font-size:clamp(1.65rem,3vw,2.15rem)}
.ucc-about-section p{color:#4f443c;line-height:1.72}
.ucc-about-section p:last-child{margin-bottom:0}
.ucc-about-visit{margin-top:44px;padding:30px 31px;border-radius:14px;background:#f5ebdd;border:1px solid #dfcfb8}
.ucc-about-visit h2{margin:.12em 0 .35em;color:#30231d;font-size:clamp(1.85rem,3.5vw,2.45rem)}
.ucc-about-visit>p{max-width:680px;color:#4f443c;line-height:1.7}
.ucc-about-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px}
.ucc-about-actions .ucc-text-link{font-weight:700;color:#812f33;text-decoration:none}
.ucc-about-actions .ucc-text-link:hover,.ucc-about-actions .ucc-text-link:focus{text-decoration:underline}
@media (max-width:680px){
  .ucc-about-section{padding:19px 18px}
  .ucc-about-content{gap:14px}
  .ucc-about-visit{margin-top:32px;padding:22px 19px}
  .ucc-about-actions{align-items:flex-start;flex-direction:column;gap:13px}
}

/* V25 — Hymns */
.ucc-hymns-page .ucc-inner-hero,.ucc-hymn-single .ucc-inner-hero{background:linear-gradient(135deg,#30231d,#4b3328);color:#fff9f0}
.ucc-hymns-page .ucc-inner-hero h1,.ucc-hymn-single .ucc-inner-hero h1{color:#fff9f0}
.ucc-hymns-page .ucc-inner-hero .kicker,.ucc-hymn-single .ucc-inner-hero .kicker{color:#f0d298}
.ucc-hymn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.ucc-hymn-card{background:#fff9f0;border:1px solid #dfcfb8;border-radius:14px;overflow:hidden;box-shadow:0 10px 28px rgba(48,35,29,.07)}
.ucc-hymn-card-copy{padding:24px}.ucc-hymn-card h2{margin:.2rem 0 .65rem;font-family:Georgia,"Times New Roman",serif}.ucc-hymn-card h2 a{color:#30231d;text-decoration:none}.ucc-hymn-card h2 a:hover{color:#812f33}
.ucc-hymn-video{position:relative;aspect-ratio:16/9;background:#30231d;overflow:hidden}.ucc-hymn-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ucc-hymn-meta{display:flex;flex-wrap:wrap;gap:7px 16px;margin:14px 0 16px;color:#6b5b50;font-size:.93rem}.ucc-hymn-meta span{display:inline-block}.ucc-hymn-meta strong{color:#812f33}
.ucc-hymn-single-wrap{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,.75fr);gap:38px;align-items:start}.ucc-hymn-single .ucc-hymn-video{border-radius:14px;margin-bottom:22px}.ucc-hymn-description{margin-top:26px}.ucc-empty-card{padding:36px;background:#fff9f0;border:1px solid #dfcfb8;border-radius:14px;text-align:center}
@media(max-width:760px){.ucc-hymn-grid,.ucc-hymn-single-wrap{grid-template-columns:1fr}.ucc-hymn-grid{gap:18px}.ucc-hymn-card-copy{padding:19px}.ucc-hymn-meta{display:grid;gap:5px}.ucc-hymn-single-wrap{gap:22px}}


/* V25.1 — unified News / Sermon / Hymn media cards */
.ucc-content-kind--hymn{
  background:#f2e5c9;
  color:#6f4b15;
  border-color:#d9b66f;
}
.ucc-media-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.ucc-media-card .text-link{margin-top:auto;padding-top:8px}
.ucc-media-card--sermon,
.ucc-media-card--hymn{
  border-top:3px solid #d9b66f;
}
.ucc-media-card--sermon h3 a,
.ucc-media-card--hymn h3 a{color:#30231d}
.ucc-media-card--sermon h3 a:hover,
.ucc-media-card--hymn h3 a:hover{color:#812f33}
.ucc-media-collection-card .ucc-latest-meta{margin-bottom:10px}
.ucc-media-collection-card .post-date{font-size:.78rem;color:#77685e}
.ucc-media-collection-card--hymn{border-top:3px solid #d9b66f}


/* V25.2 — Bible reading links on sermon media cards */
.ucc-media-card-actions{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
.ucc-media-card-actions .text-link{margin-top:0;padding-top:0}
.ucc-card-bible-reading{margin-top:2px;padding:10px 12px;border-left:3px solid #d9b66f;background:#fff9f0;border-radius:0 8px 8px 0;color:#30231d}
.ucc-card-bible-reading-label{display:block;margin-bottom:2px;color:#812f33;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ucc-card-bible-reading strong{font-family:Georgia,"Times New Roman",serif;font-size:.94rem;font-weight:600}
.ucc-bible-card-link{font-size:.9rem}
@media (max-width:640px){.ucc-media-card-actions{gap:7px 14px}.ucc-card-bible-reading{padding:8px 10px}}

/* V25.3 — reliable YouTube hymns, clearer archive and hymn Bible passages */
.ucc-hymn-video{background:#1f1713;border:1px solid rgba(217,182,111,.2)}
.ucc-hymn-video iframe{display:block;background:#000}
.ucc-hymn-youtube-fallback{margin:-10px 0 18px;text-align:right;font-size:.9rem}
.ucc-hymn-read-action{margin:18px 0 6px}
.ucc-hymn-read-action .btn-secondary{display:inline-flex;align-items:center}
.ucc-hymn-bible-reading{margin-top:34px;scroll-margin-top:100px}
.ucc-hymn-thumb{position:relative;display:block;aspect-ratio:16/9;background:#30231d;overflow:hidden;text-decoration:none}
.ucc-hymn-thumb-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease,opacity .25s ease}
.ucc-hymn-thumb:hover .ucc-hymn-thumb-image,.ucc-hymn-thumb:focus .ucc-hymn-thumb-image{transform:scale(1.025);opacity:.9}
.ucc-hymn-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(129,47,51,.94);color:#fff9f0;font-size:1.35rem;padding-left:4px;box-shadow:0 8px 24px rgba(48,35,29,.3)}
.ucc-hymn-thumb:focus-visible{outline:3px solid #d9b66f;outline-offset:3px}
.ucc-hymn-card .ucc-media-card-actions{margin-top:18px;padding-top:0}
.ucc-hymn-card .ucc-text-link{font-weight:700}
@media(max-width:640px){.ucc-hymn-play{width:50px;height:50px;font-size:1.15rem}.ucc-hymn-youtube-fallback{text-align:left}.ucc-hymn-bible-reading{margin-top:28px}}
.ucc-hymn-read-action .btn-secondary{background:#f5ebdd;color:#812f33;border:1px solid #d9b66f;box-shadow:none}
.ucc-hymn-read-action .btn-secondary:hover,.ucc-hymn-read-action .btn-secondary:focus{background:#fff9f0;color:#5f2024}


/* V25.4 — robust Bible-reading placement for Advanced Sermons single templates */
.ucc-sermon-reading-fallback[hidden]{display:none!important}
.ucc-sermon-reading-fallback--active{
  width:min(100% - 32px, 816px);
  margin:34px auto 0;
}
.ucc-sermon-reading-fallback--active .ucc-sermon-readings{margin-top:0}
@media (max-width:700px){
  .ucc-sermon-reading-fallback--active{width:min(100% - 28px, 816px);margin-top:26px}
}


/* V25.5 — keep Advanced Sermons Bible readings outside its dark details bar */
.ucc-sermon-reading-fallback--active{
  clear:both;
  display:block;
  width:min(100% - 32px, 816px);
  margin:36px auto 8px;
}
.ucc-sermon-reading-fallback--active .ucc-sermon-readings{
  margin:0;
  padding-top:32px;
  color:#30231d;
}
.ucc-sermon-reading-fallback--active .ucc-sermon-readings span,
.ucc-sermon-reading-fallback--active .ucc-sermon-readings strong{
  color:inherit;
}
.ucc-sermon-reading-fallback--active .ucc-sermon-reading-label,
.ucc-sermon-reading-fallback--active .ucc-sermon-reading-icon{
  color:#812f33;
}
@media(max-width:700px){
  .ucc-sermon-reading-fallback--active{width:min(100% - 28px,816px);margin-top:30px}
}


/* V25.6 — final Hymns/Latest card polish and scheduled-hymn administration */
.ucc-hymns-hero .ucc-inner-intro{
  color:#e5d8c7;
  opacity:1;
}
.ucc-media-card--sermon .ucc-media-card-actions,
.ucc-media-card--hymn .ucc-media-card-actions,
.ucc-hymn-card .ucc-media-card-actions{
  flex-direction:column;
  align-items:flex-start;
  flex-wrap:nowrap;
  gap:8px;
}
.ucc-media-card--sermon .ucc-media-card-actions .text-link,
.ucc-media-card--hymn .ucc-media-card-actions .text-link,
.ucc-hymn-card .ucc-media-card-actions .text-link{
  width:fit-content;
}
@media(max-width:640px){
  .ucc-hymns-hero .ucc-inner-intro{color:#eadfce}
}

/* V25.7 — force consistent stacked actions and cache-safe stylesheet delivery */
.ucc-media-card.ucc-media-card--hymn .ucc-media-card-actions,
.ucc-media-card.ucc-media-card--sermon .ucc-media-card-actions,
.ucc-hymn-card .ucc-media-card-actions{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
}
.ucc-media-card.ucc-media-card--hymn .ucc-media-card-actions > a,
.ucc-media-card.ucc-media-card--sermon .ucc-media-card-actions > a,
.ucc-hymn-card .ucc-media-card-actions > a{
  display:block !important;
  width:auto !important;
  margin:0 !important;
}

/* V25.9: Gallery links and Gallery Update cards. */
.ucc-content-kind--gallery{
  background:#f2e5c7;
  color:#6d4b1f;
  border-color:#d9b66f;
}
.ucc-media-card--gallery .ucc-media-card-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.ucc-visit-gallery-link{
  margin:15px 0 0;
}
.ucc-visit-gallery-link .text-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
}


/* V25.10: final mobile polish for the homepage Gallery link. */
@media(max-width:640px){
  .ucc-visit-gallery-link{
    margin:12px 0 0;
  }
  .ucc-visit-gallery-link .text-link{
    line-height:1.35;
    padding:3px 0;
  }
}


/* V25.11: Diary-linked Sunday cards */
.service-card .service-diary-link{display:inline-block;margin-top:8px;font-weight:700;color:#812f33;text-decoration:none}
.service-card .service-diary-link:hover,.service-card .service-diary-link:focus{text-decoration:underline}
@media (max-width:640px){.service-card .service-diary-link{margin-top:5px;font-size:.92rem}}


/* V25.13: lightweight homepage Live Stream card. */
.ucc-livestream-card{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);overflow:hidden;background:#fff9f0;border:1px solid #dfcfb8;border-radius:14px;box-shadow:0 10px 28px rgba(48,35,29,.08)}
.ucc-livestream-visual{position:relative;display:block;min-height:260px;background:#30231d;overflow:hidden}
.ucc-livestream-visual img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}
.ucc-livestream-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(48,35,29,.2),rgba(48,35,29,.04))}
.ucc-livestream-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#812f33;color:#fff9f0;font-size:25px;line-height:1;padding-left:4px;box-shadow:0 6px 20px rgba(0,0,0,.22)}
.ucc-livestream-visual--plain .ucc-livestream-play{position:absolute}
.ucc-livestream-copy{padding:38px 42px;align-self:center}
.ucc-livestream-copy h2{margin-top:4px}
.ucc-livestream-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:22px}
@media(max-width:760px){.ucc-livestream-card{grid-template-columns:1fr}.ucc-livestream-visual,.ucc-livestream-visual img{min-height:0;aspect-ratio:16/9}.ucc-livestream-copy{padding:25px 22px}.ucc-livestream-play{width:54px;height:54px;font-size:21px}.ucc-livestream-actions{align-items:flex-start;flex-direction:column;gap:12px;margin-top:18px}}


/* V25.19 — Union Croft emblem beside the header wordmark */
.site-wordmark{flex-direction:row;align-items:center;gap:11px}
.site-wordmark__emblem{display:block;width:52px;height:52px;flex:0 0 52px;object-fit:contain}
.site-wordmark__text{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
@media(max-width:640px){
  .site-wordmark{gap:8px}
  .site-wordmark__emblem{width:38px;height:38px;flex-basis:38px}
  .site-wordmark__text{gap:3px}
}

/* V25.20 — optional Google Drive sermon recordings */
.ucc-sermon-drive{margin:30px auto 0;padding:24px;border:1px solid #dfcfb8;border-radius:12px;background:#fff9f0;color:#2d251f}
.ucc-sermon-drive .kicker{margin:0 0 4px;color:#812f33;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}
.ucc-sermon-drive h2{margin:0 0 16px;color:#30231d;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.35rem,2.4vw,1.8rem)}
.ucc-sermon-drive-player{overflow:hidden;border-radius:10px;background:#30231d;box-shadow:0 8px 24px rgba(48,35,29,.12)}
.ucc-sermon-drive-player iframe{display:block;width:100%;height:190px;border:0;background:#30231d}
.ucc-sermon-drive-fallback{margin:14px 0 0}
.ucc-sermon-drive-fallback a{color:#812f33;font-weight:700;text-decoration-thickness:1px;text-underline-offset:3px}
.ucc-sermon-drive-fallback[hidden]{display:none!important}
.ucc-sermon-drive-fallback--active{width:min(100% - 28px,816px);margin:30px auto 0}
.ucc-sermon-drive-fallback--active .ucc-sermon-drive{margin-top:0}
@media (max-width:640px){.ucc-sermon-drive{padding:18px}.ucc-sermon-drive-player iframe{height:160px}.ucc-sermon-drive-fallback--active{width:min(100% - 24px,816px);margin-top:22px}}

/* V25.21 — Contact route and Fluent Forms integration */
html{scroll-behavior:smooth}
.ucc-hero-contact{margin:14px 0 0}
.ucc-hero-contact a{display:inline-flex;align-items:center;gap:6px;color:#f0d298;font-weight:750;text-decoration:none;border-bottom:1px solid rgba(240,210,152,.45);padding-bottom:2px}
.ucc-hero-contact a:hover,.ucc-hero-contact a:focus{color:#fff9f0;border-bottom-color:#fff9f0}
#contact{scroll-margin-top:90px}
.ucc-contact-invite{margin-top:28px;padding:22px 24px;border:1px solid #dfcfb8;border-radius:12px;background:#fff9f0;box-shadow:0 8px 24px rgba(48,35,29,.07)}
.ucc-contact-invite .kicker{margin-bottom:5px}.ucc-contact-invite h3{margin:0 0 9px;color:#30231d;font-family:Georgia,"Times New Roman",serif;font-size:1.45rem}.ucc-contact-invite p:not(.kicker){margin:0 0 16px}
.ucc-contact-button{background:#812f33;color:#fff}.ucc-contact-button:hover{background:#69262a;color:#fff}
.ucc-contact-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr);gap:44px;align-items:start}
.ucc-contact-form-card{padding:34px 36px;border:1px solid #dfcfb8;border-radius:14px;background:#fff9f0;box-shadow:0 10px 30px rgba(48,35,29,.07)}
.ucc-contact-form-card h2{margin-top:0}.ucc-contact-aside{position:sticky;top:110px}
.ucc-contact-page .ff-el-group{margin-bottom:20px}.ucc-contact-page .ff-el-input--label label{color:#30231d;font-weight:750}.ucc-contact-page .ff-el-form-control{width:100%;min-height:46px;border:1px solid #cdbda7!important;border-radius:8px!important;background:#fff!important;color:#2d251f!important;padding:10px 12px!important;box-shadow:none!important}.ucc-contact-page textarea.ff-el-form-control{min-height:150px}.ucc-contact-page .ff-el-form-control:focus{border-color:#812f33!important;box-shadow:0 0 0 3px rgba(129,47,51,.10)!important;outline:0}.ucc-contact-page .ff-btn-submit{min-height:48px!important;padding:12px 22px!important;border:0!important;border-radius:10px!important;background:#812f33!important;color:#fff!important;font-weight:800!important;box-shadow:0 10px 24px rgba(70,24,26,.18)!important}.ucc-contact-page .ff-btn-submit:hover,.ucc-contact-page .ff-btn-submit:focus{background:#69262a!important}.ucc-contact-page .ff-message-success{border:1px solid #d9b66f!important;border-radius:10px;background:#f5ebdd;color:#30231d;padding:16px}
@media(max-width:820px){.ucc-contact-layout{grid-template-columns:1fr;gap:26px}.ucc-contact-aside{position:static}.ucc-contact-form-card{padding:26px 24px}}
@media(max-width:640px){.ucc-hero-contact{margin-top:11px}.ucc-contact-invite{margin-top:22px;padding:19px}.ucc-contact-form-card{padding:21px 18px}.ucc-contact-page .ff-el-group{margin-bottom:16px}}


/* V25.22 — clarify visit and contact actions */
.ucc-directions-button{background:transparent;color:#812f33;border:1px solid #812f33;box-shadow:none}
.ucc-directions-button:hover,.ucc-directions-button:focus{background:#f5ebdd;color:#69262a;border-color:#69262a;box-shadow:none}

/* V25.23 — final sermon/navigation polish */
.ucc-hymn-frequency{display:inline-block;font-size:.86em;line-height:1.2;font-weight:700}

/* Advanced Sermons archive: every detected card must occupy its full grid track. */
body.ucc-sermon-archive-v13 .ucc-sermon-results-grid > .ucc-sermon-result-card{
  width:100% !important;max-width:none !important;min-width:0 !important;box-sizing:border-box !important;
}

/* Tighter single-sermon rhythm without changing the established visual treatment. */
body.ucc-sermon-v12 .ucc-sermon-content-title{margin-bottom:10px !important}
body.ucc-sermon-v12 .ucc-sermon-meta-detected{margin-top:0 !important;margin-bottom:14px !important}
body.ucc-sermon-v12 .ucc-sermon-info-detected{
  margin-top:14px !important;margin-bottom:18px !important;padding:15px 20px !important;min-height:0 !important;
}
body.ucc-sermon-v12 .ucc-sermon-info-detected:has(img[src=""]),
body.ucc-sermon-v12 .ucc-sermon-info-detected:has(img:not([src])){min-height:0 !important}
body.ucc-sermon-v12 main p{margin-top:.55em;margin-bottom:.8em}
body.ucc-sermon-v12 .ucc-sermon-player-section{margin-top:16px !important;padding-top:4px !important;padding-bottom:18px !important}
body.ucc-sermon-v12 .sermon-media,
body.ucc-sermon-v12 .sermon-audio,
body.ucc-sermon-v12 [class*="sermon-media"],
body.ucc-sermon-v12 [class*="sermon_media"]{margin-top:16px !important;margin-bottom:20px !important}

.ucc-sermon-reading-shortcut{display:inline-flex;align-items:center;margin-left:18px;color:#812f33 !important;font-weight:750;text-decoration:none !important;white-space:nowrap}
.ucc-sermon-reading-shortcut:hover,.ucc-sermon-reading-shortcut:focus{text-decoration:underline !important}
#ucc-sermon-readings-heading{scroll-margin-top:110px}

/* Drive's audio UI only needs a compact preview window. */
.ucc-sermon-drive{margin-top:18px;padding:20px 24px}
.ucc-sermon-drive h2{margin-bottom:11px}
.ucc-sermon-drive-player iframe{height:150px}
.ucc-sermon-drive-fallback{margin-top:10px}
.ucc-sermon-drive-fallback--active{margin-top:18px}

@media(max-width:640px){
  .ucc-hymn-frequency{font-size:.84em}
  .ucc-sermon-reading-shortcut{display:flex;margin:7px 0 0}
  body.ucc-sermon-v12 .ucc-sermon-info-detected{padding:13px 16px !important;margin-top:12px !important;margin-bottom:16px !important}
  .ucc-sermon-drive{padding:16px 18px}
  .ucc-sermon-drive-player iframe{height:135px}
  .ucc-sermon-drive-fallback--active{margin-top:16px}
}


/* V25.23.1 — corrective sermon layout release */
/* Advanced Sermons can wrap individual results inconsistently.  The compatibility
   script marks the actual direct grid items; force those wrappers and their cards
   to fill the allocated track rather than shrink to intrinsic content width. */
body.ucc-sermon-archive-v13 .ucc-sermon-results-grid > .ucc-sermon-grid-item-v25231{
  width:100% !important;max-width:none !important;min-width:0 !important;
  box-sizing:border-box !important;align-self:stretch !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-grid-item-v25231 > .ucc-sermon-result-card,
body.ucc-sermon-archive-v13 .ucc-sermon-grid-item-v25231 .ucc-sermon-result-card{
  width:100% !important;max-width:none !important;min-width:0 !important;
  box-sizing:border-box !important;height:100% !important;
}

/* Tighter, connected rhythm on the Advanced Sermons single view. */
body.ucc-sermon-v12 .ucc-sermon-hero-detected{padding-top:38px !important;padding-bottom:34px !important}
body.ucc-sermon-v12 .ucc-sermon-info-detected{margin-top:10px !important;margin-bottom:12px !important;padding-top:12px !important;padding-bottom:12px !important}
body.ucc-sermon-v12 .sermon-details{margin-top:10px !important;margin-bottom:12px !important}
body.ucc-sermon-v12 .ucc-sermon-drive-fallback--active{margin-top:12px !important}
body.ucc-sermon-v12 .ucc-sermon-reading-fallback--active{margin-top:14px !important;margin-bottom:8px !important}
body.ucc-sermon-v12 .ucc-sermon-reading-fallback--active .ucc-sermon-readings{padding-top:20px !important}
body.ucc-sermon-v12 .ucc-sermon-drive{margin-top:0 !important}

/* Shortcut is intentionally metadata-like rather than another button. */
body.ucc-sermon-v12 .ucc-sermon-reading-shortcut{font-size:.95em}

@media(max-width:700px){
  body.ucc-sermon-v12 .ucc-sermon-hero-detected{padding-top:28px !important;padding-bottom:26px !important}
  body.ucc-sermon-v12 .ucc-sermon-reading-fallback--active{margin-top:12px !important}
  body.ucc-sermon-v12 .ucc-sermon-reading-fallback--active .ucc-sermon-readings{padding-top:18px !important}
}


/* V25.23.2 — Advanced Sermons archive card-width correction */
@media (min-width: 901px){
  body.ucc-sermon-archive-v13 .ucc-sermon-results-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    align-items:stretch !important;
  }
}
body.ucc-sermon-archive-v13 .ucc-sermon-results-grid > .ucc-sermon-grid-item-v25232{
  width:100% !important;max-width:none !important;min-width:0 !important;
  box-sizing:border-box !important;align-self:stretch !important;justify-self:stretch !important;
}
body.ucc-sermon-archive-v13 .ucc-sermon-grid-item-v25232 .ucc-sermon-result-card,
body.ucc-sermon-archive-v13 .ucc-sermon-results-grid > .ucc-sermon-result-card{
  width:100% !important;max-width:none !important;min-width:0 !important;height:100% !important;
  box-sizing:border-box !important;
}
@media (min-width: 641px) and (max-width:900px){
  body.ucc-sermon-archive-v13 .ucc-sermon-results-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:640px){
  body.ucc-sermon-archive-v13 .ucc-sermon-results-grid{grid-template-columns:minmax(0,1fr) !important}
}


/* V25.23.3 — final single-sermon polish */
/* Advanced Sermons prints the sermon title twice. Keep the useful content title
   below “All Sermons” and remove only the redundant decorative hero copy. */
body.ucc-sermon-v12 .ucc-sermon-hero-redundant-v25233{display:none !important}
body.ucc-sermon-v12 .ucc-empty-sermon-avatar-v25233{display:none !important}
body.ucc-sermon-v12 .ucc-sermon-info-detected{min-height:0 !important;padding:11px 18px !important;margin-top:8px !important;margin-bottom:8px !important}
body.ucc-sermon-v12 .ucc-sermon-info-detected .ucc-sermon-preacher-link{margin-left:0 !important}
body.ucc-sermon-v12 .ucc-sermon-content-title{margin-top:0 !important;margin-bottom:8px !important}
body.ucc-sermon-v12 .ucc-sermon-meta-detected{margin-bottom:10px !important}
body.ucc-sermon-v12 .ucc-sermon-info-detected + p{margin-top:8px !important}
body.ucc-sermon-v12 #ucc-sermon-readings-heading{scroll-margin-top:90px}
@media(max-width:640px){
  body.ucc-sermon-v12 .ucc-sermon-info-detected{padding:10px 14px !important;margin-top:7px !important;margin-bottom:7px !important}
}


/* V25.23.4 — stubborn single-sermon corrections */
/* JS also applies an inline !important hide so Advanced Sermons cannot restore
   the duplicate decorative hero through plugin specificity. */
body.ucc-sermon-v12 .ucc-sermon-hero-redundant-v25234{display:none !important}
body.ucc-sermon-has-reading .ucc-sermon-reading-shortcut{display:inline-flex !important}


/* V25.23.5 — server-rendered Bible Reading shortcut */
#ucc-sermon-reading-shortcut-source[hidden]{display:none !important}
body.ucc-sermon-v12 .ucc-sermon-reading-shortcut{
  display:inline-flex !important;
  align-items:center;
  margin-left:18px;
  padding-left:18px;
  border-left:1px solid rgba(129,47,51,.22);
  color:#812F33 !important;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
body.ucc-sermon-v12 .ucc-sermon-reading-shortcut:hover{text-decoration:underline}
@media(max-width:640px){
  body.ucc-sermon-v12 .ucc-sermon-reading-shortcut{margin-left:12px;padding-left:12px}
}


/* V25.23.6 — weekly meetings, Annual Services and true Plan Your Visit anchor */
.ucc-annual-services{margin-top:28px;padding:24px 26px;background:#fff9f0;border:1px solid #dfcfb8;border-left:4px solid #812f33;border-radius:12px;box-shadow:0 8px 24px rgba(48,35,29,.06)}
.ucc-annual-services-heading{text-align:center;margin-bottom:18px}
.ucc-annual-services-heading .kicker{margin-bottom:5px}
.ucc-annual-services-heading h3{font-family:Georgia,"Times New Roman",serif;color:#30231d;font-size:1.55rem;margin:0}
.ucc-annual-services-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ucc-annual-service-item{min-width:0;padding:17px 18px;background:rgba(255,255,255,.66);border:1px solid #dfcfb8;border-radius:10px}
.ucc-annual-service-item h4{font-family:Georgia,"Times New Roman",serif;font-size:1.25rem;line-height:1.25;margin:3px 0 8px;color:#30231d}
.ucc-annual-service-item p{margin:0 0 9px}
.ucc-annual-service-date{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#812f33}
.ucc-annual-service-item .text-link{font-size:.92rem}
#visit{scroll-margin-top:88px}
#contact{scroll-margin-top:100px}
@media(max-width:920px){.ucc-annual-services-list{grid-template-columns:1fr 1fr}.ucc-annual-services-list .ucc-annual-service-item:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:640px){.ucc-annual-services{margin-top:20px;padding:19px 17px}.ucc-annual-services-heading{text-align:left;margin-bottom:13px}.ucc-annual-services-heading h3{font-size:1.3rem}.ucc-annual-services-list{grid-template-columns:1fr;gap:10px}.ucc-annual-services-list .ucc-annual-service-item:last-child:nth-child(odd){grid-column:auto}.ucc-annual-service-item{padding:15px 16px}.ucc-annual-service-item h4{font-size:1.16rem}}


/* V25.25.2 — refined homepage welcome Scripture card (Option F) */
.scripture-card.scripture-card--quote{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:20px;padding:30px 34px;min-height:0}
.scripture-card--quote .scripture-quote-mark{color:#d6b36e;font-family:Georgia,"Times New Roman",serif;font-size:4.5rem;line-height:.72;font-weight:700;margin-top:8px}
.scripture-card--quote .scripture-card-copy{min-width:0}
.scripture-card--quote blockquote{font-size:1.42rem;line-height:1.42;margin:0 0 12px}
.scripture-card--quote cite{display:block;font-size:.98rem;color:#ecd6ad}
@media(max-width:640px){.scripture-card.scripture-card--quote{column-gap:15px;padding:23px 22px}.scripture-card--quote .scripture-quote-mark{font-size:3.65rem}.scripture-card--quote blockquote{font-size:1.18rem;margin-bottom:9px}}

/* V25.25.3 — compact annual-service announcement bar; redundant homepage Coming Up section retired */
.ucc-annual-services.ucc-annual-services--bar{margin-top:24px;padding:14px 18px;background:#fff9f0;border:1px solid #dfcfb8;border-left:4px solid #812f33;border-radius:11px;box-shadow:0 6px 18px rgba(48,35,29,.05)}
.ucc-annual-services--bar .ucc-annual-bar-label{margin:0 0 8px;color:#812f33;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.ucc-annual-services--bar .ucc-annual-services-list{display:grid;grid-template-columns:1fr;gap:0}
.ucc-annual-services--bar .ucc-annual-service-item{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:8px 0;background:transparent;border:0;border-radius:0}
.ucc-annual-services--bar .ucc-annual-service-item+ .ucc-annual-service-item{border-top:1px solid #eadfce;padding-top:13px;margin-top:5px}
.ucc-annual-services--bar .ucc-annual-service-main{display:flex;align-items:baseline;gap:16px;min-width:0}
.ucc-annual-services--bar .ucc-annual-service-item h3{margin:0;font-family:Georgia,"Times New Roman",serif;color:#30231d;font-size:1.22rem;line-height:1.25}
.ucc-annual-services--bar .ucc-annual-service-date{margin:0;font-size:.78rem;white-space:nowrap}
.ucc-annual-services--bar .text-link{flex:0 0 auto;white-space:nowrap;font-size:.9rem}
@media(max-width:760px){.ucc-annual-services.ucc-annual-services--bar{margin-top:19px;padding:13px 15px}.ucc-annual-services--bar .ucc-annual-service-item,.ucc-annual-services--bar .ucc-annual-service-main{align-items:flex-start;flex-direction:column;gap:5px}.ucc-annual-services--bar .ucc-annual-service-item{gap:8px}.ucc-annual-services--bar .ucc-annual-service-date{white-space:normal}.ucc-annual-services--bar .ucc-annual-service-item h3{font-size:1.14rem}}

/* V25.25.7 — compact regular-meeting cards and Diary jump links */
.ucc-diary-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
}
.ucc-diary-section-heading > div{min-width:0}
.ucc-diary-jump-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  flex-wrap:wrap;
  padding-bottom:5px;
}
.ucc-diary-jump-links a{
  color:#812f33;
  font-weight:700;
  font-size:.94rem;
  text-decoration:none;
  border-bottom:1px solid rgba(217,182,111,.9);
  padding-bottom:3px;
  white-space:nowrap;
}
.ucc-diary-jump-links a:hover,
.ucc-diary-jump-links a:focus-visible{color:#5f2024;border-bottom-color:#812f33}
.ucc-diary-grid--regular{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start}
.ucc-diary-card--compact{padding:22px 22px 20px;min-width:0}
.ucc-diary-card--compact h3{font-size:1.22rem;line-height:1.18;margin:.28rem 0 .45rem}
.ucc-diary-card--compact .ucc-diary-time{font-size:1.38rem;margin:.08rem 0 .35rem}
.ucc-diary-card--compact .ucc-diary-location{font-size:.93rem;margin:.2rem 0 0}
.ucc-diary-details{margin-top:14px;padding-top:11px;border-top:1px solid #eadfce}
.ucc-diary-details summary{display:inline-block;cursor:pointer;list-style:none;color:#812f33;font-weight:700;font-size:.9rem}
.ucc-diary-details summary::-webkit-details-marker{display:none}
.ucc-diary-details summary:hover,.ucc-diary-details summary:focus-visible{text-decoration:underline}
.ucc-diary-details .ucc-details-less{display:none}
.ucc-diary-details[open] .ucc-details-more{display:none}
.ucc-diary-details[open] .ucc-details-less{display:inline}
.ucc-diary-details .ucc-diary-summary{margin-top:11px;font-size:.93rem;line-height:1.55;color:#3f342e}
.ucc-diary-details .ucc-diary-summary p{margin:.55rem 0}
#monthly-calendar,#upcoming-special-services{scroll-margin-top:96px}
@media(max-width:1100px){.ucc-diary-grid--regular{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .ucc-diary-section-heading{align-items:flex-start;flex-direction:column;gap:13px}
  .ucc-diary-jump-links{justify-content:flex-start;gap:10px 18px;padding-bottom:0}
  .ucc-diary-jump-links a{white-space:normal}
  .ucc-diary-grid--regular{grid-template-columns:1fr;gap:12px}
  .ucc-diary-card--compact{padding:18px 19px}
}
