/* ==================== SUB COMMON ==================== */
.sub-page {
  overflow: hidden;
  background: #fff;
}

.sub-visual-shell {
  background: #0078df;
}

.sub-visual-shell > .content-inner {
  width: 100%;
  max-width: none;
}

.sub-visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 18.2vw, 330px);
  background-color: var(--navy-950);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sub-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 13, 25, .54) 0%, rgba(3, 13, 25, .26) 46%, rgba(3, 13, 25, .12) 100%);
}

.sub-visual-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(280px, 18.2vw, 330px);
  padding: 54px max(40px, calc((100% - 1440px) / 2));
  color: #fff;
}

.sub-visual-copy h1 {
  font-size: clamp(40px, 3vw, 56px);
  font-weight: 800;
  line-height: 1.16;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .36);
}

.sub-visual-copy p {
  margin-top: 22px;
  font-size: clamp(20px, 1.45vw, 27px);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .32);
}

.sub-location {
  background: #1197c8;
}

.sub-location-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  color: #fff;
}

.sub-home {
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 21px;
}

.sub-home:hover,
.sub-home:focus {
  color: #fff;
  opacity: .78;
}

.sub-location-line {
  flex: 0 0 42px;
  height: 1px;
  background: rgba(255, 255, 255, .55);
}

.sub-path-item {
  position: relative;
  flex: 0 1 260px;
}

.sub-path-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 0 16px 0 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.sub-path-item summary::-webkit-details-marker {
  display: none;
}

.sub-path-item summary i {
  color: #fff;
  font-size: 14px;
  transition: transform .2s ease;
}

.sub-path-item[open] summary i {
  transform: rotate(180deg);
}

.sub-path-item + .sub-path-item {
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.sub-path-item ul {
  position: absolute;
  top: calc(100% + 17px);
  right: 0;
  left: 0;
  z-index: 10;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e2ea;
  border-radius: 0;
  box-shadow: 0 14px 24px rgba(10, 25, 39, .12);
}

.sub-path-item li + li {
  border-top: 1px solid #edf1f5;
}

.sub-path-item a {
  display: block;
  padding: 13px 17px;
  color: #53606b;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
}

.sub-path-item a:hover,
.sub-path-item a:focus,
.sub-path-item a[aria-current="page"] {
  color: var(--navy-900);
  background: #f1f7fb;
}

/* ==================== GREETING ==================== */
.greeting-section {
  padding: 96px 0 130px;
}

.greeting-heading {
  margin-bottom: 50px;
  text-align: center;
}

.greeting-heading > p,
.people-intro > p {
  margin-bottom: 12px;
  color: #0078df;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .14em;
}

.greeting-heading h2 {
  color: var(--navy-950);
  font-size: clamp(30px, 2.4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.greeting-heading h2 strong {
  color: #0078df;
  font-weight: 800;
}

.greeting-frame {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(64px, 6.5vw, 112px);
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid #d9e1e7;
}

.greeting-profile {
  text-align: center;
}

.greeting-photo {
  width: 100%;
  margin: 0;
}

.greeting-photo img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  background: #eef3f6;
  border: 1px solid #dce4ea;
  /* border-radius: 0 28px 0 28px; */
  box-shadow: 22px 22px 0 #eaf5fb;
}

.greeting-profile-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  color: #44515d;
  font-size: 18px;
  font-weight: 600;
}

.greeting-profile-name strong {
  color: var(--navy-900);
  font-size: 31px;
  font-weight: 800;
}

.greeting-body {
  min-width: 0;
}

.greeting-message {
  position: relative;
  overflow: hidden;
  min-height: 136px;
  padding: 42px clamp(34px, 4vw, 70px);
  background: #eaf5fb;
}

.greeting-message::after {
  content: "WITH";
  position: absolute;
  right: -12px;
  bottom: -24px;
  color: rgba(255, 255, 255, .56);
  font-size: 108px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .1em;
  pointer-events: none;
}

.greeting-message p {
    position: relative;
    z-index: 1;
    /* max-width: 880px; */
    color: #071626;
     font-size: clamp(20px, 2.15vw, 28px);
    font-weight: 700;
    line-height: 2;
}

.greeting-message strong,
.greeting-message em {
  color: var(--brand-blue);
  font-style: normal;
  font-weight: 800;
}

.greeting-copy {
  min-width: 0;
  margin-top: 44px;
  color: #384550;
  font-size: 19px;
  line-height: 1.95;
}

.greeting-kicker {
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .12em;
}

.greeting-copy h2 {
  margin-bottom: 28px;
  color: var(--brand-blue);
  font-size: clamp(24px, 1.55vw, 30px);
  font-weight: 800;
  line-height: 1.45;
}

.greeting-copy p + p {
  margin-top: 16px;
}

.greeting-emphasis {
  color: #0078df;
  font-weight: 800;
}

.greeting-signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 34px !important;
  color: #5f6d78;
  font-size: 18px;
}

