@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Raleway:wght@200;300;400;500;600;700&display=swap");

/* =========================================================
   Settings
   ========================================================= */

:root {
  --font-sans: "Raleway", Arial, "Helvetica Neue", Helvetica, sans-serif;

  --blue: #0057ff;
  --blue-dark: #003fb8;
  --orange: #ff7a00;
  --orange-dark: #cc5f00;
  --black: #111111;
  --ink: #252525;
  --muted: #666666;
  --line: #dddddd;
  --white: #ffffff;
  --light: #f5f6f8;
  --blue-light: #edf4ff;
  --orange-light: #fff2e6;

  --container: 1180px;
  --content: 860px;
  --header-height: 76px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--light);
}

body {
  margin: 0;
  color: var(--ink);
  font: 400 18px/1.72 var(--font-sans);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-visible,
body.menu-open {
  overflow: hidden;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--orange-dark);
  /* text-decoration: underline; */
}

img,
video,
iframe,
audio {
  max-width: 100%;
}

.bi {
  display: inline-block;
  color: currentColor;
  font-size: 1em;
  line-height: 1;
  vertical-align: -0.125em;
}

img {
  display: block;
  height: auto;
}

p {
  margin: 0 0 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

h4 {
  font-size: 1.05rem;
}

ul,
ol {
  padding-left: 1.2rem;
  margin-top: 0;

}

li {
  margin: 0.3rem 0;
}

table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th,
thead td {
  background: var(--blue-light);
  color: var(--black);
  font-weight: 600;
}

strong,
b {
  font-weight: 600;
}

figure {
  margin: 0;
}

figcaption,
.meta,
.meta-detail {
  /* color: var(--muted); */
  font-size: 0.92rem;
  line-height: 1.3rem;
  padding: 0.7rem 0;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

/* =========================================================
   Layout
   ========================================================= */

#wrapper {
  min-height: 100vh;
  overflow: hidden;
  background: var(--white);
}

.sermons-page #wrapper {
  overflow: visible;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.main {
  background: var(--white);
}

.entry {
  display: grid;
  gap: 0;
  /* padding-top: var(--space-xl); */
}

.entry > :first-child {
  margin-top: 0;
}

.entry > :last-child {
  margin-bottom: 0;
}

.entry > .content-section,
.entry > .intro-panel,
.entry > .form-layout,
.entry > .card-grid,
.entry > .service-intro,
.entry > .service-times-feature,
.entry > .archive-intro,
.entry > .archive-actions {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.full-bleed-bg {
  position: relative;
  z-index: 0;
  background: transparent;
}

.full-bleed-bg::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
}

.bg-blue-light::before {
  background: var(--blue-light);
}

.bg-orange-light::before {
  background: var(--orange-light);
}

.inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.copy-block {
  max-width: 720px;
}

.content-section {
  display: grid;
  gap: var(--space-md);
}

.content-section > p,
.content-section > ul,
.content-section > ol {
  max-width: var(--content);
}

/* =========================================================
   Header And Navigation
   ========================================================= */

#header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid transparent;
  color: var(--white);
  background: rgba(17, 17, 17, 0.8);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-page #header.alt:not(.reveal):not(.scrolled) {
  background: transparent;
}

#header.scrolled,
#header.reveal,
body:not(.home-page) #header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

#header h1 {
  flex: 0 1 auto;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
}

#header h1 a,
#header a {
  color: inherit;
}

#header a:hover {
  color: var(--orange);
  text-decoration: none;
  background: none;
}

#nav {
  display: flex;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
}

#nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav li {
  position: relative;
  margin: 0;
}

#nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1.5rem 0.7rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* #nav a.icon {
  padding-right: 1.5rem;
} */

#nav a.icon:after {
  content: '';
  display: block;
  background-image: url(images/dropdown.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 0.5em;
  width: 0.5em;
  position: absolute;
  top: 1.1rem;
  right: .7rem;
}

#nav .button,
#header .button,
.give .button {
  margin-left: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-color: currentColor;
  border-width: 1px;
}

#nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  padding: 0.5rem 0;
  margin: 0.75rem 0 0;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  list-style: none;
}

#nav li:hover > ul,
#nav li:focus-within > ul {
  display: block;
}

#nav ul ul a {
  min-height: 0;
  padding: 0.65rem 1rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#nav ul ul a:hover {
  color: var(--white);
  background: rgba(35, 35, 35, 0.88);
}

