html {
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

html, body {
  background-color: #fdfbf8;
  margin: 0;
  padding: 0;
}

body {
    font-family:
  "EB Garamond",
  Garamond,
  "Palatino Linotype",
  Palatino,
  serif;
  color: #2A2A2A;
}

/* ---------------------------------- */
/* -------- Navigation Styles --------*/
/* ---------------------------------- */

#nav-menu {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  background: #17355E;
  width: 100%;
  z-index: 100;
  top: 0;
  height: 130px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  column-gap: 2rem;
  /* height: inherit; */
  padding: .75rem 3rem;
}

.nav-buttons-wrapper {
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
}

.skip-link {
  background: #f2d676;
  font-weight: 700;
  left: 45%;
  padding: 10px;
  position: absolute;
  transform: translateY(-102%);
}

.skip-link:focus {
  transform: translateY(0%);
  z-index: 200;
  transition: transform 0.3s;
}

.skip-link:focus-within {
  transform: translateY(0%);
  z-index: 200;
}

.skip-link a {
  font-weight: 700;
  text-decoration: underline;
}

.menu {
  position: relative;
  background: #17355E;
  display: flex;
  justify-content: flex-end;
}

.menu ul,
.menu-bar {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-bar li:first-child ul:nth-child(1) {
  border-right: 1px solid rgba(221, 221, 221, 0.3);
}

.menu-bar li:nth-child(n + 2) ul:nth-child(1) {
  border-bottom: 1px solid rgba(221, 221, 221, 0.3);
}

.menu-bar .dropdown-link-title {
  font-weight: 600;
}

.menu-bar .nav-link a {
  cursor: pointer;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 0.889rem;
  font-style: normal;
  text-transform: uppercase;
  padding: 0.4rem;
  /* min-width: 60px; */
  margin: 0 0.6rem;
  color: #FDFBF8;
  text-decoration: none;
  border-radius: 7px;
}

.nav-link .dropdown-btn.current {
  border-bottom: 1.5px solid #FDFBF8;
}

.menu a {
  transition: .3s ease;
}

.menu a:hover,
.menu a:focus {
  background: #A5DFF9;
  color: #17355E;
}

.nav-start,
.nav-end,
.menu-bar,
.right-container,
.right-container .search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-end;
}

.nav-start .logo-mobile {
  display: none;
}

.nav-start .logo-mobile img {
  width: 100px;
  height: auto;
}

.nav-start .logo img {
  max-width: 180px;
  width: 180px;
  height: auto;
}

.dropdown {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  background-color: #FDFBF8;
  position: absolute;
  top: 32px;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  border-radius: 7px;
}

.dropdown-right {
  right: 0;
}

.dropdown.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateX(5px);
}

.dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem;
  font-size: 1rem;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
}

/* Desktop chevron indicator */
.nav-link .dropdown-btn[aria-haspopup="true"]::after {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #A5DFF9;
  border-bottom: 2px solid #A5DFF9;
  transform: rotate(45deg);
  margin-left: 0.5rem;
  margin-top: -.35rem;
  transition: 0.2s ease-in-out;
}

.nav-link .dropdown-btn[aria-haspopup="true"]:hover::after,
.nav-link .dropdown-btn[aria-haspopup="true"]:focus::after {
  border-right-color: #17355E;
  border-bottom-color: #17355E;
}

.dropdown-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.25rem;
  border-radius: 7px;
  transition: 0.1s ease-in-out;
  text-decoration: none;
  color: #333;
  line-height: 1rem;
  font-weight: 600;
}

.dropdown-link:hover,
.dropdown-link:focus {
  background: #f2f2f2;
}

.dropdown-link p {
  font-size: 0.8rem;
  color: #666;
}

.right-container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.right-container .search {
  position: relative;
}

#hamburger {
  display: none;
  padding: 0.5rem;
  margin-left: 1rem;
  font-size: 1.9rem;
  background: none;
  border: none;
  color: #FDFBF8;
  cursor: pointer;
}

.nav-chevron {
  display: none;
  background: none;
  border: none;
  color: #FDFBF8;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 1240px) {
}

@media (max-width: 1110px) {
  .nav-start .logo {
    display: none;
  }
  .nav-start .logo-mobile {
    display: flex;
    align-items: center;
  }
  #hamburger {
    display: block;
  }
  .nav-chevron {
    display: block;
  }
  .nav-link.dropdown-btn.active {
    text-decoration: none;
  }
  /* Replace down chevron with up chevron on active nav buttons */
  .dropdown-btn.active + .nav-chevron .bx-chevron-down {
    display: none
  }
  .dropdown-btn:not(.active) + .nav-chevron .bx-chevron-down {
    display: block
  }
  .dropdown-btn.active + .nav-chevron .bx-chevron-up {
    display: block
  }
  .dropdown-btn:not(.active) + .nav-chevron .bx-chevron-up {
    display: none
  }
  .nav-container {
    padding: 1.2rem;
  }
  .menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    min-height: 100vh;
    width: 100vw;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .menu-bar li:first-child ul:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dropdown {
    display: none;
    min-width: 100%;
    border: none !important;
    border-radius: 5px;
    position: static;
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: #112847;
  }
  .menu.show,
  .dropdown.active {
    display: block;
    padding-top: 1rem;
  }
  .dropdown ul {
    padding-left: 1.5rem;
  }
  .dropdown li a {
    color: #ddd;
    padding-left: 0;
  }
  .menu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
  }
  .menu-bar .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .menu-bar .nav-link .nav-chevron .bx {
    font-weight: 600;
    font-size: 1.2rem;
  }
  .menu-bar li:first-child .dropdown {
    min-width: 100%;
  }
  .menu-bar > li:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  #nav-menu {
    height: 100px;
  }
  html {
    scroll-padding-top: 100px;
  }
  .nav-link .dropdown-btn[aria-haspopup="true"]::after {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  .nav-narrow {
    display: block;
  }
  .nav-wide {
    display: none;
  }
  li.nav-narrow {
    border-bottom: 0 !important;
  }
  li.nav-narrow a {
    width: 125px;
  }
  .nav-container {
    padding: 1rem;
  }
  .nav-start {
    height: 100%;
  }
  .nav-start .logo-mobile img {
    max-height: 100%;
  }
  .nav-start .logo-mobile #nav-logo-mobile-svg {
    height: 100%;
  }
}

@media screen and (max-width: 600px) {
  .right-container {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-start .logo-mobile img {
    max-width: 80px;
  }
  #nav-menu {
    height: 90px;
  }
  .menu {
    top: 90px;
  }
  html {
    scroll-padding-top: 90px;
  }
}


/* ------------------------ */
/* ----UNIVERSAL STYLES---- */
/* ----------------------- */

.green-btn{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: #3F7A38;
  color: #FDFBF8;
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 0.889rem;
  font-weight: 600;
  line-height: 1.25rem;
  align-self: flex-start;
  border-style: none;
  transition: background-color ease 0.3s, color ease 0.3s, transform ease 0.3s;
}