.greeting-signature strong {
  color: var(--navy-900);
  font-size: 34px;
  font-weight: 800;
}

/* ==================== WORSHIP TIME ==================== */
.worship-section {
  padding: 104px 0 130px;
  background: #fff;
}

.worship-heading {
  margin-bottom: 50px;
  text-align: center;
}

.worship-kicker {
  margin-bottom: 12px;
  color: #0078df;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .14em;
}

.worship-heading h2 {
  color: var(--navy-950);
  font-size: clamp(30px, 2.4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.worship-heading h2 strong {
  color: #0078df;
  font-weight: 800;
}

.worship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.worship-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e5ee;
  box-shadow: 0 18px 44px rgba(7, 22, 38, .08);
}

.worship-card-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 24px 32px;
  color: var(--navy-950);
  background: #fff;
  border-bottom: 1px solid #d9e5ee;
}

.worship-card-icon {
  display: inline-flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: #0078df;
  border-radius: 50%;
  font-size: 22px;
}

.worship-card-heading h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.worship-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.worship-table thead th {
  padding: 18px 24px;
  color: #31516c;
  background: #edf7fd;
  border-bottom: 1px solid #d5e5ef;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.worship-table thead th + th {
  border-left: 1px solid #d5e5ef;
}

.worship-table tbody th,
.worship-table tbody td {
  height: 72px;
  padding: 18px 24px;
  border-bottom: 1px solid #e4ebf0;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
  vertical-align: middle;
}

/* .worship-card:first-child .worship-table tbody th,
.worship-card:first-child .worship-table tbody td {
  height: 96px;
} */

.worship-table tbody th {
  color: var(--navy-900);
  font-weight: 800;
}

.worship-table tbody td {
  color: #50606d;
  border-left: 1px solid #e4ebf0;
  font-weight: 600;
}

.worship-table tbody tr:last-child th,
.worship-table tbody tr:last-child td {
  border-bottom: 0;
}

.worship-table tbody tr {
  transition: background-color .2s ease;
}

.worship-table tbody tr:hover {
  background: #f8fbfd;
}

/* ==================== LOCATION ==================== */
.location-section {
  padding: 104px 0 130px;
  background: #fff;
}

.location-heading {
  margin-bottom: 50px;
  text-align: center;
}

.location-heading > p {
  margin-bottom: 12px;
  color: #0078df;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .14em;
}

