/*
Theme Name: Ritueelmakers
Author: Alan van Rossum
Author URI: www.alanvanrossum.nl
Version: 0.1
*/
body {
  font-family: 'PT Sans', sans-serif;
  font-size: 14px;
  color: #6299b2;
  margin: 0px;
  background-image: url(images/background.png);
  background-size: 1333px 1077px;

}
a:link {
  color: inherit;  /* Ensuring the title link adopts the color of the title */
  text-decoration: none;  /* Removing underline from links */
}
a:visited {
  color: inherit;  /* Ensuring the title link adopts the color of the title */
  text-decoration: none;  /* Removing underline from links */
}
a:hover {
  color: #82c4e1;
}

/* general layout */
div.container {
  max-width: 920px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  background-image: url(images/backgroundLang.png);
  background-size: 100%;
  background-repeat: no-repeat;
  margin-top:60px;
  margin-bottom: 15px;
  padding-bottom: 15px;

}



/*  header */
.site-header {
  display: grid;
   grid-template-rows: 5fr 5fr;
   grid-template-columns: 12fr 9fr; /* Adjusted this property */
   gap: 0px;  /* adjust this for spacing between grid items */
   margin-top:0px;
   padding-top:50px;
   padding-left:50px;
   padding-right:20px;
}
.site-header img {
    max-width: 90%;
    height: auto;
    float:right;
    margin-right:25px;
    margin-top: 60px;
}

.menu-topside-menu-container {
  padding-left: 100px;
  padding-top: 20px;
}

.searchbardivcontainer {
  display:flex;
  align-items: center;
  justify-content: flex-end;
  padding-right:50px;
}

.search-field,
.search-submit {
  border: none; /* Remove the border */
  padding: 5px; /* Add some padding for better spacing */
  color: inherit;
}

.search-field::placeholder {
  color: inherit; /* Change the placeholder text color */
}

.search-field:focus {
  outline: none; /* Remove focus outline */
}
.search-submit {
  background-color: white; /* Add a background color */
  cursor: pointer; /* Change cursor to pointer */
}
.bloginfodiv {
  padding-top: 5px;
  padding-right:40px;
}
.blognieuws {
  font-weight: bold;
  margin-top: 10px;
}

/*   footer */
.site-footer {
  display: none;
}

/* nav menus */


/*  dropdowns */

.sub-menu {
  display: none;
  position: absolute;
  z-index: 1;

}

/* disabled since no sub menu
.menu-item:hover .sub-menu {
  display:block;

}
*/

.site-nav-top ul {
  margin: 0;
  padding: 0;
}

.site-nav-top ul:before, .site-nav:after {
  content: ""; display: table;
}
.site-nav-top ul:after {
  clear:both;
}

.site-nav-top ul li {
  position: relative;
  list-style: none;
  display: block; /* This is changed */
  margin-bottom: 0px; /* Added this to give space between vertically stacked items */
  font-weight: bold;
}
.site-nav-top ul li a::before {
  content: "~ "; /* The '~' character followed by a space */
  color: #dae281;
}
.site-nav-top ul li a:link,
.site-nav-top ul li a:visited {
  color: #6299b2; /* This sets the color */

  display: block;
  padding: 0px 0px;
  text-decoration: none;
}

.site-nav-top ul li a:hover {
  color: #82c4e1;
}
.site-nav-top ul li.current-menu-item > a:link,
.site-nav-top ul li.current-menu-item > a:visited {
  color: #82c4e1;

}

.single-post-content {
  background-color: rgba(255, 255, 255, 0.5); /* white with 50% transparency */
  margin-top: 40px;
  margin-left:50px;
  margin-right: 50px;
  padding-left: 10px;
padding-right: 10px;
  padding-bottom:50px;
}

.terugnaarbordtekst {
  font-weight: bold;
}

.single-post-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.single-post-text {
    flex: 0 1 80%; /* flex-grow, flex-shrink, flex-basis */
}

.single-post-image {
  margin-top: 25px;
    flex: 0 1 20%; /* flex-grow, flex-shrink, flex-basis */
}

.single-post-image img {
    width: 100%;
    height: auto;
}

/* gridkaartjes */

