/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.home .site-content {
	display: block;
}


/**Slider Layout Styles
 * 
 */ 

.njengah-grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.njengah-parent-grid-left {
  background-color: lightblue;
  position: relative;
  display: flex;
  align-items: stretch;
}

.njengah-parent-grid-left img {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.njengah-parent-grid-right {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.njengah-parent-grid-left .title h3 {
  font-size: 22px;
  font-family: Proxima Nova, proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

.njengah-grid-item {
  position: relative;
}

.njengah-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.njengah-grid-item .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  width: 80%;
  font-size: 18px;
}

.njengah-parent-grid-left .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  width: 80%;
  font-size: 18px;
}

.njengah-parent-grid-right .title h3 {
  font-size: 16px;
  font-family: Proxima Nova, proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

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

  .njengah-parent-grid-right {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

/* Slider Ends Here */


/* Styles for the Recent Reviews Section */

.recent.reviews {
  /* Add styles for the container of the recent reviews section */
}

.title-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* Define a three-column grid layout for the title container */
}

.title-item {
  /* Add styles for each item within the title container */
}

.wtch-critq-post-title a {
	text-decoration: none;
	font-size: 20px;
	color: #776fd1;
}

.wtch-critq-post-excerpt {
	margin-top: 0;
	padding: 0px 20px;
	font-family: Proxima Nova, proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
	color: rgb(36, 45, 43);
	font-size: 16px;
	line-height: 1.3em;
	height: 60px;
	overflow: hidden;
}

.wtch-critq-post img {
	width: 100%;
	height: 230px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom: solid 1px #eee;
}

.wtch-critq-post-title {
  font-size: 20px !important;
}

.wtch-critq-post-meta {
	margin-top: 1.5em;
}
.wtch-critq-read-more {
	display: grid;
	grid-template-columns: 2fr 1fr;
	align-items: center;
}

.wtch-critq-read-more {
	font-weight: bold;
	text-transform: capitalize;
	text-decoration: none;
	float: right;
	background: red;
	color: #fff;
	font-weight: 500;
	text-align: center;
}

.njengah-parent-grid-left .title, .njengah-grid-item .title {
  display: none;
}



.sectional-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0px;
  position: relative;
  text-align: center;
  font-family: Proxima Nova, proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  padding: 10px;
  /* Styles for the sectional title */
}

.wtch-critq-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  padding: 2em;
  /* Define a three-column grid layout for the posts grid */
}

.wtch-critq-post {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background: #fff;
  /* Styles for each individual post */
}

.wtch-critq-post-title {
  margin-top: 0;
  padding: 5px 20px;
  margin-bottom: 5px;
  height: 50px;
  /* Styles for post titles */
}

.wtch-critq-post-excerpt {
  margin-top: 0;
  padding: 0px 20px;
  font-family: Proxima Nova, proxima-nova, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  color: rgb(36, 45, 43);
  font-size: 16px;
  line-height: 1.3em;
  height: 60px;
  /* Styles for post excerpts */
}

.wtch-critq-read-more {
	font-weight: bold;
	text-transform: capitalize;
	text-decoration: none;
	float: right;
	background: #131325;
	color: #fff;
	font-weight: 500;
	text-align: center;
}

/* Media queries for responsive design can be added here as needed. */

/* End of Recent Reviews Section Styles */




















/***********************************************************************************************/ 

.top-section.fullwidth {
  margin-top: 1em;
}

.home.blog {
	background: #fafafa;
}

.left-post {
	background: #fff;
	border: solid 1px #eee;
	margin: 0em 1em 2em 0;
}

.title-left {
  font-family: montserratbold,Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 5px 15px;
}

.title {
  font-family: montserratbold,Helvetica,Arial,sans-serif;
  font-size: 25px;
  font-weight: 600;
  padding: 1em;
}

.title a, .title-left a {
  text-decoration: none;
  color: #333;
}

.flex-container {
  display: flex;
}

.left-column {
  flex: 2;
}

.right-column {
  flex: 1;
}

.right-posts .grid-container {
  display: grid;
  grid-template-columns: 1fr;
}

.right-posts .grid-container .grid-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: solid 1px #eee;
  margin-bottom: 3px;
}


.flex-container.category {
  display: flex;
  flex-wrap: wrap;
}
.flex-item.category {
  flex: 30%;
  background: white;
  margin: 0.7em;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  padding: 10px;
}

.category-inner {
  display: flex;
  align-items: center;
}

.category-icon {
  /* Add styling for the category icon here */
}

.category-inner a {
	text-decoration: none;
}

.category-title {
	margin-bottom: 0;
	font-family: montserratbold,Helvetica,Arial,sans-serif;
	color: #333;
	line-height: 1.2;
	font-size: 18px;
	font-weight: 600;
}
.cat-item.category-icon img {
  max-width: 70%;
}

.cat-item  {
  text-align: center;
}

.cat-item.category-arrow img {
  max-width: 75%;
}

.spacer-100 {
  height: 100px;
}

.spacer-50 {
  height: 50px;
}

.latest-posts {
    display: flex;
    flex-wrap: wrap;
}

.latest-post {
  flex: 0 0 33.3333%;
  max-width: 31.3333%;
  margin: 0.5em;
  background: #fff;
  margin-bottom: 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.latest-post h3 {
	font-size: 18px;
	padding: 0.2em 1em;
	font-weight: 400;
}

.section-heading h2 {
  font-size: 25px;
  font-weight: 600;
  padding: 0.2em;
}

.section-heading h2 {
  font-size: 25px;
  padding: 0.2em;
  background-image: linear-gradient(to right,#46b6c8,#daf6fd);
  background-position: bottom left;
  background-size: 100% 38%;
  background-repeat: no-repeat;
  text-transform: uppercase;
  font-weight: 600;
  font-family: montserratbold,Helvetica,Arial,sans-serif;
}

.cat-item:nth-child(2n) {
  flex-grow: 1;
}

.right-posts .grid-container .grid-item img {
  max-height: 250px;
}