html {
  background: linear-gradient(to bottom, rgb(50, 50, 50) 0%, rgb(50, 50, 50) 50%, rgb(17.25, 17.25, 17.25) 50%, rgb(17.25, 17.25, 17.25) 100%);
}

body {
  padding: 0px;
  margin: 0px;
  margin-top: 50px;
  min-height: calc(100vh - 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #e7dbc4;
  overflow-x: hidden;
}

input, textarea, select {
  font-size: 16px;
}

#topNavBar {
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 50px;
  display: flex;
  background-color: rgb(50, 50, 50);
  user-select: none;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.3);
  z-index: 5;
}
#topNavBar li {
  display: flex;
  width: 10%;
  min-width: 120px;
}
#topNavBar li:not(#loginNavBarEntry):hover {
  background-color: rgb(70, 70, 70);
}
#topNavBar li.active {
  background-color: #004462;
  border-bottom: 5px #c01d18 solid;
}
#topNavBar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: white;
  font: bold 20px Helvetica, Arial, sans-serif;
}

#navToggle {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: rgb(50, 50, 50);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 6;
  align-items: center;
  justify-content: center;
}
#navToggle:hover {
  background-color: rgb(70, 70, 70);
}

#loginNavBarEntry {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
#loginNavBarEntry a {
  width: calc(100% - 40px);
  height: calc(100% - 15px);
  background-color: rgb(90, 90, 90);
  border-radius: 15px;
  border: solid rgb(90, 90, 90) 2px;
}
#loginNavBarEntry a:hover {
  background-color: rgb(228, 44.625, 39);
  border: solid #c01d18 2px;
}

.shell {
  display: flex;
  justify-content: center;
  align-items: center;
  position: static;
  margin: 0px;
  width: 100%;
  height: fit-content;
}

@media (max-width: 800px) {
  #loginBase {
    width: 100%;
    border-radius: 0px;
  }
}
.headerImage img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.headerImage #imageOverlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 119, 123, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: inset 10px 0px 20px rgba(0, 0, 0, 0.6);
}
.headerImage #sectionTitle {
  font-family: "Graduate", serif;
  font-weight: bolder;
  font-size: clamp(22px, min(13vw, 15vh), 160px);
  color: white;
  text-shadow: 0.06em 0.06em 0px #c01d18;
  line-height: 1.1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  overflow: hidden;
  padding: 10px 20px;
  box-sizing: border-box;
}
.headerImage {
  width: 100%;
  max-height: 500px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.bodyImage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bodyImage #imageOverlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 119, 123, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: inset 10px 0px 20px rgba(0, 0, 0, 0.6);
  max-height: 100vh;
  overflow-y: hidden;
}
.bodyImage img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 800px) {
  #navToggle {
    display: flex;
  }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: rgb(50, 50, 50);
    z-index: 5;
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.3);
  }
  #topNavBar {
    top: 50px;
    height: auto;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }
  #topNavBar.open {
    max-height: 400px;
  }
  #topNavBar li {
    width: 100%;
    min-width: unset;
    height: 50px;
    border-bottom: 1px solid rgb(70, 70, 70);
  }
  #loginNavBarEntry {
    margin-left: 0;
  }
  #loginNavBarEntry a {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
footer {
  margin-top: 20px;
  background-color: rgb(17.25, 17.25, 17.25);
  width: 100%;
  box-sizing: border-box;
  color: rgb(200, 200, 200);
  padding: 10px;
  text-align: center;
  min-height: calc(100vh - 60px);
  height: auto;
  z-index: 4;
}
footer .footerSection h3 {
  color: rgb(200, 200, 200);
  font-size: 30px;
  margin-bottom: 0px;
  margin-top: 5px;
}
footer .footerSection ul {
  background-color: rgb(17.25, 17.25, 17.25);
  padding: 10px;
}
footer .footerSection li, footer .footerSection a {
  color: white;
  list-style: none;
  margin-top: 10px;
}
footer .footerContacts {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .footerContacts li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
}
footer .footerContacts .footerContactLabel {
  font-weight: bold;
  opacity: 0.75;
  white-space: nowrap;
}
footer .footerContacts .footerContactValue a {
  color: white;
  text-decoration: none;
}
footer .footerContacts .footerContactValue a:hover {
  text-decoration: underline;
}