.grid-posts {
  margin-top: 13px;
  margin-left:50px;
  margin-right:50px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: row;
  /* //flex-wrap: wrap; /* Allow posts to wrap to the next row */
  justify-content: space-between; /* Distribute columns evenly */
}
.column {
  width: 25%; /* Slightly less than 25% to allow for padding/margin */
  box-sizing: border-box;
  padding: 0 5px;
  display: flex;
  flex-direction: column;
}


.post-card {
  background-color: rgba(255, 255, 255, 0.5); /* white with 50% transparency */
  padding: 10px;
  padding-top:5px;
  margin-bottom: 10px;
  /* width: calc(25% - 10px); /* Adjust the width based on 4 columns and gaps */
  box-sizing: border-box; /* Include padding in the width calculation */
  align-self: flex-start; /* Start at the top of the container */
  width: 100%;
  box-sizing: border-box;
}

.speld {
  width:35%;
  height:auto;
}

.post-card h2 {
    margin-top: 5px;  /* Resetting the margin to avoid spacing issues */
    margin-bottom: 5px;
}

.post-card p {
  margin-top: 0px;
  margin-bottom: 10px;
}

.post-card h2 a {
    color: inherit;  /* Ensuring the title link adopts the color of the title */
    text-decoration: none;  /* Removing underline from links */
    font-size: 14px;
}

.post-card .read-more {
    display: inline-block;
    margin-top: 10px;
    color: #6299b2;  /* Color for the 'Read More' link; adjust as necessary */
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card .read-more:hover {
    color: #82c4e1;  /* Darker shade for hover state; adjust as necessary */
}

.featuredimagediv {
  background-color: #f39fc5;
  width: 100%;
  padding-bottom: 100%; /* This maintains a 1:1 aspect ratio */
  position: relative; /* Use relative positioning */
}

.featuredimagediv img {
  position: absolute; /* Position the image absolutely */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.63;
  object-fit: cover; /* Ensure the image covers the container */
  object-position: center; /* Center the image */
}


.grid-posts .column:nth-child(1) {
  margin-top: 15px;
}
.grid-posts .column:nth-child(2) {
  margin-top: 40px;
}
.grid-posts .column:nth-child(3) {
  margin-top: 0px;
}
.grid-posts .column:nth-child(4) {
  margin-top: 80px;
}

.grid-posts .column:nth-child(1) .post-card .speld:nth-child(1) {
  margin-left: 20%;
}
.grid-posts .column:nth-child(1) .post-card .speld:nth-child(2) {
  margin-left: 40%;
}
.grid-posts .column:nth-child(2) .post-card .speld:nth-child(1) {
  margin-left: 20%;
}
.grid-posts .column:nth-child(2) .post-card .speld:nth-child(2) {
  margin-left: 25%;
}
.grid-posts .column:nth-child(3) .post-card .speld:nth-child(1) {
  margin-left: 45%;
}
.grid-posts .column:nth-child(3) .post-card .speld:nth-child(2) {
  margin-left: 40%;
}
.grid-posts .column:nth-child(4) .post-card .speld:nth-child(1) {
  margin-left: 50%;
}
.grid-posts .column:nth-child(4) .post-card .speld:nth-child(2) {
  margin-left: 55%;
}

.searchbardivmobile {
  display:none;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: ------------------------------------------------- */

  div.container{
     margin-top: 0px;
    }

    .site-header {
      display:flex;
      flex-direction: column;
      padding-top: 20px;
    }
    .menu-topside-menu-container {
      padding-top:20px;
      padding-left: 0px;
      padding-bottom: 20px;
    }

    .blognieuws {
      display:flex;
      flex-direction: row;
      justify-content: space-between;
    }
    .searchbardivcontainer {
      display:none;
    }
    .searchbardivmobile {
      display:block;
    }
    .search-submit {
      display:none;
    }
    .grid-posts {
      flex-direction:column;
    }
    .column {
      width: 100%;
    }
    .grid-posts .column:nth-child(1) {
      margin-top: 0px;
    }
    .grid-posts .column:nth-child(2) {
      margin-top: 0px;
    }
    .grid-posts .column:nth-child(3) {
      margin-top: 0px;
    }
    .grid-posts .column:nth-child(4) {
      margin-top: 0px;
    }


    .single-post-wrapper {
    flex-direction: column;
}


}