.green-btn:hover,
.green-btn:focus{
  background-color: #A5DFF9;
  color: #17355E;
  transform: translateY(-2px);
}

.green-btn:focus-visible{
  outline: 3px solid #d71ef7;
  outline-offset: 3px;
}

.green-btn__icon{
  font-size: 1.15em;
  line-height: 1;
  transition: transform ease 0.3s;
}

.green-btn:hover .green-btn__icon,
.green-btn:focus .green-btn__icon{
  transform: translateX(4px);
}

.green-btn span{
  display: inline-block;
  transition: transform ease 0.3s;
}

.green-btn:hover span,
.green-btn:focus span{
  transform: translateX(4px);
}

.btn-center {
    display: flex;
    justify-content: center;
}

.max-width-1200 {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.offset-top-left, .offset-bottom-left, .offset-bottom-right, .offset-top-right {
    position: relative;
}

.offset-top-left .bg {
  top: -6px; left: -6px; right: 6px; bottom: 6px;
  position: absolute;
  background: #A5DFF9;
  border-radius: 16px 0 16px 0;
}

.offset-bottom-left .bg {
  top: 6px; left: -7px; right: 6px; bottom: -6px;
  position: absolute;
  background: #6DB663;
  border-radius: 16px 0 16px 0;
}

.offset-bottom-right .bg {
  top: 6px; left: 6px; right: -6px; bottom: -6px;
  position: absolute;
  background: #6DB663;
  border-radius: 16px 0 16px 0;
}

.offset-top-right .bg {
  top: -6px; left: 6px; right: -6px; bottom: 6px;
  position: absolute;
  background: #A5DFF9;
  border-radius: 16px 0 16px 0;
}

.line-after-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: inherit;
    color: #17355E;
    font-size: 2.667rem;
    line-height: 3rem;
    white-space: nowrap;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.line-after-text::after {
    background: #478A40;
    height: 4px;
    flex: 1;
    content: '';
    flex-basis: 100%;
    flex-grow: inherit;
    margin-left: 1rem;
    border-radius: 4px;
    transform: translateY(6px);
}

.line-before-after-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
  color: #17355E;
  font-size: 2.667rem;
  line-height: 3rem;
  white-space: nowrap;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.line-before-after-text::before,
.line-before-after-text::after {
  background: #478A40;
  height: 4px;
  flex: 1;
  content: '';
  border-radius: 4px;
  transform: translateY(6px);
}

.line-before-after-text::before {
  margin-right: 1rem;
}

.line-before-after-text::after {
  margin-left: 1rem;
}

body a {
    font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
    color: #17355E;
    font-weight: 700;
    transition: color ease 0.3s;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body a:not(#nav-menu a, footer a, .green-btn):hover,
body a:not(#nav-menu a, footer a, .green-btn):focus {
    color: #478A40;
}

body a:focus-visible {
    outline: 3px solid #d71ef7;
    outline-offset: 2px;
}

body p {
    margin-top: .25rem;
    line-height: 1.4rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.rich-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.rich-text a {
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

body ul {
    padding-left: 1rem;
    margin-top: .5rem;
}

body ul li p {
    margin-bottom: 0;
}

body h3 {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  color: #2A2A2A;
  font-weight: 400;
  font-size: 1.111rem;
  margin-bottom: .25rem;
  margin-top: 1.625rem;
}

blockquote {
  border-left: 4px solid #A5DFF9;
  padding-left: 2rem;
  margin-left: 0;
  font-style: italic;
}

.side-by-side {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.side-by-side-left {
    flex: 50%;
}

.side-by-side-right {
    flex: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.side-by-side-right::before,
.side-by-side-right::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #478A40;
    border-radius: 4px;
}

.side-by-side-right::before {
    top: 0;
}

.side-by-side-right::after {
    bottom: 0;
}

.side-by-side h2 {
    color: #17355E;
    font-size: 2.667rem;
    line-height: 3rem;
    margin-bottom: .625rem;
    margin-top: 0;
}

.side-by-side img {
    width: 100%;
    height: 100%;
    /* aspect-ratio: 4 / 3; */
    object-fit: cover;
    object-position: center;
    border-radius: 16px 0 16px 0;
    position: relative;
    z-index: 1;
}

.banner-with-overlay {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    margin: 2rem 0;
    padding: 0 4rem;
}

.banner-with-overlay::after {
    content: "";
    position: absolute;
    background-position: 50% 30%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-with-overlay h2 {
    color: #FDFBF8;
    font-size: 2.667rem;
    line-height: 3rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.banner-with-overlay p {
    color: #FDFBF8;
    font-size: 1.111rem;
    line-height: 1.5rem;
}

.banner-with-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.photo-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.photo-flex .indiv-photo {
    position: relative;
}

.indiv-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 16px 0 16px 0;
}


/* @media screen and (max-width: 768px) {
    .line-after-text {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }
} */

/* @media screen and (max-width: 820px) {
  .green-btn {
    font-size: 0.889rem;
  }
} */

@media screen and (max-width: 767px) {
    .side-by-side {
      flex-wrap: wrap;
    }
}
/* 
@media screen and (max-width: 600px) {
    .line-after-text {
        font-size: 1.875rem;
        line-height: 2.25rem;
        white-space: normal;
    }
} */

@media screen and (max-width: 680px) {
  .banner-with-overlay {
    height: max-content;
    padding: 4rem 2rem;
  }
  .line-after-text {
    flex-wrap: wrap;
    white-space: normal;
  }
  .line-after-text::after {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
    .line-after-text, .line-before-after-text, .side-by-side h2, .banner-with-overlay h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .max-width-1200 {
      margin: 2rem auto;
      padding: 0 1.5rem;
    }
    .side-by-side {
      gap: 1rem;
    }
    .side-by-side-right {
      padding: 1rem 0;
    }
    .green-btn {
    font-size: 0.778rem;
  }
}






/* ----------------- */
/* ----HOME PAGE---- */
/* ----------------- */

.home .home-banner {
  display: flex;
  background-image: linear-gradient( to bottom,rgba(23, 53, 94, .5) 15%,rgba(23, 53, 94, 0.1) 50% ), url("/assets/images/Home_Hero_Collage_v5_1800px.webp");
  height: 60vh;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  margin-top: 130px;
  position: relative;
}

.home .home-banner .inner {
  width: 100%;
}

.home .home-banner h1 {
  /* font-size: 6rem; */
  font-size: clamp(4rem, 10vw, 5.5rem);
  line-height: clamp(4rem, 10vw, 5.5rem);
  position: relative;
  color: #FDFBF8;
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-style: normal;
  /* line-height: 6rem; */
  text-align: center;
  margin: 0 auto;
  padding: 1rem;
  animation: fadeIn 3s;
  -webkit-animation: fadeIn 3s;
  -moz-animation: fadeIn 3s;
  -o-animation: fadeIn 3s;
  -ms-animation: fadeIn 3s;
}

.home .home-banner h1 span {
  font-style: italic;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.worship-banner {
  background-color: #17355E;
  color: #FDFBF8;
  position: relative;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  padding: 2rem 2rem 3rem 2rem;
}

.worship-band-tab {
  position: absolute;
  left: 50%;
  top: -1.25rem;
  transform: translate(-50%, -55%);
  background: #17355E;
  color: #FDFBF8;
  padding: 0.85rem 1.5rem 0 1.5rem;
  border-radius: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0;
  width: max-content;
}

.worship-schedule-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.worship-schedule-block a {
  color: #FDFBF8;
  font-family: revert;
}

.worship-banner .flex-block-link {
  color: #FDFBF8;
  font-size: 1rem;
  display: inline-block;
  margin: 1rem .5rem 0 .5rem;
}

.worship-banner p {
  margin-bottom: 1rem;
}

.worship-banner ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

.worship-banner ul li, .worship-banner ul li p {
    margin: 0.333rem 0;
}

.worship-band__actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.welcome-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    gap: 2rem;
}

.welcome-video {
    flex: 60%;
    position: relative;
}

/* show preview image not iframe */
.video-embed-with-preview.preview a {
  display: block;
}
.video-embed-with-preview.preview iframe {
  display: none;
}

/* show iframe not preview image */
.video-embed-with-preview.show-video a {
  display: none;
}
.video-embed-with-preview.show-video iframe {
  display: block;
}

.welcome-video-embed {
    position: relative;
    z-index: 1;
    width: 100%;
}

.welcome-video-embed iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px 0 16px 0;
}

.welcome-video iframe {
    border-radius: 16px 0 16px 0;
}

.welcome-text {
    flex: 40%;
    padding: 0;
}

.welcome-text p {
    margin-top: 0;
}

.decorative-heart {
  width: 100%;
  max-width: 350px;
  margin: 0 auto 1rem auto;
}

.decorative-heart svg {
  width: 100%;
  height: auto;
}

#heart-path {
  stroke-dasharray: 646;
}

@keyframes fillSvg {
  0%{
    stroke-dashoffset: 646;
  }
  100%{
    stroke-dashoffset: 0;
  }
}

.mission-statement {
    flex-direction: column;
}

.mission-statement p {
    line-height: 3.25rem;
    color: #FDFBF8;
    font-size: 2.25rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-weight: 600;
}

.mission-statement::after {
    background-image:
        linear-gradient(rgba(23, 53, 94, 0.8), rgba(23, 53, 94, 0.7)),
        url(/assets/images/Mission_Statement_Bkgd.webp);
}

.upcoming-event-block {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(23, 53, 94, 0.2);
    padding: 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

/* Three-column layout for individual event page featured events */
.indiv-event-page-featured-events .upcoming-events-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
}

/* When there are exactly 2 events, center them with max 2 columns */
.indiv-event-page-featured-events .upcoming-events-inner:has(.upcoming-event-block:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* When there are 3 or more events, use 3 columns on larger screens */
.indiv-event-page-featured-events .upcoming-events-inner:has(.upcoming-event-block:nth-child(3)) {
    grid-template-columns: repeat(3, 1fr);
}

.indiv-event-page-featured-events .upcoming-event-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.indiv-event-page-featured-events .event-pic-wrapper {
    flex: none;
    width: 100%;
}

.indiv-event-page-featured-events .event-details-summary {
    flex: none;
}

.event-pic-wrapper {
    flex: 50%;
    position: relative;
}

/* Alternate offset styles for event pics */
.upcoming-events-inner .upcoming-event-block:nth-child(odd) .event-pic-wrapper {
    position: relative;
}

.upcoming-events-inner .upcoming-event-block:nth-child(odd) .event-pic-wrapper .bg {
    top: -6px; left: -6px; right: 6px; bottom: 6px;
    position: absolute;
    background: #A5DFF9;
    border-radius: 16px 0 16px 0;
}

.upcoming-events-inner .upcoming-event-block:nth-child(even) .event-pic-wrapper {
    position: relative;
}

.upcoming-events-inner .upcoming-event-block:nth-child(even) .event-pic-wrapper .bg {
    top: 6px; left: -7px; right: 6px; bottom: -6px;
    position: absolute;
    background: #6DB663;
    border-radius: 16px 0 16px 0;
}

.event-pic {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 16px 0 16px 0;
  position: relative;
  z-index: 1;
}

/* Override for main event image on individual event page */
.indiv-event-page > .upcoming-events .event-pic {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

.event-details-summary {
    flex: 50%;
}

.event-details-summary > div {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Remove line limit for main event on individual event page */
.indiv-event-page .upcoming-events:first-of-type .event-details-summary > div {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

.indiv-event-page .line-after-text {
  font-size: 2rem;
  line-height: 2.5rem;
}

.indiv-event-page .all-events-btn {
  margin-top: 2rem;
}

.indiv-event-page .upcoming-event-block {
  padding: 2rem 2rem 3rem 2rem;
}

.indiv-event-page .event-registration-btn {
  margin-top: 1rem;
}

.event-details-summary h3 {
  font-family: "EB Garamond", Garamond, "Palatino Linotype", Palatino, serif;
    text-transform: capitalize;
    letter-spacing: normal;
    font-weight: 700;
    font-size: 2rem;
    margin-top: 0;
    line-height: 2.5rem;
}

.indiv-event-page-featured-events h3 {
  font-size: 1.75rem;
  line-height: 2.25rem;
}

.event-details-summary h4 {
  margin-top: 0;
  font-size: 1.111rem;
  line-height: 1.5rem;
  text-transform: capitalize;
  margin-bottom: 0;
}

.dates-times {
  margin: 1rem 0;
}

.event-details-summary .dates, .event-details-summary .times {
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  margin: 0;
}

.event-details-summary .dates {
  margin: 0;
  color: #17355E;
  font-weight: 700;
}

.read-more-link {
  display: inline-block;
  color: #17355E;
  text-decoration: none;
  font-weight: 700;
  text-decoration: underline;
  text-transform: uppercase;
}

.all-events-btn {
  display: flex;
  justify-content: center;
}

.block-img-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5%;
  padding: 0;
}

.block-link {
  aspect-ratio: 1/ 1;
  display: flex;
  padding: 10%;
  color: #FDFBF8;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: relative;
  border-radius: 16px 16px 0 0;
  isolation: isolate;
  flex-wrap: wrap;
}

.block-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(23, 53, 94,0.8);
  border-radius: 16px 16px 0 0;
  z-index: -1;
}

.block-link::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -2;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px 16px 0 0;
  background-position: center;
}

.block-link-worship::after {
  background-image: url(/assets/images/worship_home_block.webp);
}

.block-link-learn::after {
  background-image: url(/assets/images/Learn_home_block.webp);
}

.block-link-care::after {
  background-image: url(/assets/images/care_home_block.webp);
}

.block-link h2,
.block-link p {
    flex-basis: 100%;
    text-align: center;
}

.block-link h2 {
    font-size: 3rem;
    margin-bottom: 0;
    margin-top: 0;
}

.block-link p {
    font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
    margin-top: .5rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
}


@media screen and (max-width: 1024px) and (orientation: portrait) {
  .home .home-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .5) 15%,rgba(23, 53, 94, 0.1) 50% ), url("/assets/images/Home_hero_Collage_Portrait_v4_1024px.webp");
  }
}

@media screen and (max-width: 1024px) {
    .block-link p {
      font-size: 1rem;
    line-height: 1.5rem;
    }
}

@media screen and (max-width: 1110px) {
  .home .home-banner {
    margin-top: 100px;
  }
}

@media screen and (max-width: 1100px) {
  .mission-statement p {
    font-size: 2rem;
    line-height: 3rem;
  }
}

@media (max-width: 1024px) {
    .indiv-event-page-featured-events .upcoming-events-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
  /* For 3-column layout, switch to 2 columns on medium screens */
  .indiv-event-page-featured-events .upcoming-events-inner:has(.upcoming-event-block:nth-child(3)) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
    .block-link h2 {
        font-size: 2rem;
    }

    .block-link p {
        font-size: 0.875rem;
    }

    .block-link .green-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media screen and (max-width: 820px) {
  .welcome-inner {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 800px) {
  .mission-statement p  {
    font-size: 1.75rem;
    line-height: 2.5rem;
  } 
}

@media (max-width: 768px) {
  .indiv-event-page-featured-events .upcoming-events-inner {
      grid-template-columns: 1fr;
  }
  .home .home-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .5) 15%,rgba(23, 53, 94, 0.1) 50% ), url("/assets/images/Home_hero_Collage_Portrait_v4_1024px.webp?w=768");
  }
  
}

@media (max-width: 767px) {
  .upcoming-event-block {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* For both 2-column and 3-column layouts, switch to single column on small screens */
  .indiv-event-page-featured-events .upcoming-events-inner:has(.upcoming-event-block:nth-child(2):last-child),
  .indiv-event-page-featured-events .upcoming-events-inner:has(.upcoming-event-block:nth-child(3)) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
    .block-img-links {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
    .block-link h2 {
      font-size: 3rem;
    }
    .block-link .green-btn, .block-link p {
      font-size: inherit;
    }
    .block-link .green-btn {
      padding: .75rem 1.25rem;
    }
    .block-link p {
      font-size: 1.25rem;
      line-height: 1.75rem;
    }
}

@media (max-width: 680px) {
  .home .home-banner h1 {
    max-width: 570px;
    padding-top: 1rem;
  }
  .mission-statement p  {
    font-size: 1.5rem;
    line-height: 2.111rem;
  } 
  .decorative-heart {
    max-width: 250px;
  }
  .worship-band-tab {
    font-size: 1rem;
  }
  .home .home-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .5) 15%,rgba(23, 53, 94, 0.1) 50% ), url("/assets/images/Home_hero_Collage_Portrait_v4_1024px.webp?w=680");
  }
}

@media (max-width: 540px) {
  .mission-statement {
    height: fit-content;
    padding: 4rem 2rem;
  }
}

@media (max-width: 480px) {
  .home .home-banner {
    margin-top: 90px;
  }
  .home .home-banner h1 {
    font-size: clamp(3rem, 10vw, 4rem);
    line-height: clamp(3.5rem, 10vw, 4.5rem);
  }
  .worship-banner {
    padding: 1rem 1rem 2rem 1rem;
  }
  .worship-banner ul li, .worship-banner ul li p {
    margin: 0.25rem 0;
    font-size: 1rem;
  }
  .worship-banner ul {
    margin-top: 0.5rem;
  }
  .welcome-text-inner {
    margin-bottom: 1rem;
  }
  .welcome-inner {
    gap: 1rem;
  }
  .decorative-heart {
    max-width: 200px;
  }
  .mission-statement p {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .upcoming-event-block {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  .event-details-summary h3 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .home .home-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .5) 15%,rgba(23, 53, 94, 0.1) 50% ), url("/assets/images/Home_hero_Collage_Portrait_v4_1024px.webp?w=480");
  }
  
}


    






/* ---------------------------- */
/* ------ SECONDARY PAGE ------- */
/* --------------------------- */

.secondary-page .page-banner {
  display: flex;
  height: 35vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-top: 130px;
  position: relative;
}

.secondary-page .page-banner .inner {
  width: 100%;
  display: flex;
  align-items: center;
}

.secondary-page .page-banner h1 {
  /* font-size: 5rem; */
  font-size: clamp(3.5rem, 10vw, 5rem);
  line-height: clamp(4rem, 10vw, 5.5rem);
  position: relative;
  color: #FDFBF8;
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-style: normal;
  /* line-height: 4.5rem; */
  text-align: center;
  margin: 0 auto;
  padding: 1rem 0;
  animation: fadeIn 3s;
  -webkit-animation: fadeIn 3s;
  -moz-animation: fadeIn 3s;
  -o-animation: fadeIn 3s;
  -ms-animation: fadeIn 3s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media screen and (max-width: 1110px) {
  .secondary-page .page-banner {
    margin-top: 100px;
  }
}

@media screen and (max-width: 1024px) {
  .secondary-page .page-banner {
    height: 25vh;
  }
}

@media screen and (max-width: 480px) {
  .secondary-page .page-banner {
    margin-top: 90px;
  }
}







/* ---------------------------- */
/* ------ ABOUT US PAGE ------- */
/* --------------------------- */

.about-page .page-banner {
  background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/About_Us_Header.webp");
  background-position: top;
}


.history-banner::after {
    background-image: 
        linear-gradient(rgba(23, 53, 94, 0.6), rgba(23, 53, 94, 0.6)),
        url(/assets/images/history_banner_bkgd.jpg);
}

.photo-trio .indiv-photo {
    flex: 30%;
    min-width: 200px;
}

.about-photo-trio .indiv-photo {
    min-width: 0;
}

.about-photo-trio .indiv-photo:nth-child(1) {
    flex: 1.25 1 0;
}

.about-photo-trio .indiv-photo:nth-child(2) {
    flex: 0.67 1 0;
}

.about-photo-trio .indiv-photo:nth-child(3) {
    flex: 1 1 0;
}

.about-photo-trio .indiv-photo img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.leadership-staff .side-by-side-left img {
  object-position: 80% 50%;
}

.our-history {
  margin-bottom: 2rem;
}

.history-photo-duo {
  align-items: stretch;
  gap: 2rem;
  margin-top: 0;
}

.history-photo-duo .indiv-photo-left {
  flex: 60%;
  display: flex;
}

.history-photo-duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.history-photo-duo .indiv-photo-right {
  flex: 35%;
  display: flex;
}

#plan-a-visit {
    margin-bottom: 2rem;
  }
  .photo-trio {
    margin: 2rem auto;
  }

@media screen and (max-width: 1100px) {
  .about-photo-trio .indiv-photo img {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .about-photo-trio .indiv-photo img {
    height: 250px;
  }
}

@media screen and (max-width: 680px) {
  .about-photo-trio .indiv-photo img {
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .about-photo-trio {
    flex-direction: column;
  }
  .about-photo-trio .indiv-photo {
    width: 100%;
    max-width: 100%;
  }
  .about-photo-trio .indiv-photo img {
    width: 100%;
    height: auto;
  }
  .about-photo-trio .indiv-photo .bg {
    max-width: 100%;
  }
}





/* ---------------------------- */
/* ------ LEADERSHIP PAGE ------- */
/* --------------------------- */

.rector-div-inner, .staff-div-inner, .vestry-div {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.vestry-div {
  justify-content: center;
}

.rector-div-inner .bio-photo {
  flex: 30%;
  position: relative;
}

.rector-div-inner .bio-text {
  flex: 65%;
}

.rector-div .green-btn {
  margin-bottom: 1rem;
}

.staff-div-inner {
  flex-wrap: wrap;
  width: 100%;
}

.staff-div-inner .staff-listing {
  flex: 1 1 calc(33.333% - 1.334rem);
  max-width: calc(33.333% - 1.334rem);
  min-width: 250px;
}

.staff-listing .bio-photo {
  width: 100%;
}

.staff-listing .leadership-pic {
  width: 100%;
  aspect-ratio: 8 / 10;
  object-fit: cover;
  object-position: center;
  margin-bottom: .5rem;
}

.staff-listing .bg {
  width: 100%;
}

.staff-div {
  margin: 4rem 0;
}

.rector-div h4, .staff-div h4, .vestry-div h4 {
  font-size: 1.333rem;
  line-height: 1.667rem;
  margin-top: 0;
  margin-bottom: 0;
}

.our-vestry h4 {
  margin-bottom: 1rem;
}

.rector-div .title, .staff-div .title, .vestry-div .title {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-top: 0;
}

.staff-div .title {
  margin-bottom: 0;
}

.vestry-div .title:last-of-type {
  margin-bottom: 0;
}

.vestry-div h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.vestry-officers {
  padding-right: 2rem;
  border-right: 3px solid #478A40;
}

.staff-listing .light-btn {
  position: absolute;
  bottom: 1rem;
  z-index: 1;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

@media screen and (max-width: 720px) {
  .rector-div-inner, .staff-div-inner {
    flex-wrap: wrap;
  }

}

@media screen and (max-width: 680px) {
  .vestry-div {
    flex-wrap: wrap;
  }
  .vestry-officers, .our-vestry {
    width: 100%;
  }
  .vestry-officers {
    border-right: none;
    padding-bottom: 2rem;
    border-bottom: 3px solid #478A40;
  }
}

@media screen and (max-width: 480px) {
  .staff-div-inner .staff-listing {
    max-width: 100%;
  }
}






/* ------------------------------------ */
/* ------ RESERVE OUR SPACE PAGE ------- */
/* ----------------------------------- */

.reserve-page .btn-center {
  margin-top: 2rem;
}




/* ---------------------------- */
/* ------ WORSHIP PAGE ------- */
/* --------------------------- */

.worship-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/worship_header_V2.webp");
}

.sunday-services {
    gap: 2rem;
    flex-wrap: nowrap;
}

.sunday-services .indiv-photo {
    flex: 25%;
}

.sunday-services .indiv-photo img {
    max-width: 350px;
}

.sunday-services .indiv-photo .bg {
    max-width: 350px;
}

.sunday-services .sunday-services-text {
    flex: 70%;
}

.two-column {
    display: flex;
    gap: 4rem;
}

.two-column .sermons-reflections, .two-column .sacraments {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 2rem 0;
    text-align: center;
}

.two-column img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px 0 16px 0;
}

.two-column .sermons-reflections .offset-top-left .bg {
    background-color: #6DB663;
}

.sermons-reflections::before, .sacraments::before, .sermons-reflections::after, .sacraments::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #478A40;
    border-radius: 4px;
}

.sermons-reflections::before, .sacraments::before {
    top: 0;
}

.sermons-reflections::after, .sacraments::after {
    bottom: 0;
}

.sermons-reflections .line-after-text::after, .sacraments .line-after-text::after {
    display: none;
}

.sermons-reflections .line-after-text, .sacraments .line-after-text {
    margin-top: 1rem;
    justify-content: center;
    white-space: normal;
}

.prayer-banner {
    margin-bottom: 0;
    height: 350px;
}

.prayer-banner::after {
    background-image:
        linear-gradient(rgba(23, 53, 94, 0.7), rgba(23, 53, 94, 0.7)),
        url(/assets/images/prayer_requests.webp);
}

.pathways-logo {
  float: right;
  max-width: 500px;
  margin: 0 0 1rem 1.5rem;
}



@media screen and (max-width: 1023px) {
  .pathways-logo {
    max-width: 400px;
  }
}

@media screen and (max-width: 900px) {
    .two-column {
        gap: 2rem;
    }

    .two-column .sermons-reflections, .two-column .sacraments {
        padding: 1.5rem 0;
    }
}

@media screen and (max-width: 880px) {
  .sunday-services {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
  .pathways-logo {
    max-width: 350px;
  }
}

@media screen and (max-width: 767px) {
    .two-column {
        flex-direction: column;
        gap: 2rem;
    }
    .sacraments::before {
      display: none;
    }

}

@media screen and (max-width: 680px) {
    #special-seasons .line-after-text {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        white-space: normal;
    }
    #special-seasons .line-after-text::after {
        transform: none;
        margin-left: 0;
    }
    .prayer-banner {
      height: max-content;
      padding: 4rem 2rem;
    }
    .pathways-logo {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .sermons-reflections .line-after-text, .sacraments .line-after-text {
  margin-bottom: .75rem;
}
}





/* ---------------------------- */
/* ------ SACRAMENTS PAGE ------- */
/* --------------------------- */

.sacraments-quote {
  text-align: center;
  margin: 2rem auto 3rem;
  padding: 0 2rem;
  max-width: 1000px;
  border: none;
}

.sacraments-quote p {
  font-size: 2rem;
  line-height: 2.5rem;
  font-style: italic;
  color: #17355E;
  margin-bottom: 0.5rem;
}

.sacraments-quote footer {
  font-size: 1rem;
  color: #17355E;
  background-color: transparent;
  font-weight: 600;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  border: none;
}

.sacraments-quote footer cite {
  font-style: normal;
}

.holy-baptism, .holy-eucharist, .marriage {
  display: flex;
  gap: 2rem;
  /* flex-wrap: wrap; */
  justify-content: center;
  margin-bottom: 2rem;
}

.holy-baptism h3, .holy-eucharist h3, .marriage h3 {
  margin-top: 0;
}

.holy-baptism-text, .holy-eucharist-text, .marriage-text {
  flex: 65%;
}

.holy-baptism-pic, .holy-eucharist-pic, .marriage-pic {
  flex: 30%;
}

.episcopal-info {
  padding: 2rem;
  position: relative;
}

.episcopal-info-inner {
  display: flex;
  gap: 2rem;
}

.episcopal-info h2 {
  color: #17355E;
  font-size: 2.667rem;
  line-height: 3rem;
  white-space: nowrap;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.episcopal-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #17355E;
  border-radius: 4px;
  margin: 0 2rem;
}

.episcopal-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #17355E;
  border-radius: 4px;
  margin: 0 2rem;
}

.shield {
  flex: 12%;
}

.shield img {
  width: 100%;
  height: auto;
  max-width: 100px;
}

.episcopal-info-text {
  flex: 88%;
}

@media screen and (max-width: 900px) {
  .holy-baptism-text, .holy-eucharist-text, .marriage-text {
  flex: 50%;
  }
}

@media screen and (max-width: 767px) {
  .episcopal-info-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media screen and (max-width: 680px) {
  .holy-baptism, .holy-eucharist, .marriage {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .holy-baptism-pic, .holy-eucharist-pic, .marriage-pic {
    flex: 100%;
  }
  .holy-baptism-pic {
    order: 1;
  }
  .holy-baptism-text {
    order: 2;
  }
}

@media screen and (max-width: 580px)  {
  .sacraments-quote {
    padding: 0;
  }
}

@media screen and (max-width: 520px) {
  .episcopal-info h2 {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: .5rem;
  }
}

@media screen and (max-width: 480px) {
  .episcopal-info h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
  .sacraments-quote p {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
}






/* ---------------------------- */
/* ------ SERMONS PAGE ------- */
/* --------------------------- */

.sermon-block {
  margin: 4rem 0;
}

.sermons-intro + .sermon-block {
  margin-top: 2rem;
}

.sermon-date-header {
  border-radius: 16px 0 16px 0;
  background-color: #17355E;
  padding: .5rem 1rem;
}

.sermon-date-header h3 {
  color: #fdfbf8;
  margin: 0;
  text-transform: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: normal;
  font-family: "EB Garamond", Garamond, "Palatino Linotype", Palatino, serif;
}

.sermon-block-flex {
  display: flex;
  gap: 2rem;
}

.sermon-video {
  flex: 60%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Override any wrapper divs in the embed code (like Vimeo's responsive wrapper) */
.sermon-video > * {
  position: static !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Responsive video wrapper - force all embedded videos to fill container */
.sermon-video iframe,
.sermon-video video,
.sermon-video embed,
.sermon-video object {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.sermon-details {
  flex: 40%;
  margin-top: 1rem;
}

.sermon-details .preacher {
  margin-bottom: 0;
}

.preacher span, .scripture-reading span {
  font-weight: 700;
}

.sermon-pdf-btn {
  margin-top: 1rem;
}

.sunday-coffee-div {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  gap: 2rem;

}

.sunday-coffee-div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #A5DFF9;
    border-radius: 4px;
}

.sunday-coffee-div::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #A5DFF9;
    border-radius: 4px;
}

.sunday-coffee-icon {
  display: flex;
  /* align-items: stretch;
  align-self: stretch; */
}

.sunday-coffee-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.sunday-coffee-btn {
  margin-left: auto;
}

.sunday-coffee-details {
  padding: 2rem 0;
}

.sunday-coffee-label {
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  color: #17355E;
  font-size: 1.222rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
}

.sunday-coffee-div .sunday-coffee-title {
  font-family: "EB Garamond", Garamond, "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.5rem;
  letter-spacing: normal;
  line-height: 2rem;
  margin-top: 0;
}

.sunday-coffee-subtitle {
  font-size: 1.25rem;
    font-style: italic;
    line-height: 1.75rem;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .sermon-block-flex {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .sermon-details {
    margin-top: 0;
  }
  .sermon-pdf-btn {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  .sunday-coffee-div {
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 2rem;
  }
  .sunday-coffee-icon {
    flex: 0 0 auto;
  }
  .sunday-coffee-details {
    flex: 1 1 0%;
    min-width: 0;
    padding-bottom: 1rem;
  }
  .sunday-coffee-btn {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

@media screen and (max-width: 620px) {
  .sermons-page .line-after-text {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 1rem;
  }
}





    


/* ---------------------------- */
/* ------ LEARN PAGE ------- */
/* --------------------------- */

.learn-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/learn_header.webp");
}

.bible-study, .children-youth {
  gap: 2rem;
  flex-wrap: nowrap;
}

.bible-study-text, .children-youth-text {
  flex: 60%;
}

.bible-study-pics, .children-youth-pic {
  flex: 37%;
}

.bible-study-pics .offset-top-left {
  margin-top: 2rem;
}

.small-groups .photo-duo {
  margin-top: 2rem;
}

.photo-duo {
  align-items: stretch;
}

.photo-duo .indiv-photo-left {
  flex: 35%;
  display: flex;
}

.photo-duo .indiv-photo-left img,
.photo-duo .indiv-photo-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-duo .indiv-photo-right {
  flex: 60%;
  display: flex;
}

@media screen and (max-width: 680px) {
  .bible-study, .children-youth {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .children-youth-pic {
    order: 2
  }
}



/* ---------------------------- */
/* ------ CARE PAGE ------- */
/* --------------------------- */

.care-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/care_header.webp");
    background-position: 50% 10%;
}

.community-hope, .outreach {
  gap: 2rem;
  flex-wrap: nowrap;
}

.community-hope-text, .outreach-text {
  flex: 0.6;
}

.community-hope-pics, .outreach-pic {
  flex: 0.4;
}

.anniversary-banner {
  margin-bottom: 0;
}

.anniversary-banner::after {
    background-image: linear-gradient(rgba(23, 53, 94, 0.6), rgba(23, 53, 94, 0.6)), url(/assets/images/150th_banner_bkgd.webp);
}

.anniversary-banner .banner-with-overlay-inner {
  max-width: 1000px;
}

.community-hope-logo {
  float: right;
  max-width: 250px;
  margin: 0 0 1rem 1.5rem;
}

.james-river-logo {
  float: left;
  max-width: 200px;
  margin: 0 1.5rem 0 0;
}

@media screen and (max-width: 900px) {
    .community-hope .line-after-text { 
      flex-wrap: wrap;
    }
    .community-hope .line-after-text::after {
      margin-left: 0;
    }
    .community-hope-logo {
      max-width: 200px;
    }
}

@media screen and (max-width: 680px) {
  .community-hope, .outreach {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .community-hope-text, .outreach-text {
  flex-basis: 100%;
  }
  .community-hope-pics, .outreach-pic {
  flex-basis: 100%;
  }
   .outreach-pic{
    order: 2;
   }
}

@media screen and (max-width: 480px) {
   .community-hope-logo {
      max-width: 170px;
    }
}

@media screen and (max-width: 420px) {
  .james-river-logo {
    max-width: 160px;
  }
}




/* ---------------------------- */
/* ------ 150th PAGE ------- */
/* --------------------------- */

.anniversary-150th .rich-text {
  display: flex;
  align-items: flex-start;
}

.anniversary-logo {
    float: left;
    max-width: 120px;
    margin: 0 1rem 0 0;
}

.anniversary-150th-text .green-btn {
  margin-top: 1rem;
}

@media screen and (max-width: 1023px) {
  .anniversary-150th .line-after-text {
    flex-wrap: wrap;
    white-space: normal;
  }
  .anniversary-150th .line-after-text::after {
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .anniversary-150th .rich-text {
    display: block;
  }
  .anniversary-logo-div {
    float: left;
    margin: 0 1rem 0.5rem 0;
  }
}


/* ---------------------------- */
/* ------ NEWS PAGE ------- */
/* --------------------------- */

.news-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/News_Header.webp");
    background-position: 50% 65%;
}

.newsletter-banner {
  margin-bottom: 0;
  height: 350px;
  margin-top: 8rem;
}

.newsletter-banner::after {
    background-image: linear-gradient(rgba(59, 117, 57, 0.8), rgba(59, 117, 57, 0.9)), url(/assets/images/About_Us_Header.webp);
    background-position: bottom;
}

.newsletter-banner .banner-with-overlay-inner {
  max-width: 1000px;
}

.newsletter-btns {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-btns .light-btn, .staff-listing .light-btn {
  color: #17355E;
  background-color: #FDFBF8;
}

.newsletter-btns .light-btn:hover,
.newsletter-btns .light-btn:focus,
.staff-listing .light-btn:hover,
.staff-listing .light-btn:focus {
  background-color:#A5DFF9;
  transform: translateY(-2px);
}



@media screen and (max-width: 680px) {
  .newsletter-banner {
    height: max-content;
    padding: 4rem 2rem;
  }
}

        



/* ---------------------------- */
/* ------ GIVE PAGE ------- */
/* --------------------------- */

.give-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/give_header.webp");
    background-position: center;
}

.stewardship-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.stewardship-logo img {
  max-width: 250px;
}

#pledge-form {
  margin-top: 3rem;
}

.give-page .form-div {
  background-color: #C4DAC2;
  padding: 2rem;
  border-radius: 8px;
}

.give-page .form-div .line-after-text {
  color: inherit;
}

@media screen and (max-width: 768px)  {
  .stewardship-logo img {
  max-width: 200px;
  }
}


@media screen and (max-width: 640px) {
  .give-page .form-div .line-after-text {
    white-space: normal;
  }

}

@media screen and (max-width: 480px)  {
  .stewardship-logo img {
  max-width: 180px;
  }
}





/* -------------------------- */
/* ------CONTACT US PAGE ---- */
/* -------------------------- */

.contact-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/Contact_header.webp");
    background-position: center;
}

.rector-privacy {
  font-style: italic;
}





/* ---------------------- */
/* ------FORM STYLES---- */
/* ---------------------- */

.form-div {
    margin-top: 3rem;
}

input, .form-select, textarea {
  width: 100%;
  padding: 12px 20px;
  margin: .5rem 0;
  box-sizing: border-box;
  font-size: 1rem;
  background-color: #fdfbf8;
  border: 1px solid #17355E;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #478A40;
  outline-offset: 2px;
}

fieldset {
  border: none;
  /* padding-left: 30px; */
  margin-bottom: 2rem;
}

.form-item {
  margin-bottom: 1rem;
}

/* .address-form-item {
    margin-top: 3rem;
}

.phone-form-item {
    margin-bottom: 3rem;
} */

fieldset legend {
  margin-bottom: .5rem;
  padding-top: 1rem;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
}

fieldset label {
  font-weight: normal;
  line-height: 2rem;
  font-size: 1rem;
  padding-left: 30px;
}

fieldset label:focus-visible {
  outline: 3px solid #d71ef7;
}

/* container */
label {
  display:block;
  margin-bottom:4px;
  position: relative; /* to contain absolute elements */
  /* padding-left:30px; /* free space for custom radio button */
  cursor: pointer;
  font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: capitalize;
}

.anonymous label {
  padding-left: 30px;
}

.tabset label {
  margin-bottom: 0; /* no margin under tabs (eg fellows page) */
}
/* hide default radio button  */
label input[type=checkbox], label input[type=radio] {
  position: absolute; /* prevent taking any space */
  /* cross-browser hidingg */
  appearance: none;
  opacity: 0;
  width:0;
  height:0;
}

label input:focus-visible + span {
  outline: 3px solid #d71ef7;
}

/* custom radio button */
label span {
  position: absolute;
  /* position to the free space in <label> */
  top:6px;
  left:0;
  width:20px;
  height:20px;
  background-color: #ddd;
  /* border-radius: 50%; */
  transition: .3s background-color; /* slight transition */
}

/* the check icon */
label span:after {
  content: "";
  position: absolute;
  display: none;

  /* middle */
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  background-color:#fff;
  width:8px;
  height:8px;
  /* border-radius:50%; */
}

label:hover span {
  background-color: #ccc;
}

/**** Here's the trick ***/
label input:checked ~ span {
  background-color: #005291;
}
label input:checked ~ span:after {
  display:block;
}

form.email-mismatch button[type="submit"] {
  background-color: lightgray;
  color: darkgray;
}

form.email-mismatch input[name="confirm-email"] {
  border-color: #B91C1C;
  color: #B91C1C;
}

form p.email-mismatch-error {
  display: none;
}

form p.text-size-limit {
  text-transform: none;
  margin-bottom: 2rem;
  font-style: italic;
  font-weight: lighter;
  margin-top: 0;
}

form p.text-size-limit.warning {
  color: #B91C1C;
}

form.email-mismatch p.email-mismatch-error {
  display: block;
  color: #B91C1C;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
}

.hidden {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#reserve-form .required, #pledge-form .required, #contact-form .required, #contact-rector .required {
  color: #B91C1C;
  position: relative;
  background-color: transparent;
  vertical-align: super;
  font-size: 1.25rem;
  /* top: 0px; */
  line-height: 0rem;
}

.form-two-column {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
}

.form-two-column .form-item {
  flex: 50%;
}

.half-width {
  width: 48.5%;
  padding-right: 1rem;
}

.contact-preferences {
  padding-left: 0;
  margin-bottom: 1rem;
}

/* .form-row input[type="time"] { width: 100%; max-inline-size: 22rem; }
.hint { font-size: 0.9rem; color: #555; } */

.hint {
  font-style: italic;
}

.submit-btn {
    margin-top: 3rem;
}

.thank-you-text {
  font-style: italic;
  font-size: 1.5rem;
  line-height: 2.25rem;
  text-align: center;
  color: #17355E;
}

.recaptcha-fieldset {
  margin: 0;
  padding-left: 0;
}

@media only screen and (max-width: 600px) {
  .form-two-column {
    display: block;
  }

  .form-item {
    overflow: hidden;
  }

  input[type="date"],
  input[type="time"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    min-height: 48px;
    height: auto;
  }
}

@media only screen and (max-width: 480px) {
  .half-width {
    width: 100%;
  }
}

/* Scale reCAPTCHA on narrow screens */
@media only screen and (max-width: 430px) {
  .recaptcha-fieldset {
    overflow: hidden;
  }

  .recaptcha-fieldset > div {
    transform: scale(0.9);
    transform-origin: 0 0;
  }
}

@media only screen and (max-width: 360px) {
  .recaptcha-fieldset > div {
    transform: scale(0.77);
    transform-origin: 0 0;
  }
}


/* ---------------------------- */
/* ------ ERROR PAGE ------- */
/* --------------------------- */

.error-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/404_Header_V2.webp");
    background-position: 50% 60%;
}


/* ----------------- */
/* ------FOOTER----- */
/* ----------------- */

footer {
    background-color: #17355E;
    color: #FDFBF8;
}

footer a {
    color: #FDFBF8;
    text-decoration: none;
    font-weight: 600;
}

footer p {
    margin-bottom: 0;
}

footer .max-width-1200 {
    margin-top: .5%;
    margin-bottom: 0;
    padding: 2rem;
}

footer .logo img {
    max-width: 200px;
}

.three-column {
    align-items: stretch;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.phone-office-hours {
    border-left: 1px solid;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hours {
    margin-top: 0.5rem;
}

.footer-nav {
    border-left: 1px solid;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 2rem;
}

.footer-nav ul {
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-nav ul li {
    font-family: "Nunito", -apple-system, "Segoe UI", Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 0.889rem;
    font-style: normal;
    text-transform: uppercase;
    margin-bottom: .625rem;
}

footer address {
    font-style: normal;
    margin-top: .5rem;
}

.maps-link {
    margin-bottom: 0;
    margin-top: .5rem;
}

.maps-link a, .footer-phone a {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    text-decoration: none;
    white-space: nowrap;
    font-family: "EB Garamond", Garamond, "Palatino Linotype", Palatino, serif;
    font-weight: normal;
    transition: color ease 0.3s;
}

.maps-link a:hover,
.maps-link a:focus,
.footer-phone a:hover,
.footer-phone a:focus,
.site-map-and-policy-links a:hover,
.site-map-and-policy-links a:focus,
.footer-nav ul li a:hover,
.footer-nav ul li a:focus {
    color: #A5DFF9;
}

footer svg {
    max-height: 18px;
    fill: #FDFBF8;
    flex-shrink: 0;
}

.copyright {
  font-size: .85rem;
  margin-top: 1rem;
}

.site-map-and-policy-links a {
  font-weight: normal;
  font-size: .75rem;
}

.footer-bottom {
    border-top: 1px solid;
}

@media (max-width: 830px) {
  .three-column {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .contact-section {
    order: 2;
  }
  .phone-office-hours {
    order: 3;
  }
  .footer-nav {
    order: 1;
    width: 100%;
    border-left: none;
    padding-left: 0;
  }
  .footer-nav ul {
    display: flex;
    gap: 0.25rem 1rem;
    flex-wrap: wrap;
  }
  .footer-nav ul li {
    border-right: 1px solid;
    padding-right: 1rem;
  }
  .footer-nav ul li:last-of-type {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .phone-office-hours {
    border-left: none;
    padding-left: 0;
    width: 100%;
    border-top: 1px solid;
    padding-top: 1rem;
  }
}


/* ---------------------------------- */
/* -------- Modal Styles ------------ */
/* ---------------------------------- */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #fdfbf8;
  margin: 5% auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
  display: flex;
  flex-direction: column;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  background-color: #17355E;
  color: #fdfbf8;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.modal-close {
  background: none;
  border: none;
  color: #fdfbf8;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-close:focus-visible {
  outline: 3px solid #d71ef7;
  outline-offset: 2px;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-body h3 {
  color: #17355E;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.modal-body h3:first-of-type {
  margin-top: 0;
}

.modal-body p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

/* ---------------------------------- */
/* -------- Checkbox Styles --------- */
/* ---------------------------------- */

.checkbox-item {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-transform: none !important;
}

.checkbox-label input[type="checkbox"] {
  position: relative !important;
  opacity: 1 !important;
  appearance: auto !important;
  margin-top: 0.25rem;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-text {
  position: static !important;
  line-height: 1.6;
  flex: 1;
  word-wrap: break-word;
  width: auto !important;
  height: auto !important;
  background-color: transparent !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

.checkbox-text::after {
  display: none !important;
}

.checkbox-text a {
  color: #17355E;
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
}

.checkbox-text a:hover {
  color: #2a5a8e;
}

/* Contact Form Checkboxes */
/* ---------------------------------- */

.contact-checkbox-group {
  margin: 1.5rem 0;
}

.contact-checkbox-group fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.contact-checkbox-group legend {
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0;
  font-size: 1rem;
}

.contact-checkbox-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.contact-checkbox-column {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  text-transform: none !important;
  font-weight: 400;
  line-height: 1.4;
}

.contact-checkbox-label input[type="checkbox"] {
  position: relative !important;
  opacity: 1 !important;
  appearance: auto !important;
  margin-top: 0.25rem;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  flex-shrink: 0;
}

@media screen and (max-width: 600px) {
  .contact-checkbox-columns {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ---------------------------------- */
/* -------- Sitemap Styles -------- */
/* ---------------------------------- */

.sitemap-page .page-banner {
    background-image: linear-gradient( to bottom,rgba(23, 53, 94, .6) 0%,rgba(23, 53, 94, .3) 90% ), url("/assets/images/Contact_header.webp");
    background-position: center;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.sitemap-section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  color: #17355E;
}

.sitemap-section h2 a {
  color: #17355E;
  text-decoration: none;
  font-weight: 600;
}

.sitemap-section h2 a:hover {
  color: #5E7D3A;
  text-decoration: underline;
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-section ul li {
  margin: 0.75rem 0;
}

.sitemap-section ul li a {
  color: #2A2A2A;
  text-decoration: none;
  font-size: 1.05rem;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.sitemap-section ul li a:hover {
  color: #5E7D3A;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sitemap-content {
    padding: 2rem 1.5rem;
  }
}