#newsContainer {
  height: fit-content;
  width: 80%;
  box-sizing: border-box;
  margin-top: 20px;
  border-radius: 30px;
  padding: 30px;
}
@media (max-width: 800px) {
  #newsContainer {
    width: 100%;
    border-radius: 0px;
  }
}
#newsContainer {
  width: calc(90% - 60px);
  max-width: 850px;
  background-color: rgb(158.5180722892, 126.2771084337, 64.4819277108);
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.3);
  color: white;
}

#newsHeading {
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#noNews {
  opacity: 0.5;
  text-align: center;
  padding: 32px 0;
}

#newsFeed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsCard {
  background-color: rgb(30, 30, 30);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.newsCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.newsCard--event, .newsCard--event_week, .newsCard--event_day {
  border-left: 4px solid #c01d18;
}
.newsCard--volunteer {
  border-left: 4px solid #bbc217;
}
.newsCard--custom {
  border-left: 4px solid #004462;
}
.newsCard--photo {
  border-left: 4px solid rgba(255, 255, 255, 0.5);
}
.newsCard--photo .newsCardImg {
  height: auto;
  min-height: unset;
}
.newsCard--photo .newsCardImg img {
  height: auto;
  object-fit: unset;
}

.newsCardImg {
  width: 100%;
  height: min(560px, 70vw);
  min-height: 180px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}
.newsCardImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.newsCardImg .newsImgExpandBtn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s;
  backdrop-filter: blur(4px);
}
.newsCardImg .newsImgExpandBtn::after {
  content: "View full image";
}
.newsCardImg .newsImgExpandBtn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.newsCardImg:hover .newsImgExpandBtn,
.newsCardImg .newsImgExpandBtn:focus {
  opacity: 1;
}

#newsLightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  box-sizing: border-box;
}
#newsLightbox.newsLightbox--open {
  display: flex;
}
#newsLightbox #newsLightboxImg {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  display: block;
}
#newsLightbox #newsLightboxCaption {
  color: rgba(255, 255, 255, 0.8);
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
  max-width: 700px;
}
#newsLightbox #newsLightboxClose {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
#newsLightbox #newsLightboxClose:hover {
  background: rgba(192, 29, 24, 0.5);
}

.newsCardBody {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsCardMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsBadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.newsBadge--event {
  background: rgba(192, 29, 24, 0.25);
  color: rgb(233.6666666667, 88.7777777778, 84.3333333333);
  border: 1px solid rgba(192, 29, 24, 0.4);
}
.newsBadge--volunteer {
  background: rgba(187, 194, 23, 0.18);
  color: rgb(227.1843317972, 233.6746543779, 75.1253456221);
  border: 1px solid rgba(187, 194, 23, 0.45);
}
.newsBadge--custom {
  background: rgba(0, 68, 98, 0.35);
  color: rgb(87.8, 203.8163265306, 255);
  border: 1px solid rgba(0, 68, 98, 0.6);
}
.newsBadge--photo {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsTime {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-left: auto;
}

.newsTitle {
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  color: white;
  margin: 0;
  line-height: 1.3;
}

.newsExcerpt {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.newsCaption {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.newsCardFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.newsEventLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.newsEventLink:hover {
  color: white;
  text-decoration: underline;
}

.newsCard--volunteer .newsEventLink {
  color: rgb(222.9539170507, 230.4313364055, 47.7686635945);
}
.newsCard--volunteer .newsEventLink:hover {
  color: rgb(231.4147465438, 236.9179723502, 102.4820276498);
}

.newsCard--event .newsEventLink,
.newsCard--event_week .newsEventLink,
.newsCard--event_day .newsEventLink {
  color: rgb(230.8333333333, 66.7013888889, 61.6666666667);
}
.newsCard--event .newsEventLink:hover,
.newsCard--event_week .newsEventLink:hover,
.newsCard--event_day .newsEventLink:hover {
  color: rgb(238.2, 124.1, 120.6);
}

.newsCardActions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.newsCardActions button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
}

.newsPagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 16px 0 4px;
  margin-top: 8px;
}

.newsPaginationText {
  color: white;
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 16px;
  margin: 0;
  width: 33.33%;
  text-decoration: none;
  transition: color 0.15s;
}
.newsPaginationText:hover {
  color: rgba(255, 255, 255, 0.75);
}

.newsPrevButton {
  text-align: right;
}

.newsNextButton {
  text-align: left;
}

.newsPageNumber {
  width: 100px;
  text-align: center;
}

#addNewsContainer {
  height: fit-content;
  width: 80%;
  box-sizing: border-box;
  margin-top: 20px;
  border-radius: 30px;
  padding: 30px;
}
@media (max-width: 800px) {
  #addNewsContainer {
    width: 100%;
    border-radius: 0px;
  }
}
#addNewsContainer {
  width: calc(90% - 60px);
  background-color: rgb(158.5180722892, 126.2771084337, 64.4819277108);
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.3);
  color: white;
  margin-bottom: 40px;
  background-color: #004462;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#addNewsContainer form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#newsFormContainer {
  height: fit-content;
  width: 80%;
  box-sizing: border-box;
  margin-top: 20px;
  border-radius: 30px;
  padding: 30px;
}
@media (max-width: 800px) {
  #newsFormContainer {
    width: 100%;
    border-radius: 0px;
  }
}
#newsFormContainer {
  width: calc(90% - 60px);
  background-color: rgb(158.5180722892, 126.2771084337, 64.4819277108);
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.3);
  color: white;
  max-width: 680px;
  margin-top: 32px;
  margin-bottom: 40px;
  background-color: rgb(50, 50, 50);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
