/**
 * Set up a decent box model on the root element
 */
html {
  box-sizing: border-box;
}

/**
 * Make all elements from the DOM inherit from the parent box-sizing
 * Since `*` has a specificity of 0, it does not override the `html` value
 * making all elements inheriting from the root box-sizing value
 * See: https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
 */
*,
*::before,
*::after {
  box-sizing: inherit;
}

@font-face {
  font-family: PlayfairDisplay;
  src: url("/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("/fonts/PlayfairDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("/fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("/fonts/PlayfairDisplay-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: PlayfairDisplay;
  src: url("/fonts/PlayfairDisplay-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: Source Sans 3;
  src: url("/fonts/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
/**
 * Basic typography style for copy text
 */
.grid-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1 columns in a row */
  grid-column-gap: 40px;
  grid-row-gap: 50px;
}
.grid-container.ndkh-events-grid {
  grid-template-columns: repeat(1, 1fr);
}
@media (width >= 990px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns in a row */
  }
  .grid-container.ndkh-events-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.grid-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px 20px 20px 0px;
  box-shadow: 6px 4px 12px 0px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.grid-item.ndkh-events-card[data-event-url] {
  cursor: pointer;
}
.grid-item.ndkh-events-card[data-event-url]:focus-visible {
  outline: 3px solid #460028;
  outline-offset: 3px;
}
.grid-item:hover {
  transform: translateY(-2px);
  box-shadow: 10px 12px 22px 0px rgba(0, 0, 0, 0.12);
}
@media (width >= 768px) {
  .grid-item {
    flex-direction: row;
    min-height: 420px;
  }
}
@media (width >= 990px) {
  .grid-item {
    min-height: 460px;
  }
}
.grid-item .text-content {
  position: relative;
  align-self: stretch;
  padding: 20px;
}
@media (width >= 768px) {
  .grid-item .text-content {
    width: 50%;
  }
}
.grid-item .text-content h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 5px; /* Optional: adjust the padding to control space between text and line */
  font-family: "PlayfairDisplay", sans-serif, Sans-serif;
  font-size: clamp(1.625rem, 1.35rem + 0.9vw, 1.9375rem);
  line-height: clamp(2rem, 1.7rem + 0.9vw, 2.375rem);
  font-weight: 700;
  color: #460028;
}
.grid-item .text-content h2:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 1px; /* Line thickness */
  background-color: #460028; /* Line color, adjust as needed */
  display: block;
}
.grid-item .text-content .text-description {
  margin-bottom: 24px;
  color: #5b1f44;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.grid-item .text-content p {
  font-family: "SourceSans3", sans-serif, Sans-serif;
  font-size: clamp(0.9375rem, 0.87rem + 0.22vw, 1rem);
  line-height: 18px;
  font-weight: 500;
  color: #460028;
  word-break: break-word;
  margin: 0 0 10px;
}
.grid-item .text-content p:last-child {
  margin-bottom: 0;
}
.grid-item .text-content p a {
  color: #460028;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.grid-item .text-content p a:hover {
  color: #7a1b52;
}
.grid-item .text-content .icon {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 4px;
}
.grid-item .image-container {
  position: relative;
  width: 100%; /* Fixed width for the image container */
  height: 280px; /* Fixed height for the image container */
  background-size: cover;
  background-position: center;
  border-radius: 20px 0px 0px 0px;
}
@media (width >= 768px) {
  .grid-item .image-container {
    width: 50%;
    height: 100%;
  }
}
.grid-item .divider {
  position: absolute;
  width: 42px;
  bottom: auto;
  top: 0;
  right: 0;
  left: auto;
  translate: 50% -50%;
}
@media (width >= 768px) {
  .grid-item .divider {
    translate: -50% 50%;
    right: auto;
    left: 0;
    bottom: 0;
    top: auto;
    width: 64px;
  }
}

.churchContainer {
  margin: 0 auto;
}

.church-container {
  display: grid;
  grid-template-columns: auto;
}
@media (width >= 768px) {
  .church-container {
    grid-template-columns: calc(40% - 20px) calc(60% - 20px);
    gap: 40px;
  }
}

.church-details img {
  width: 90%;
  height: 100%;
  object-fit: contain;
}

@media (width >= 768px) {
  .church-events {
    width: 70%;
  }
}
.church-events .eventKurz {
  font-weight: 400;
}

.event-title {
  margin-block-end: 2em;
}

.church-details {
  margin-block-end: 2em;
}

.church-events li {
  margin-bottom: 20px;
  color: #460028;
}

.churchListWrap {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.churchList {
  list-style: none;
  padding: 0;
  margin: 0;
}
.churchList .churchName {
  margin-bottom: 5px;
}
.churchList .churchLink {
  text-decoration: none;
  color: #460028;
  font-family: "SourceSans3", sans-serif;
  font-weight: bold;
}
.churchList .churchLink:hover {
  text-decoration: underline;
  font-family: "SourceSans3", sans-serif;
}

.ajax-loader img {
  display: none;
  vertical-align: middle;
  margin-left: 10px;
}

#churchDetails {
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#churchDetails h2 {
  font-family: "PlayfairDisplay", sans-serif;
  color: #460028;
  font-size: clamp(1.75rem, 1.45rem + 0.9vw, 1.9375rem);
  font-weight: 700;
  line-height: clamp(2.125rem, 1.85rem + 0.8vw, 2.375rem);
  word-break: break-word;
  hyphens: auto;
}
#churchDetails a {
  font-family: "SourceSans3", sans-serif;
  color: #460028;
  font-size: clamp(0.9375rem, 0.87rem + 0.22vw, 1rem);
  font-weight: 700;
  text-decoration: none;
}
#churchDetails p {
  font-family: "SourceSans3", sans-serif;
  color: #460028;
  font-size: clamp(0.9375rem, 0.87rem + 0.22vw, 1rem);
  text-decoration: none;
  margin-block-end: 4px;
}
#churchDetails ul {
  list-style: none;
  padding: 0;
}

