/*
 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*/ 

.wtch-critq-magazine-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
	background: rgb(243, 243, 243);
}


.wtch-critq-slider-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
  align-items: stretch;
}

.wtch-critq-slider-right img {
  object-fit: cover;
  height: 100%;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  padding: 1em;
  margin: 1em;
}

.brands-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 1em;
  border: solid 1px #fafafa;
  position: relative; /* Added for positioning the overlay */
}

/* Hover effect overlay */

/*
.brands-grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 0, 0.9); 
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
	cursor:pointer; 
}

.brands-grid-item:hover::before {
  opacity: 1;
}

.brands-grid-item:hover::after {
  content: "\f178"; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  font-size: 24px;
  color: #fff;
}
*/

/* Hover effect overlay */
/* Hover effect overlay */
.brands-grid-item {
  position: relative;
  overflow: hidden;
}

.brands-grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 0, 0.9); 
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  cursor: pointer; 
}

.brands-grid-item:hover::before {
  opacity: 1;
}

.brands-grid-item:hover::after {
  content: "\f178"; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.brands-grid-item:hover::after:hover {
  color: red;
  transform: translate(-50%, -50%) rotate(45deg);
}



.title-container {
	border-top: solid 1px #eee;
	border-bottom: solid 1px #eee;
    border-right: solid 15px rgb(255, 0, 0);
    border-left: solid 15px rgb(0, 0, 0);
}

.brands-grid-item img {
  max-width: 100%;
  height: auto;
}

.watch-critiqu-reviews-by-brand {
	margin-bottom: 4em;
}

.wtch-critq-post-title {
  margin-top: 0;
  font-size: 18px;
}

.wtch-critq-post-title a, .wtch-critq-box a  {
  text-decoration: none;
}

.wtch-critq-slider-item a {;
	text-decoration: none;
}

.wtch-critq-slider-item a h3 {
	font-size: 20px;
	text-decoration: none;
text-align: center;
padding: 10px;
}
.wtch-critq-box a h3 {
	font-size: 16px;
	text-align: center;
	margin-bottom: 0;
}

 .wtch-critq-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
	 padding: 2em;
  }
 .wtch-critq-post {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
	 background: #fff;
}
  .wtch-critq-post-title {
    margin-top: 0;
  }
  .wtch-critq-post-excerpt {
    margin-bottom: 20px;
  }
 
  .wtch-critq-post-category {
    font-style: italic;
  }
  .wtch-critq-read-more {
    font-weight: bold;
    text-transform: uppercase;
  }


.read-more {
	background: rgb(255, 0, 0);
	color: #fff;
	text-decoration: none;
	padding: 10px 40px;
	margin: 2em;
	float: right;
	border-radius: 3px;
}

.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; 
}

.wtch-critq-read-more :first-child {
  padding: 15px 25px !important;
}

.wtch-critq-read-more {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
}
.wtch-critq-read-more :nth-child(1) {
	background: #000 !important;
}



.wtch-critq-post img {
	width: 100%;
	height: 270px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

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

.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;
}

.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;
}

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

.title-bg {
  background: url("https://www.watchcritique.com/wp-content/uploads/2023/06/border_diagonal.png");
}

.home .site-content {
  display: block;
  background: #fff;
  box-shadow: 1px 5px 100px rgb(188, 188, 188);
}


/**
 * Mobile Optimization by Device
 */ 


/* iPhone X and similar-sized devices */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 812px) 
  and (-webkit-device-pixel-ratio: 3) {
  .title-container {
    display: grid;
    grid-template-columns: 1fr 7fr 1fr;
  }
  
  .wtch-critq-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .wtch-critq-post-excerpt {
    height: 100px;
  }
  
  .wtch-critq-post-title {
    height: 70px;
    overflow: hidden;
  }
  
  .wtch-critq-post img {
    height: 200px;
  }
  
  .brands-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* iPhone 6/7/8 and similar-sized devices */
@media only screen 
  and (device-width: 375px) 
  and (device-height: 667px) 
  and (-webkit-device-pixel-ratio: 2) {
  .title-container {
    display: grid;
    grid-template-columns: 1fr 7fr 1fr;
  }
  
  .wtch-critq-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .wtch-critq-post-excerpt {
    height: 100px;
  }
  
  .wtch-critq-post-title {
    height: 70px;
    overflow: hidden;
  }
  
  .wtch-critq-post img {
    height: 200px;
  }
  
  .brands-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* iPhone 6/7/8 Plus and similar-sized devices */
@media only screen 
  and (device-width: 414px) 
  and (device-height: 736px) 
  and (-webkit-device-pixel-ratio: 3) {
  .title-container {
    display: grid;
    grid-template-columns: 1fr 7fr 1fr;
  }
  
  .wtch-critq-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .wtch-critq-post-excerpt {
    height: 100px;
  }
  
  .wtch-critq-post-title {
    height: 70px;
    overflow: hidden;
  }
  
  .wtch-critq-post img {
    height: 200px;
  }
  
  .brands-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Google Pixel 2/3 and similar-sized devices */
@media only screen 
  and (device-width: 411px) 
  and (device-height: 731px) 
  and (-webkit-device-pixel-ratio: 2.625) {
  .title-container {
    display: grid;
    grid-template-columns: 1fr 7fr 1fr;
  }
  
  .wtch-critq-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .wtch-critq-post-excerpt {
    height: 100px;
  }
  
  .wtch-critq-post-title {
    height: 70px;
    overflow: hidden;
  }
  
  .wtch-critq-post img {
    height: 200px;
  }
  
  .brands-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Samsung Galaxy S9/S10 and similar-sized devices */
@media only screen 
  and (device-width: 360px) 
  and (device-height: 740px) 
  and (-webkit-device-pixel-ratio: 4) {
  .title-container {
    display: grid;
    grid-template-columns: 1fr 7fr 1fr;
  }
  
  .wtch-critq-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .wtch-critq-post-excerpt {
    height: 100px;
  }
  
  .wtch-critq-post-title {
    height: 70px;
    overflow: hidden;
  }
  
  .wtch-critq-post img {
    height: 200px;
  }
  
  .brands-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}