#header nav > a[href="#menu"] {
  display: none;
  width: 4.6rem;
  height: 3.5rem;
  border: 0;
  color: inherit;
  position: relative;
}

#header > nav {
  display: none;
  flex: 0 0 auto;
}

#header nav > a[href="#menu"]::before,
#header nav > a[href="#menu"]::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
}

#header nav > a[href="#menu"]::before {
  top: 1.25rem;
  box-shadow: 0 6px 0 currentColor;
}

#header nav > a[href="#menu"]::after {
  top: 2rem;
}

.dropotron {
  min-width: 230px;
  width: 13rem;
  padding: 0.5rem 0;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  list-style: none;
}

.dropotron li {
  margin: 0;
}

.dropotron a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.dropotron a:hover {
  color: var(--white);
  background: rgba(35, 35, 35, 0.88);
  text-decoration: none;
}

#menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1200;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: hidden;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  visibility: hidden;
  transform: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.is-menu-visible #menu,
body.menu-open #menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#menu .inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 400px);
  max-width: 100%;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 2.5rem 1.5rem 1.75rem;
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

body.is-menu-visible #menu .inner,
body.menu-open #menu .inner {
  opacity: 1;
  transform: translateY(0);
}

#menu a {
  color: var(--white);
}

#menu .close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: block;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  color: transparent;
  background: rgba(0, 0, 0, 0.78);
  text-indent: 4rem;
}

#menu .close::before,
#menu .close::after {
  content: "";
  position: absolute;
  top: 1.95rem;
  left: 1.05rem;
  width: 1.9rem;
  height: 2px;
  background: var(--white);
}

#menu .close::before {
  transform: rotate(45deg);
}

#menu .close::after {
  transform: rotate(-45deg);
}

.accordion {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.tab {
  position: relative;
}

.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.tab__label {
  display: block;
  padding: 0.75rem 0;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.85;
  text-transform: uppercase;
}

.tab__label::after {
  content: "";
}

.tab input:checked + .tab__label::after {
  content: "";
}

.tab__content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.35s ease;
}

.tab input:checked ~ .tab__content {
  max-height: 25rem;
}

.links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: block;
  padding: 0.65rem 0;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.85;
  text-transform: uppercase;
}

.links a:hover {
  background: rgba(35, 35, 35, 0.88);
  text-decoration: none;
}

.give {
  flex: 0 0 auto;
  margin-top: 0.75rem;
}

.give a {
  font-size: 1rem;
  margin-left: 0 !important;
}

/* =========================================================
   Heroes And Page Titles
   ========================================================= */

.hero,
.page-title {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 52vh;
  color: var(--white);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 87, 255, 0.16)), var(--hero) center/cover no-repeat;
}

.pastor-page-title {
  background: var(--white);
}

.page-title.pastor-page-title h1 {
  color: var(--black);
}

.page-title.pastor-page-title p {
  color: var(--orange);
}

.hero .container,
.page-title .container {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: var(--space-xl);
}

.hero h1,
.page-title h1 {
  max-width: 980px;
  margin: 0;
  color: var(--white);
}