.location-heading h2 {
  color: var(--navy-950);
  font-size: clamp(30px, 2.4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.location-heading h2 strong {
  color: #0078df;
  font-weight: 800;
}

.location-content {
  margin: 0 auto;
}

.location-map-card {
  overflow: hidden;
  width: min(100%, 1300px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d9e5ee;
  box-shadow: 0 18px 44px rgba(7, 22, 38, .08);
}

.location-map-figure {
  width: 100%;
}

.location-map-figure img {
  width: 100%;
  max-width: none;
  height: auto;
}

.location-contact-details {
  width: min(100%, 1300px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 2px solid var(--navy-900);
  border-bottom: 1px solid var(--line);
}

.location-contact-details > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 190px;
  padding: 36px 32px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font-style: normal;
  transition: background .2s ease;
}

.location-contact-details > *:last-child {
  border-right: 0;
}

.location-contact-details > a:hover,
.location-contact-details > a:focus {
  background: #f3f6f8;
}

.location-contact-details span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.location-contact-details small {
  color: #7d8994;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
}

.location-contact-details strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

.location-contact-icon {
  flex: 0 0 52px;
  width: 52px;
  margin-left: 20px;
  color: var(--brand-blue);
  font-size: 39px;
  text-align: center;
}

/* ==================== PEOPLE ==================== */
.people-section {
  padding: 104px 0 130px;
  background: #fff;
}

.people-content {
  max-width: 1280px;
}

.people-intro {
  margin-bottom: 50px;
  text-align: center;
}

.people-intro h2 {
  color: var(--navy-950);
  font-size: clamp(30px, 2.4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.03em;
  text-align: center;
}

.people-intro h2 strong {
  color: #0078df;
  font-weight: 800;
}

.people-group + .people-group {
  margin-top: 82px;
}

.people-group-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: #eef7fd;
  border-left: 5px solid #0078df;
}

.people-group-heading::after {
  display: none;
}

.people-group-heading h3 {
  position: relative;
  color: var(--navy-950);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
}

.people-group-heading h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  background: #0078df;
  vertical-align: .16em;
}

.people-pastor-panel {
 
  background: #f6f9fb;
}

.people-pastor-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 42px 54px;
  text-align: center;
}

.people-pastor-name span {
  color: #0078df;
  font-size: 17px;
  font-weight: 800;
}

.people-pastor-name strong {
  color: var(--navy-950);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .08em;
}

.people-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cdd8e0;
  border-left: 1px solid #cdd8e0;
}

.people-roster li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 126px;
  padding: 26px 30px;
  border-right: 1px solid #cdd8e0;
  border-bottom: 1px solid #cdd8e0;
  transition: background-color .2s ease;
  text-align: center;
}

.people-roster li:hover {
  background: #f7fafc;
}

.people-roster li span {
  color: #0078df;
  font-size: 20px;
  font-weight: 700;
}

