/*
 Theme Name:   Lewinshope
 Description:  Custom Theme for The Mill @ Lewinshope
 Author:       Sandu Media
 Author URI:   https://www.sandumedia.co.uk
 Template:     generatepress
 Version:      1.0.0
*/

h1{
  text-align: center;
  text-transform: uppercase;
}
.site-header{/*
  font-size:0.75em;
  line-height:0.25em;*/
  display:none;
}
.site-header a{
  text-decoration: none;
}
@media(max-width:768px){
  .site-header{display:none;}
}
.main-navigation{
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid #a3a28b;
  box-shadow:0 2px 8px rgba(0,0,0,0.15);
}
.main-navigation .menu-cta a {
  background-color: #2f6f73;
  color: #ffffff !important;
  border-radius: 25px;
  margin-left:10px !important;
}
.main-navigation .menu-cta a:hover {
  background-color: #205659;
  color: #fff !important;
}
.main-navigation a{
  margin:10px 0 !important;
  line-height: 50px !important;
}
.main-navigation a:hover{
  background:#edeccc;
  color:#333 !important;
}
.sub-menu li a{
  border-top:1px solid rgba(0,0,0,0.05);
  margin:0 !important;
  font-family: "Montserrat", sans-serif;
  text-transform: none;
  line-height:26px !important;
}
.site-main{
  min-height: calc(100vh - 170px);
}
.site-footer{
  border-top:1px solid #a3a28b;
}

.sandumedia{
  color: #222;
  font-family:"Cormorant Garamond", serif;
  font-weight:500;
  font-size:1.4em;
  font-style:normal;
  text-decoration:none;
  text-transform:lowercase;
}
.sandumedia:hover{color:#da0000 !important;}


/* Custom Headers */
.home-slider-wrap .main-text{
  display:block;
  width:100%;
  position:absolute;
  text-align:center;
  z-index:100;
  padding:30px;
}
.home-slider-wrap .main-text h1{
  font-family: "Times New Roman", serif;
  margin:0;
}
.custom-hero {
  position: relative;
  width:100%;
  height:calc(100vh - 61px);
  background-size:cover;
  background-position:center;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom:0px;
}
.custom-hero-title {
  font-family: "Times New Roman", serif;
  text-transform: uppercase;
  position: relative;
  text-align: center;
  padding: 30px 30px 0 30px;
  margin:0;
  z-index: 1;
}
.custom-hero-subtitle {
}


/*custom elements*/
.image-left{float:left; width:25%; margin:0 20px 20px 0;}
.image-right{float:right; width:25%; margin:0 0 20px 20px;}
.review-box{
  padding:20px;
  border:1px solid #333;
}
.slick-prev{margin-left:15px; z-index: 100;}
.slick-next{margin-right:15px;}
.floorplan-box img{
  border:1px solid #a3a28b;
  box-shadow:0 2px 8px rgba(0,0,0,0.15);
  max-width:100%;
}
.weddings-1{
  padding:30px 0;
  border-top:1px solid #ccc;
}


@media (min-width: 1024px) {
  .variable-height-slider .slick-track {
    display: flex !important;
    align-items: center;
  }
  .variable-height-slider .slick-slide {
    width: auto !important;
  }
  .variable-height-slider .slick-slide img {
    height: 600px; /* adjust */
    width: auto;
    object-fit: contain;
  }
}




/*BLOG*/
/* 1. Create the Grid Layout */
@media (min-width: 768px) {
    .blog .site-main, .archive .site-main {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}
.blog .site-main article, .archive .site-main article {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.blog article .inside-article, .archive article .inside-article {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.blog .post-image, .archive .post-image,
.blog .post-image a, .archive .post-image a {
    display: block;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.blog .post-image img, .archive .post-image img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.blog .entry-content{display:none;}
.blog .entry-header, .archive .entry-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;

    display: flex;
    flex-direction: column; justify-content: flex-end;
    text-align: left;

    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
}
.blog .entry-title, .archive .entry-title {
    margin: 0;
    pointer-events: auto;
    font-size:22px !important;
    text-shadow: 0px 2px 2px rgba(0,0,0,1);
}
.blog .entry-title a, .archive .entry-title a {
    color: #ffffff !important;
    text-decoration: none;
}
.blog .entry-summary, .blog .entry-meta{display: none;}
.blog article:hover .entry-header{background: rgba(0, 0, 0, 0.6);}
.blog .inside-article, .archive .inside-article {
    padding: 0 !important;
    margin: 0 !important;
}
.blog .post-image, .archive .post-image {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 0;
}
.blog .post-image a, .archive .post-image a {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.blog .post-image img, .archive .post-image img {
    vertical-align: middle;
    margin: 0 !important;
    padding: 0 !important;
}
.blog .entry-header, .archive .entry-header {margin-top: 0 !important;}