#newsFormContainer .newsLabel {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 6px;
}
#newsFormContainer .newsInput {
  width: 100%;
  margin-top: 0;
}
#newsFormContainer .photoUploadArea {
  width: 100%;
  margin-top: 0;
}
#newsFormContainer .newsFormActions {
  width: 100%;
}

.newsBackLink {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
}
.newsBackLink:hover {
  color: white;
  text-decoration: underline;
}

.newsFormHeading {
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 24px;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsFormError {
  color: rgb(230.8333333333, 66.7013888889, 61.6666666667);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsRequired {
  color: rgb(230.8333333333, 66.7013888889, 61.6666666667);
}

.newsTypeToggle {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  width: 80%;
}
.newsTypeBtn {
  flex: 1;
  height: 44px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.newsTypeBtn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}
.newsTypeBtn.active {
  border-color: #c01d18;
  background: rgba(192, 29, 24, 0.18);
  color: white;
}

.newsLabel {
  display: block;
  width: 80%;
  font: bold 20px Helvetica, Arial, sans-serif;
  color: white;
  font-size: 16px;
}

.newsInput {
  width: 80%;
  padding: 8px 10px;
  margin-bottom: 20px;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.15s, background 0.15s;
}
.newsInput::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.newsInput:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.newsTextarea {
  resize: vertical;
  min-height: 120px;
}

.newsFormActions {
  display: flex;
  width: 80%;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.newsFormBtn {
  flex: 1;
  min-width: 120px;
  height: 46px;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 2px solid #c01d18;
  background: #c01d18;
  color: white;
  font: bold 20px Helvetica, Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.newsFormBtn:hover {
  background: rgb(228, 44.625, 39);
}
.newsFormBtn.newsFormBtnCancel {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}
.newsFormBtn.newsFormBtnCancel:hover {
  background: rgba(255, 255, 255, 0.08);
}

#currentNewsImgWrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
#currentNewsImgWrap #currentNewsImg {
  width: 120px;
  height: 80px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.currentImgActions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.currentImgActions .photoHint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.4;
}

.removeImgLabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.removeImgLabel input[type=checkbox] {
  cursor: pointer;
}
.removeImgLabel:hover {
  color: white;
}

.photoUploadArea {
  width: 80%;
  margin-top: 8px;
  margin-bottom: 4px;
}

.photoFileInput {
  width: 100%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}

#newsPreviewWrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
#newsPreviewWrap img {
  width: 140px;
  height: 90px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

#clearNewsPhoto {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  transition: background 0.15s;
}
#clearNewsPhoto:hover {
  background: rgba(192, 29, 24, 0.4);
}

@media (max-width: 800px) {
  #newsContainer,
  #addNewsContainer,
  #newsFormContainer {
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: 20px;
  }
  .newsFormActions {
    flex-direction: column;
  }
  .newsFormActions .newsFormBtn {
    flex: none;
    width: 100%;
  }
  .newsCardImg {
    height: min(440px, 72vw);
    min-height: 150px;
  }
}

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