:root {
  /* Concord's established palette, modernized from the legacy site */
  --navy: #1D3F64;
  --navy-deep: #0F2638;
  --teal: #327DB8;
  --aqua: #E5EFF8;
  --cream: #F4F2EC;
  --paper: #ffffff;
  --ink: #2F3740;
  --muted: #69615A;
  --line: #D7D5C9;
  --accent: #97650D;
  --shadow: 0 18px 50px rgba(15, 38, 56, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.utility-bar { background: var(--navy-deep); color: #fff; font-size: .88rem; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; gap: 22px; }
.utility-links a { color: #fff; text-decoration: none; }
.utility-links a:hover { text-decoration: underline; }
.site-header { background: rgba(255,255,255,.98); position: relative; z-index: 50; box-shadow: 0 1px 0 rgba(29,63,100,.10); }
.brand-row { min-height: 112px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: min(471px, 72vw); height: auto; }
.primary-nav { background: var(--navy); color: #fff; }
.nav-inner { min-height: 54px; display: flex; align-items: stretch; justify-content: center; }
.nav-inner > a, .nav-inner > details > summary { min-height: 54px; padding: 0 18px; display: flex; align-items: center; color: #fff; text-decoration: none; font-weight: 700; font-size: .94rem; cursor: pointer; list-style: none; }
/* Dropdown chevrons */
.nav-inner > details > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  flex: 0 0 auto;
  border-right: 2px solid rgba(255,255,255,.88);
  border-bottom: 2px solid rgba(255,255,255,.88);
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-inner > details[open] > summary::after {
  transform: rotate(225deg) translate(-2px,-2px);
}
.nav-inner > a:hover,
.nav-inner > a.active,
.nav-inner > details:hover > summary,
.nav-inner > details.active-parent > summary {
  background: rgba(255,255,255,.10);
}
.nav-inner details { position: relative; }
.nav-inner summary::-webkit-details-marker { display: none; }
.dropdown { position: absolute; left: 0; top: 54px; min-width: 220px; background: #fff; color: var(--ink); box-shadow: var(--shadow); border-radius: 0 0 8px 8px; padding: 8px; }
.dropdown a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 5px; }
.dropdown a:hover { background: var(--aqua); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 0; border-radius: 6px; background: var(--navy); padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; }
.hero { min-height: 600px; position: relative; overflow: hidden; display: flex; align-items: center; color: #fff; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,38,56,.84) 0%, rgba(29,63,100,.58) 48%, rgba(29,63,100,.14) 78%); }
.hero-content { position: relative; padding-block: 80px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: #DCE8F5; }
.eyebrow.dark { color: var(--teal); }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.65rem, 6vw, 5.25rem); line-height: .98; font-weight: 500; letter-spacing: -.035em; }
.hero-copy { max-width: 620px; margin: 24px 0 0; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--accent); color: #ffffff; }
.button-primary:hover { filter: brightness(1.06); }
.button-ghost { border: 1px solid rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); }
.button-ghost:hover { background: #fff; color: var(--navy); }
.button-light { background: #fff; color: var(--navy); }
.quick-actions { position: relative; z-index: 5; margin-top: -38px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: var(--shadow); border-radius: 10px; overflow: hidden; }
.quick-grid a { min-height: 110px; padding: 24px; background: #fff; text-decoration: none; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--aqua); }
.quick-grid strong { color: var(--navy); font-size: 1.08rem; }
.quick-grid span { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.section { padding: 92px 0; }
.welcome-section { background: var(--cream); }
.welcome-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.welcome-grid h2, .visit-grid h2, .prayer-content h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; color: var(--navy); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.welcome-copy { font-size: 1.08rem; color: #42545a; }
.welcome-copy p:first-child { margin-top: 0; color: var(--ink); }
.cards-section { background: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 28px rgba(29,63,100,.08); }
.card-image { display: block; aspect-ratio: 4/3; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.feature-card:hover .card-image img { transform: scale(1.035); }
.card-body { padding: 28px; }
.card-kicker { color: var(--teal); text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; font-weight: 800; margin: 0 0 7px; }
.card-body h2 { color: var(--navy); margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; font-weight: 500; }
.card-body p:not(.card-kicker) { color: var(--muted); }
.text-link { color: var(--teal); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.prayer-banner { min-height: 470px; position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; }
.prayer-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prayer-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,38,56,.90), rgba(29,63,100,.64), rgba(29,63,100,.26)); }
.prayer-content { position: relative; max-width: 700px; padding-block: 70px; }
.prayer-content h2 { color: #fff; }
.prayer-content p:not(.eyebrow) { font-size: 1.08rem; max-width: 600px; }
.visit-section { background: var(--aqua); }
.visit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.visit-grid p { color: #44575d; font-size: 1.04rem; }
.visit-card { background: #fff; border-radius: 12px; padding: 34px; box-shadow: var(--shadow); }
.visit-card span { display: block; color: var(--teal); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 800; }
.visit-card strong { display: block; margin-top: 5px; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 2.65rem; font-weight: 500; }
.site-footer { background: var(--navy-deep); color: #d9e5e8; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 55px; }
.footer-logo {
  width: 36px;
  height: auto;
  margin-bottom: 18px;
  opacity: 1;
  filter: none;
}
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; font-weight: 500; }
.site-footer h3 { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-bottom a { color: #d9e5e8; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; color: #b6c8cd; }
@media (max-width: 900px) {
  .utility-inner { justify-content: center; }
  .utility-links { display: none; }
  .brand-row { min-height: 88px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; }
  .primary-nav.open { display: block; }
  .nav-inner { width: 100%; display: block; padding: 10px 0 14px; }
  .nav-inner > a, .nav-inner > details > summary { min-height: 44px; padding: 0 20px; }
  .nav-inner details { width: 100%; }
  .dropdown { position: static; width: 100%; box-shadow: none; border-radius: 0; margin: 0; background: rgba(255,255,255,.08); color: #fff; padding: 4px 18px 9px 34px; }
  .dropdown a { color: #fff; }
  .dropdown a:hover { background: rgba(255,255,255,.1); }
  .hero { min-height: 540px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a:nth-child(2) { border-right: 0; }
  .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .welcome-grid, .visit-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid { grid-template-columns: 1fr; max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 580px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .brand img { width: min(360px, 74vw); }
  .hero { min-height: 510px; }
  .hero-overlay { background: rgba(15,38,56,.72); }
  .hero-content { padding-block: 62px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 290px; }
  .quick-actions { margin-top: 0; }
  .quick-grid { width: 100%; grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
  .quick-grid a { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-grid a:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .prayer-banner { min-height: 430px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}


/* -------------------------------------------------------------
   Interior pages
------------------------------------------------------------- */

/* -------------------------------------------------------------
   Interior Page Hero
   Cross & Flame watermark uses ../IMAGES/umlogo_whitecross.png
------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 72px 0 68px;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 58%, #285D8A 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(28px, 7vw, 120px);
  width: clamp(150px, 18vw, 255px);
  height: clamp(230px, 28vw, 390px);
  transform: translateY(-50%);
  background: url("../IMAGES/umlogo_whitecross.png") center / contain no-repeat;
  opacity: .56;
  pointer-events: none;
  user-select: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 560px;
  height: 500px;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 211, 137, .30) 0%,
    rgba(238, 184, 103, .22) 18%,
    rgba(207, 151, 76, .13) 34%,
    rgba(71, 112, 151, .07) 50%,
    rgba(29, 63, 100, 0) 72%
  );
  pointer-events: none;
}

.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #DCE8F5; }

.page-hero h1 {
  position: relative;
  margin: 0;
  max-width: 850px;
  padding-bottom: 22px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.03em;
}

.page-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 112px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.page-hero p.page-intro {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 1.08rem;
  color: #E5EEF7;
}

.content-section { padding:70px 0 90px; }
.content-narrow { max-width:880px; }
.prose { font-size:1.04rem; color:#3f4b55; }
.prose h2,.prose h3,.prose h4 { color:var(--navy); font-family:Georgia,'Times New Roman',serif; line-height:1.15; }
.prose h2 { font-size:2rem; margin-top:2em; }
.prose h3 { font-size:1.5rem; }
.prose a { color:var(--teal); font-weight:700; }
.prose img { border-radius:10px; height:auto; }
.prose hr { border:0; border-top:1px solid var(--line); margin:36px 0; }
.prose ul,.prose ol { padding-left:1.35rem; }
.prose li { margin-bottom:.45rem; }
.page-tools { display:flex; justify-content:flex-end; margin-bottom:24px; }
.print-link { display:inline-flex; gap:8px; align-items:center; color:var(--teal); font-weight:800; text-decoration:none; font-size:.9rem; }
.print-link:hover { text-decoration:underline; }
.content-card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:clamp(24px,4vw,42px); box-shadow:0 10px 30px rgba(29,63,100,.07); }
.soft-section { background:var(--cream); }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.three-col { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.info-card { border:1px solid var(--line); border-radius:10px; padding:26px; background:#fff; }
.info-card h2,.info-card h3 { margin-top:0; color:var(--navy); font-family:Georgia,'Times New Roman',serif; font-weight:500; }
.photo-stack { display:grid; gap:16px; }
.photo-stack img { width:100%; border-radius:10px; box-shadow:0 10px 25px rgba(29,63,100,.10); }
.frame-shell { background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; box-shadow:0 10px 30px rgba(29,63,100,.07); }
.frame-shell iframe { display:block; width:100%; border:0; }
.frame-library { height:900px; }
.frame-gallery { height:1000px; }
.frame-prayer { height:820px; }
.frame-contact { height:1050px; }
.frame-map { height:430px; }
.pastor-name { color:var(--teal); font-weight:800; font-size:1.12rem; margin-bottom:24px; }
.address-card strong { color:var(--navy); }

/* Contact page: keep the address card content aligned near the top */
.contact-address-card {
  align-self: start;
  display: block;
  padding-top: 32px;
}

.contact-address-card h2 {
  margin-top: 0;
}
.legal-copy { font-size:.93rem; line-height:1.75; }
.legal-copy li { margin-bottom:10px; }

@media (max-width: 760px) {
  .page-hero { padding: 56px 0 52px; }

  .page-hero::before {
    right: -12px;
    width: 140px;
    height: 245px;
    opacity: .38;
  }

  .page-hero::after {
    width: 320px;
    height: 300px;
    right: -82px;
  }

  .page-hero h1 {
    max-width: calc(100% - 55px);
    padding-bottom: 18px;
  }

  .page-hero h1::after {
    width: 82px;
    height: 2px;
  }

  .page-hero p.page-intro { max-width: calc(100% - 38px); }
  .content-section { padding:52px 0 68px; }
  .two-col,.three-col { grid-template-columns:1fr; }
  .frame-library { height:760px; }
  .frame-gallery { height:850px; }
  .frame-prayer { height:850px; }
  .frame-contact { height:1150px; }
}