#districtFilter {
  width: 100%;
  border: 1px solid #666;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}

.backButton {
  display: block;
  font-family: "SourceSans3", sans-serif;
  background-color: #ffff00;
  color: #460028;
  margin-bottom: 20px;
  font-size: clamp(0.9375rem, 0.87rem + 0.22vw, 1rem);
  font-weight: 400;
  text-transform: capitalize;
  line-height: 1em;
  border-radius: 100px;
  padding: 20px 30px;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border: none;
}
.backButton:hover {
  background-color: #daccd4;
}

.grid-container__single {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1 columns in a row */
  grid-column-gap: 40px;
  grid-row-gap: 50px;
}

.grid-item__single {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px 20px 20px 0px;
  box-shadow: 6px 4px 12px 0px rgba(0, 0, 0, 0.1);
}
@media (width >= 768px) {
  .grid-item__single {
    flex-direction: row;
    min-height: 340px;
  }
}
.grid-item__single .text-content {
  position: relative;
  align-self: stretch;
  padding: 20px;
}
@media (width >= 768px) {
  .grid-item__single .text-content {
    width: 50%;
  }
}
.grid-item__single .text-content h2 {
  position: relative;
  display: inline-block;
  font-family: "PlayfairDisplay", sans-serif, Sans-serif;
  font-size: clamp(1.625rem, 1.35rem + 0.9vw, 1.9375rem);
  line-height: clamp(2rem, 1.7rem + 0.9vw, 2.375rem);
  font-weight: 700;
  color: #460028;
}
.grid-item__single .text-content h2:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 20%;
  height: 1px; /* Line thickness */
  background-color: #460028; /* Line color, adjust as needed */
  display: block;
}
.grid-item__single .text-content .text-description {
  margin-bottom: 30px;
}
.grid-item__single .text-content p {
  font-family: "SourceSans3", sans-serif, Sans-serif;
  font-size: clamp(0.9375rem, 0.87rem + 0.22vw, 1rem);
  line-height: 18px;
  font-weight: 500;
  color: #460028;
  word-break: break-word;
}
.grid-item__single .text-content .icon {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 4px;
}
.grid-item__single .image-container {
  position: relative;
  width: 100%; /* Fixed width for the image container */
  height: 280px; /* Fixed height for the image container */
  background-size: cover;
  background-position: center;
  border-radius: 20px 0px 0px 0px;
}
@media (width >= 768px) {
  .grid-item__single .image-container {
    width: 50%;
    height: 100%;
  }
}
.grid-item__single .divider {
  position: absolute;
  width: 42px;
  bottom: auto;
  top: 0;
  right: 0;
  left: auto;
  translate: 50% -50%;
}
@media (width >= 768px) {
  .grid-item__single .divider {
    translate: -50% 50%;
    right: auto;
    left: 0;
    bottom: 0;
    top: auto;
    width: 64px;
  }
}

.loadMoreButton {
  display: block;
  margin: 0 auto;
  margin-top: 40px;
  font-family: "SourceSans3", sans-serif;
  background-color: #ffff00;
  color: #460028;
  margin-bottom: 20px;
  font-size: clamp(0.9375rem, 0.87rem + 0.22vw, 1rem);
  font-weight: 400;
  line-height: 1em;
  border-radius: 100px;
  padding: 20px 30px;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border: none;
}
.loadMoreButton:hover {
  background-color: #daccd4;
}

.ndkh-events-sentinel {
  width: 100%;
  height: 1px;
}

.ndkh-events-load-status {
  margin: 20px 0 0;
  color: #5b1f44;
  font-family: "SourceSans3", sans-serif, Sans-serif;
  font-size: clamp(0.875rem, 0.84rem + 0.12vw, 0.9375rem);
}

.ndkh-events-load-more-fallback {
  margin-top: 20px;
}

.ndkh-events-load-more-fallback.is-js-hidden {
  display: none;
}

/*# sourceMappingURL=main.css.map */