.hero p,
.page-title p {
  max-width: 720px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.home-banner-logo {
  width: clamp(260px, 44vw, 620px);
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.subpage-kicker,
.section-kicker,
.meta-label {
  margin: 0 0 0.8rem;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 780px;
}

.section-heading p {
  margin: 0 0 0.6rem;
  color: var(--orange);
  /* font-size: 0.76rem; */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
}

/* =========================================================
   Buttons And Forms
   ========================================================= */

.button,
.lh-button,
.form-submit,
.outline-link,
.cta-section a,
.link-list a,
.archive-actions a,
.archive-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 1rem 1.25rem;
  border: 3px solid currentColor;
  color: var(--black);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
.lh-button:hover,
.form-submit:hover,
.outline-link:hover,
.cta-section a:hover,
.link-list a:hover,
.archive-actions a:hover,
.archive-actions button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  text-decoration: none;
}

.light,
.gold {
  color: inherit;
}

.site-form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.form-note {
  display: grid;
  gap: 1rem;
}

.form-note h2 {
  margin-bottom: 0;
}

.form-note blockquote {
  margin: 0;
  padding: 1rem 0 1rem 1.25rem;
  /* border-left: 5px solid var(--orange); */
  color: var(--black);
  font-weight: 500;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row label {
  color: var(--black);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(0, 87, 255, 0.12);
}

/* =========================================================
   Shared Cards And Sections
   ========================================================= */

.intro-panel,
.split-hero,
.split-panel,
.split-section,
.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.split-hero,
.split-section,
.feature-split {
  padding: var(--space-xl) 0;
}

.split-hero h2,
.feature-split h2,
.intro-panel h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.split-hero figure,
.feature-split figure {
  /* border: 1px solid var(--line); */
  background: var(--light);
}

.split-hero aside {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  /* border-left: 5px solid var(--orange); */
  background: var(--white);
}

.split-hero aside span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-hero aside strong {
  color: var(--black);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.split-hero img,
.feature-split img,
.image-frame img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.image-fill {
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--about-img) center/cover no-repeat, var(--light);
}

.about-community-section {
  grid-template-columns: 1fr;
}

.about-wide-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.image-band {
  min-height: 420px;
  background: var(--hero) center/cover no-repeat, var(--light);
}

.content-band,
.cta-section {
  margin-inline: calc(50% - 50vw);
  padding: clamp(2rem, 5vw, 4rem) max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
  /* border-top: 1px solid var(--line); */
  /* border-bottom: 1px solid var(--line); */
}

.band-dark {
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
  border-color: var(--black);
}

.band-dark h2,
.band-dark h3,
.band-dark h4,
.band-dark strong {
  color: var(--white);
}

.band-dark a {
  color: var(--white);
}

.band-dark .card-grid > article,
.band-dark .card-grid > div,
.band-dark .info-card {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.card-grid.no-border article {
  border: 0;
}

.pkcdc-services-grid article span,
.card-grid > article h3 {
  padding-top: 1rem;
}

.band-light {
  background: var(--blue-light);
}

.band-accent {
  background: var(--orange-light);
  border-color: rgba(255, 122, 0, 0.24);
}

.card-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card-grid > article,
.card-grid > a,
.card-grid > div,
.cards > article,
.card,
.info-card,
.person-card,
.latest-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.highlight-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  color: var(--white);
  background: var(--black);
}

.highlight-card h3,
.highlight-card p {
  color: var(--white);
}

.highlight-card a {
  color: var(--orange);
}
.highlight-card a:hover {
  color: var(--orange-dark);
}

.card-grid > a:hover,
.card:hover,
.latest-card:hover {
  border-color: var(--blue);
  text-decoration: none;
}

.card-grid img,
.card img,
.latest-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: -1.35rem -1.35rem 0;
  max-width: calc(100% + 2.7rem);
}

.image-card-grid > article {
  padding-bottom: 1.5rem;
  overflow: hidden;
}

.image-card-grid > article > img {
  width: calc(100% + 2.7rem);
  max-width: none;
  margin: -1.35rem -1.35rem 0;
}

.image-card-grid > article > h3 {
  margin-bottom: 0.45rem;
}

.image-card-grid > article > span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--orange);
}

.ministry-list {
  display: grid;
  gap: var(--space-lg);
}

.ministry-list-item {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
}

.ministry-list-item.left {
  padding-left: 2rem;
}

.ministry-list-item.right {
  padding-right: 2rem;
}

.ministry-list-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ministry-list-item h2 {
  font-size: 2.5rem;
}

.event-time {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--orange);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-preview {
  width: min(100%, 500px);
  overflow: hidden;
  background: var(--white);
}

