 * {
    box-sizing: border-box;
}

body {
    margin: 0;

    padding-bottom: 60px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.page-id-5 {
    background: black;
        color: white;
}

body.page-id-5 .bg-main{
  background: url("../images/beautiful_scenery_nature_pier_in_dark_background_hd_dark.jpg")  center no-repeat;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 30%;
}

.container {
    padding: 0 20px;
    margin: auto;
}


.imgText {
    display: flex;
    gap: 20px;

}



main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

.container {
  max-width: 1300px;
}

.container article a{
  color: white;
  text-decoration: none;
}
.container article p{
  font-size: 18px;
  line-height: 1.4em;
}

.container article ul:not(.is-grid) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.container article a {
  transition: 0.2s;
}

.container article a:hover {
  opacity: 0.5;
}

.container article h1{
  font-size: 48px;
  text-align: center;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 40px;
}

#masthead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;

}

#masthead .container {
  display: flex;
  justify-content: space-between;
}

.site-branding  .site-title{
  display: none;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}



header nav ul li a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 300;
  font-size: 14px;
}

header nav ul li.current-menu-item a {
  opacity: 0.5;
  cursor: default;
}

header nav ul li:not(.current-menu-item) a:hover {
  opacity: 0.5;
}

body:not(.page-id-5) #masthead {
  background: black;
}


article .wp-block-latest-posts__list a {
  color: black;
}

.small-container {
  max-width: 1000px;
  padding: 0 20px;
  margin: auto;
}

.small-container {
  line-height: 2em;
}


.small-container .entry-title {
  font-size: 40px;
  line-height: 1.3em;
}

.small-container iframe{
  width: 100%;
  height: 600px;
}

.small-container .post-thumbnail {
  display: none;
}

.entry-meta .byline {
  display: none;
}

.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.wp-block-latest-posts__featured-image {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.wp-block-latest-posts__featured-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  min-width: 100%;
  min-height: 100%;
  height: auto;
  width: auto;
}

.wp-block-latest-posts__list a{
  margin: 10px 0;
  display: block;
}

.wp-block-latest-posts__list time {
  color: gray;
}
.wp-block-latest-posts.is-grid li {
  margin: 0;
}

.wp-block-latest-posts__post-excerpt {
  color: rgb(63, 63, 63);
  font-size: 12px;
  line-height: 1.5em;
}

.archive-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}


.archive-wrapper article {
  width: calc(33% - 20px);
}

.archive-wrapper article {
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 20px;
  position: relative;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
}
.container .archive-wrapper a {
  color: black;
}

.container .archive-news-excerpt p{
  font-size: 14px;
}

.archive-news-meta {
  font-size: 12px;
  color: gray;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.post-body {
  display:  flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  height: 100%;
}

.archive-news-read-more {
  font-size: 12px;
}

.archive-news-title {
  margin: 0 0 20px;
  font-size: 16px;
}

.archive-news-excerpt p {
  margin: 0 0 20px;
}


.posted-on a:visited {
  color: black;
  text-decoration: none;
}

.posted-on  {
  font-size: 13px;
}

.posted-on a {
    text-decoration: none;
}

@media screen and (max-width: 900px) {
  .archive-wrapper article {
    width: 100%;
  }
}

.video-and-audio-item iframe {
  max-width: 100%;

}
.video-and-audio-item-video {
  min-height: 215px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(245, 245, 245);
}

.no-video {
  font-size: 12px !important;
  color: gray;
}

#site-navigation .menu-toggle {
  display: none !important;
}

@media screen and (max-width: 600px) {
  #site-navigation {
    width: 100%;
  }

  #primary-menu {
    width: 100%;
    justify-content: center;
    padding: 0;
    gap: 10px;
  }
  header nav ul li a {
    font-size: 12px;
  }

  .container article h1 {
    font-size: 30px;
  }
}