.people-roster li strong {
  color: var(--navy-950);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  word-break: keep-all;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1280px) {
  .sub-visual-copy {
    padding-right: max(28px, calc((100% - 1180px) / 2));
    padding-left: max(28px, calc((100% - 1180px) / 2));
  }

  .sub-location-inner {
    gap: 18px;
  }

  .greeting-frame {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 70px;
  }

  .greeting-message {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-width: 980px) {
  .sub-visual,
  .sub-visual-copy {
    min-height: 260px;
  }

  .sub-location-inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .sub-location-line {
    flex-basis: 30px;
  }

  .sub-path-item {
    flex: 1 1 240px;
  }

  .sub-path-item ul {
    top: calc(100% + 8px);
  }

  .sub-path-item + .sub-path-item {
    border-left: 0;
  }

  .greeting-section {
    padding: 82px 0 100px;
  }

  .greeting-frame {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 46px;
  }

  .greeting-photo img {
    max-width: 220px;
  }

  .greeting-message {
    min-height: 0;
  }

  .worship-section {
    padding: 82px 0 100px;
  }

  .worship-grid {
    grid-template-columns: 1fr;
  }

  /* .worship-card:first-child .worship-table tbody th,
  .worship-card:first-child .worship-table tbody td {
    height: 72px;
  } */

  .location-section {
    padding: 82px 0 100px;
  }

  .location-contact-details {
    grid-template-columns: 1fr 1fr;
  }

  .location-contact-details > *:nth-child(2) {
    border-right: 0;
  }

  .location-contact-details > address {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .people-section {
    padding: 82px 0 100px;
  }

  .people-intro {
    margin-bottom: 50px;
  }

  .people-group + .people-group {
    margin-top: 68px;
  }

  .people-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sub-visual,
  .sub-visual-copy {
    min-height: 226px;
  }

  .sub-visual {
    background-position: 62% center;
  }

  .sub-visual-copy {
    padding: 34px 18px;
  }

  .sub-visual-copy p {
    max-width: 280px;
    margin-top: 14px;
  }

  .sub-location-inner {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 66px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sub-home {
    flex: 0 0 34px;
    width: 34px;
    height: 42px;
    font-size: 18px;
  }

  .sub-location-line {
    flex: 0 0 22px;
  }

  .sub-path-item {
    flex: 1 1 0;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .sub-path-item + .sub-path-item {
    border-left: 1px solid rgba(255, 255, 255, .3);
  }

  .sub-path-item summary {
    gap: 7px;
    min-height: 66px;
    padding: 0 9px;
    font-size: 14px;
    white-space: nowrap;
  }

  .sub-path-item summary span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sub-path-item summary i {
    flex: 0 0 auto;
    font-size: 11px;
  }

  .sub-path-item ul {
    top: calc(100% + 1px);
  }

  .greeting-section {
    padding: 64px 0 78px;
  }

  .greeting-heading {
    margin-bottom: 32px;
  }

  .greeting-heading > p,
  .people-intro > p {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .greeting-heading h2 {
    font-size: 27px;
  }

  .greeting-frame {
    gap: 42px;
    padding-top: 42px;
  }

  .greeting-photo img {
    max-width: 190px;
    box-shadow: 14px 14px 0 #eaf5fb;
  }

  .greeting-profile-name {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 34px;
    font-size: 16px;
  }

  .greeting-profile-name strong {
    font-size: 26px;
  }

  .greeting-message {
    padding: 28px 24px;
  }

  .greeting-message::after {
    right: -16px;
    bottom: -18px;
    font-size: 72px;
  }

  .greeting-message p {
    font-size: 24px;
  }

  .greeting-copy {
    font-size: 17px;
    line-height: 1.85;
  }

  .greeting-desktop-break {
    display: none;
  }

  .greeting-kicker {
    font-size: 13px;
  }

  .greeting-copy h2 {
    font-size: 22px;
  }

  .greeting-signature {
    justify-content: flex-start;
  }

  .greeting-signature strong {
    font-size: 29px;
  }

  .worship-section {
    padding: 64px 0 78px;
  }

  .worship-heading {
    margin-bottom: 32px;
  }

  .worship-kicker {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .worship-heading h2 {
    font-size: 27px;
  }

  .worship-grid {
    gap: 20px;
  }

  .worship-card-heading {
    min-height: 84px;
    padding: 18px 20px;
  }

  .worship-card-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .worship-card-heading h3 {
    font-size: 23px;
  }

  .worship-table thead th,
  .worship-table tbody th,
  .worship-table tbody td {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 14px;
  }

  .worship-table tbody th,
  .worship-table tbody td {
    height: 64px;
  }

  /* .worship-card:first-child .worship-table tbody th,
  .worship-card:first-child .worship-table tbody td {
    height: 64px;
  } */

  .location-section {
    padding: 64px 0 78px;
  }

  .location-heading {
    margin-bottom: 32px;
  }

  .location-heading > p {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .location-heading h2 {
    font-size: 27px;
  }

  .location-contact-details {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .location-contact-details > address {
    grid-column: auto;
    border-top: 0;
  }

  .location-contact-details > * {
    min-height: 125px;
    padding: 24px 18px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .location-contact-details > *:last-child {
    border-bottom: 0;
  }

  .location-contact-details small {
    font-size: 14px;
  }

  .location-contact-details strong {
    font-size: 18px;
  }

  .location-contact-icon {
    flex-basis: 44px;
    width: 44px;
    font-size: 34px;
  }

  .people-section {
    padding: 64px 0 78px;
  }

  .people-intro {
    margin-bottom: 32px;
  }

  .people-intro h2 {
    font-size: 27px;
  }

  .people-group + .people-group {
    margin-top: 52px;
  }

  .people-group-heading {
    gap: 16px;
    margin-bottom: 18px;
  }

  .people-group-heading h3 {
    font-size: 23px;
  }

  .people-pastor-panel {
    min-height: 144px;
  }

  .people-pastor-name {
    gap: 10px;
    padding: 28px 22px;
  }

  .people-pastor-name span {
    font-size: 14px;
  }

  .people-pastor-name strong {
    font-size: 27px;
    letter-spacing: .04em;
  }

  .people-roster {
    grid-template-columns: 1fr;
  }

  .people-roster li {
    min-height: 104px;
    padding: 22px 24px;
  }

  .people-roster li strong {
    font-size: 19px;
  }

}

@media (max-width: 390px) {
  .sub-location-inner {
    gap: 5px;
  }

  .sub-home {
    flex-basis: 30px;
    width: 30px;
  }

  .sub-location-line {
    flex-basis: 14px;
  }

  .sub-path-item summary {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px;
  }
}