.social-preview iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.map-embed {
  width: 100%;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-embed-full {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.map-embed-full iframe {
  height: min(72vh, 760px);
  min-height: 520px;
}

.contact-map {
  padding-top: var(--header-height);
}

.card-grid span,
.card .meta,
.card-body .meta {
  color: var(--orange);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.person-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.people-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* Team Page */

.team-main .entry {
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.team-intro {
  background: var(--black);
  box-shadow: 0 0 0 100vmax var(--black);
  clip-path: inset(calc(-1 * (var(--header-height) + var(--space-xl))) -100vmax 0);
  color: var(--white);
  /* max-width: 820px; */
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.team-intro h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.team-feature,
.team-council,
.team-section {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: var(--space-xl) 0;
}

.team-feature {
  position: relative;
  z-index: 0;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  padding: 2rem 0;  /* margin-left: calc(50% - 50vw); */
  background: transparent;
}

.team-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: var(--line);
}

.team-feature .text-link {
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 600;
}

.team-feature .text-link:hover {
  color: var(--orange);
  text-decoration: none;
}

.team-feature figure,
.team-council figure {
  margin: 0;
}

.team-feature img {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  object-fit: cover;
}

.team-council img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.team-council figcaption {
  max-width: 920px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.team-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  border: 1px solid var(--line);
  background: var(--white);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-card div {
  padding: 0 1.25rem 1.25rem;
}

.team-card p {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.team-card h3 {
  margin-bottom: 0;
}

.team-card-text {
  min-height: 220px;
  align-content: end;
  background: var(--blue-light);
}

.lead-note {
  color: var(--black);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 2.4rem;
  font-weight: 500;
}

/* Pastor Letter */

.pastor-main .entry {
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.pastor-letter {
  display: grid;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0;
  padding-bottom: var(--space-xl);
  padding-left: clamp(0rem, 4vw, 3rem);
}

.pastor-letter-header {
  padding-bottom: 1.5rem;
}

.pastor-letter-header h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.pastor-letter-header h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.pastor-letter-header p:last-child {
  color: var(--muted);
}

.pastor-letter-panel .align-right {
  width: 50%;
  margin-left: 1.2em;
  margin-bottom: 1.2rem;
  float: right;
}

.pastor-letter-quote {
  border-left-color: var(--orange);
  color: var(--black);
  font-size: 1.12rem;
  font-weight: 500;
}

.statement-quote {
  position: relative;
  margin: 0;
  padding: 1.75rem 3.6rem;
  color: var(--black);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.45;
}

.statement-quote::before,
.statement-quote::after {
  position: absolute;
  color: #d8d8d8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 1;
}

.statement-quote::before {
  content: "\201C";
  top: 0;
  left: 0;
}

.statement-quote::after {
  content: "\201D";
  right: 0;
  bottom: -1.2rem;
}

.mission-list {
    font-size: 1.5rem;
}

.mission-quote {
  color: var(--white);
  font-size: 1.5rem;
}

.mission-quote::before,
.mission-quote::after {
  color: rgba(255, 255, 255, 0.28);
}

.pastor-letter-signoff {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.pastor-signature {
  display: inline-block;
  color: var(--black);
  font-family: "Great Vibes", "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(2.2rem, 5vw, 2rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
}

/* Service Schedule */

.service-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.service-times-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-times-feature article {
  display: grid;
  gap: 0.8rem;
  min-height: 280px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  /* border-top: 6px solid var(--orange); */
  background: var(--white);
}

.service-times-feature h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.service-times-feature .lead-note {
  color: var(--blue);
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1;
}

.service-times-band .service-times-feature article {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.service-times-band .service-times-feature h2 {
  color: var(--white);
}

.service-times-band .service-times-feature .lead-note {
  color: var(--orange);
}

.service-times-band .meta-label {
  color: var(--orange);
}

.service-worship-times {
  text-align: center;
}

.service-worship-times .section-heading {
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.service-worship-times h2 {
  margin-bottom: var(--space-md);
}

.service-worship-times .service-band {
  background: transparent;
}

.service-worship-times .service-band::after {
  display: none;
}

.service-actions {
  margin-inline: calc(50% - 50vw);
  margin-top: 0;
  padding-right: max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
  padding-left: max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
}

.service-actions .inner {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-section {
  display: grid;
  gap: var(--space-md);
}

.service-life-course {
  background: var(--light);
}

.service-life-course figure {
  overflow: hidden;
}

.service-life-course img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.card-grid.service-ministry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.pkcdc-services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.band-dark .service-ministry-grid > a,
.band-dark .service-ministry-grid > article {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.band-dark .service-ministry-grid > a:hover {
  border-color: var(--orange);
}

/* Mission Ministry */

.card-grid.newcomers,
.card-grid.missions,
.card-grid.servanthood {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.giving > article,
.pkcdc-services-grid > article,
.card-grid.missions > article {
  display: block;
}

.mission-prayer-list {
  display: grid;
  gap: var(--space-lg);
  max-width: var(--content);
  padding-top: 2rem;
}

.mission-prayer-list ul {
  margin: 0;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--orange);
  color: var(--black);
}

.cta-section p {
  color: var(--black);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 0;
}

.cta-section a {
  color: var(--black);
  border-width: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

/* =========================================================
   Home Page
   ========================================================= */

.home-page .main > .container {
  width: 100%;
  max-width: none;
}

.home-main .entry {
  gap: 0;
  padding-bottom: 0;
  padding-top: 0;
}

@media (min-width: 981px) {
  .home-page .hero {
    min-height: min(calc(100vh - 120px), 800px);
  }
}

.home-page .hero {
  align-items: center;
  text-align: center;
}

.home-page .hero .container {
  display: grid;
  justify-items: center;
}

.home-page .hero h2 {
  max-width: 980px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.35rem, 6vw, 4rem);
}

.home-actions {
  background: var(--line);
  margin-top: calc(var(--space-lg) * -1);
  position: relative;
  z-index: 3;
}

.home-actions .inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.home-actions a {
  background: var(--black);
  color: var(--white);
  min-height: 88px;
  /* border-color: var(--line); */
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.padding-top,
.home-section {
  padding-top: var(--space-xl);
}

.home-section .inner,
.latest-section .inner,
.family-section .inner {
  display: grid;
  gap: var(--space-md);
}

.service-band {
  position: relative;
  text-align: center;
  background: var(--black);
  color: rgba(255, 255, 255, 0.82);
  z-index: 1;
}

.service-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  width: 100%;
  height: 88px;
  background: var(--black);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform: translateY(100%);
  z-index: -1;
}

.families-with-kids {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
  background-color: var(--line);
}

.image-tiles.families {
  margin-inline: calc(50% - 50vw);
  padding-top: 0;
}

.image-tiles.families .tile-grid {
  grid-template-columns: repeat(2, 1fr);
}

.families-with-kids::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  width: 100%;
  height: 88px;
  background: var(--line);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  transform: translateY(100%);
  z-index: -1;
}

.service-band h2,
.service-band .service-times {
  color: var(--white);
}

.service-band a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.5rem;
  /* text-transform: uppercase; */
}

.service-band a:hover {
  color: var(--orange);
  text-decoration: none;
}

.service-band b {
  font-size: 3rem;
  font-weight: 700;
}

.service-band .service {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 1rem 1rem 1rem;
}

.service-band .service span {
  font-size: 2rem;
  word-break: break-word;
  background: var(--muted);
  padding: 1rem;
  line-height: 2.5rem;
}

.visit-callout {
  padding: var(--space-lg) 0;
  background: var(--blue-light);
  color: var(--black);
  padding-top: 6.5rem;
}

.visit-callout .inner {
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.visit-callout h2 {
  text-align: center;
}

.visit-callout p {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  text-align: center;
}

.visit-callout a {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 800;
  border-width: 3px;
}

.visit-callout a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.family-section .split {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
}

.family-section img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.image-tiles {
  padding-top: var(--space-xl);
  /* background: var(--light); */
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* width: min(100% - 2rem, var(--container)); */
  /* margin: 0 auto; */
}

.tile {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)), var(--tile) center/cover no-repeat;
  text-align: center;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.tile h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.15;
}

.tile:hover {
  color: var(--white);
  text-decoration: none;
}

.tile:hover::before {
  background: rgba(255, 255, 255, 0.2);
}

/* Ministries Index */

.ministries-index-main .entry {
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.ministries-index-intro {
  background: var(--black);
  box-shadow: 0 0 0 100vmax var(--black);
  clip-path: inset(calc(-1 * (var(--header-height) + var(--space-xl))) -100vmax 0);
  color: var(--white);
  max-width: none;
}

.ministries-index-intro > * {
  max-width: var(--content);
}

.ministries-index-intro h1 {
  color: var(--white);
}

.ministry-nav-tiles {
  padding: 3rem 0;
}

.ministry-nav-tiles .tile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.latest-section {
  padding: var(--space-xl) 0;
  background: var(--orange);
}

.latest-section .inner {
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  align-items: start;
}

.latest-section a {
  border-width: 3px;
  font-weight: 800;
}

.latest-section a:hover {
  background: var(--black);
  border-color: var(--black);
}

.latest-video {
  border: 3px solid var(--line);
  background: var(--black);
}

.latest-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* =========================================================
   Sermons
   ========================================================= */

.archive-intro {
  max-width: var(--content);
  padding: 1.25rem;
  /* border-left: 5px solid var(--blue); */
  background: var(--blue-light);
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.archive-actions input {
  flex: 1 1 260px;
  min-width: 0;
}

.year-nav {
  position: -webkit-sticky;
  position: sticky;
  z-index: 20;
  top: var(--header-height);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.year-nav a {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: var(--white);
  font-size: 0.82rem;
}

.year-nav a:hover,
.year-nav a.active {
  color: var(--black);
  background: var(--white);
  text-decoration: none;
}

.sermon-year {
  scroll-margin-top: calc(var(--header-height) + 7rem);
}

.sermon-year h2 {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.sermon-year .cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.sermon-card {
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}

.sermon-card h3 {
  overflow: visible;
  min-height: 0;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.sermon-card h3 {
  color: var(--black);
}

.sermon-card:hover {
  text-decoration: none;
}

.sermon-card .card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.sermon-card time {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sermon-thumb,
.sermon-thumb-placeholder {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eeeeee;
}

.sermon-thumb img,
.sermon-card .sermon-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

.sermon-thumb-placeholder {
  display: grid;
  place-items: center;
  color: #999999;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.sermon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sermon-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255, 122, 0, 0.28);
  color: var(--orange);
  background: var(--orange-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.sermon-media {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.media-download,
.media-note {
  font-size: 0.92rem;
}

/* =========================================================
   Legacy Content Helpers
   ========================================================= */

.grid {
  display: grid;
  gap: 1.25rem;
}

.one-half {
  width: 100%;
}

.alignleft {
  float: left;
  margin: 0.4rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.4rem 0 1rem 1.5rem;
}

.aligncenter,
.alignnone,
.size-full,
.size-medium {
  margin: 1rem auto;
}

.clear,
.hr {
  clear: both;
}

.hr {
  height: 1px;
  margin: 2rem 0;
  background: var(--line);
}

.post-featured {
  margin-bottom: 1rem;
}

.audio-item {
  margin: 1rem 0;
}

.static-note {
  padding: 1.25rem;
  /* border-left: 5px solid var(--blue); */
  background: var(--blue-light);
}


.pullquote-right {
  float: right;
  max-width: 320px;
  margin: 0.4rem 0 1rem 1.5rem;
  padding-left: 1rem;
  /* border-left: 4px solid var(--orange); */
  color: var(--black);
  font-size: 1.15rem;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--black);
  font-size: 1rem;
}

footer a {
  color: var(--white);
}

.footer-widgets {
  padding: var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-lg);
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  #nav {
    display: none;
  }

  #header > nav {
    display: block;
    margin-left: auto;
  }

  #header nav > a[href="#menu"] {
    display: block;
  }

  #header h1 {
    max-width: calc(100vw - 110px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .intro-panel,
  .split-hero,
  .split-panel,
  .split-section,
  .feature-split,
  .form-layout,
  .service-times-feature,
  .latest-section .inner,
  .family-section .split,
  .team-feature,
  .team-grid,
  .team-grid.two-column,
  .ministry-list-item {
    grid-template-columns: 1fr;
  }

  .tile-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-actions .inner {
    grid-template-columns: repeat(3, 1fr);
    /* padding: 0.5rem; */
  }

  .service-actions .inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-actions a {
    min-height: 74px;
    padding: 0.75rem 0.35rem;
    /* font-size: 0.72rem; */
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
    white-space: normal;
  }

  .tile {
    min-height: 260px;
  }

  .cta-section,
  .visit-callout .inner,
  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

}

@media (max-width: 640px) {
  .container,
  .inner {
    width: min(100% - 2.5rem, var(--container));
  }

  .entry {
    gap: 0;
    /* padding-top: 2.5rem; */
  }

  .hero,
  .page-title {
    min-height: 420px;
  }

  .hero .container,
  .page-title .container {
    padding-bottom: 2.5rem;
  }

  .home-banner-logo {
    width: 70%;
  }

  .content-band,
  .cta-section,
  .pastor-letter-quote {
    padding: 1.5rem;
  }

  .pastor-letter {
    padding-left: 0;
  }

  .pastor-letter-panel .align-right {
    float: none;
    width: 100%;
    max-width: 400px;
    margin: 0 0 2rem 0;
  }

  .pastor-letter-header {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .card-grid.missions {
    grid-template-columns: 1fr;
  }

  .card-grid.service-ministry-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.pkcdc-services-grid {
    grid-template-columns: 1fr;
  }

  .alignleft,
  .alignright,
  .pullquote-right {
    float: none;
    max-width: none;
    margin: 1rem 0;
  }
}

@media (max-width: 400px) {
  #header h1 a {
    font-size: 0;
  }

  #header h1 a::after {
    content: "HCBC";
    font-size: 0.95rem;
  }
}

/* External tracker */
#eXTReMe-Free-hopecbc {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
