/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 5.9.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

#site-logo #site-logo-inner a img,
#site-header.center-header #site-navigation-wrap .middle-site-logo a img {
  max-width: 220px;
}

/* New Location Pages Styling */

.locations-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 408px;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
  margin-bottom: 10px;
  flex-direction: column;
  background-attachment: fixed;
  background-position: center;
  background-color: rgba(5, 5, 5, 0.5);
}

.locations-heading h1,
.locations-heading > h2 {
  color: #faf2f2;
  font-family: "Philosopher", Sans-serif;
  line-height: 1.7em;
}
.locations-heading h1 {
  text-shadow: 2px 2px 10px rgb(0 0 0 / 99%);
  margin-top: 20px;
  margin-bottom: 0px;
  font-weight: 600;
  letter-spacing: 8px;
  font-size: 70px;
  text-align: center;
  line-height: 1em;
}
.locations-heading > h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 3.3px;
}

.locations-posts-container {
  width: 1120px;
  margin: 0px 20px;
  margin: auto;
}

.post-tiles {
  padding-bottom: 40px;
  border-bottom: 1px solid black;
}
.post-tiles:nth-last-child(2) {
  border-bottom: none;
}

.post-tile-h2 {
  color: #138fc4;
  font-family: "Roboto", Sans-serif;
  font-weight: 600;
  padding-top: 20px;
  margin-bottom: 0px;
}

.featured-post {
  text-align: center;
  flex-direction: column;
  align-items: center;
  font-family: "Mulish", Sans-serif;
}

.featured-post h2 {
  font-family: "Mulish", Sans-serif;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 1.8px;
  line-height: 1.3em;
  max-width: 790px;
  margin: auto;
  padding-bottom: 15px;
  color: #000000;
}

.featured-post p {
  letter-spacing: 2px;
}

.featured-post img {
  width: 768px;
  /* padding-bottom: 50px; */
}
.italic {
  font-style: italic;
  font-family: "Roboto";
  font-size: 13px;
  color: #7a7a7a;
}
.location-post h3,
.post-tile-grid h3 {
  font-family: "Mulish", sans-serif;
  font-size: 20px;
}

.flex {
  display: flex;
}

.post-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-between;
  column-gap: 20px;
}

.location-post {
  margin: 0px 0px;
  padding: 20px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.location-post img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.excerpt-and-title {
  max-width: 700px;
  padding: 0px 0px 0px 40px;
}

.excerpt-and-title h2 {
  font-size: 30px;
}

.locations-gallery {
  width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

.gallery-tile {
  max-width: 300px;
  margin: 10px;
}

.gallery-tile img {
  object-fit: cover;
  height: 300px;
  width: 300px;
}

.related-articles {
  text-align: center;
  font-family: "Mulish", Sans-serif;
  font-size: 25px;
  border-bottom: 1px solid black;
  width: 770px;
  padding-bottom: 20px;
  margin: auto;
  margin-bottom: 40px;
  font-weight: 100;
  letter-spacing: 2.6px;
}

.featured-post .second-heading {
  font-family: "Philosopher";
  text-shadow: 2px 2px 10px rgb(0 0 0 / 99%);
  font-size: 70px;
  text-align: center;
  letter-spacing: 7.2px;
}

.second-sub-heading {
  color: #000000;
  font-family: "Mulish", Sans-serif;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.3em;
  letter-spacing: 1.8px;
  text-align: center;
  max-width: 768px;
  margin: auto;
  padding-bottom: 20px;
}

.padding-top-40 {
  padding-top: 40px;
}
.padding-bottom-50 {
  padding-bottom: 50px;
}
.footer-tiles img{
  width:360px;
  height:270px;
  width:100%;
  object-fit: cover;
}
.post-tiles:last-child{
  border-bottom:none;
  }
@media only screen and (max-width: 1160px) {
  .locations-posts-container {
    width: 700px;
  }

  .excerpt-and-title {
    max-width: 400px;
  }

  .locations-heading h1 {
    font-size: 72px;
  }

  .locations-gallery {
    width: 700px;
    grid-template-columns: 1fr 1fr;
  }

  .post-tile-grid {
    width: 700px;
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 1025px) {
  .locations-heading {
    background-attachment: inherit;
  }
}
@media only screen and (max-width: 768px) {
  .locations-heading h1 {
    font-size: 38px;
  }
  .locations-heading h2 {
    font-size: 20px;
  }
}

@media only screen and (max-width: 720px) {
  .flex {
    flex-direction: column;
  }

  .excerpt-and-title {
    padding: 10px 0px 0px 0px;
  }

  .locations-posts-container {
    width: 100%;
  }

  .location-post {
    padding: 20px 0px 0px 0px;
    margin: 0px 20px;
  }

  .location-post img {
    width: 100%;
  }

  .locations-gallery {
    width: 100%;
    padding: 0px 10px;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .post-tile-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .gallery-tile {
    max-width: 100%;
    padding-top: 30px;
  }

  .gallery-tile img {
    object-fit: cover;
    width: 100%;
    max-height: 400px;
  }

  .post-tile-h2,
  .featured-post {
    margin-left: 20px;
    margin-right: 20px;
  }

  .featured-post img {
    width: 100%;
  }
    .related-articles{
    width: 100%;
  }
  .post-tile-grid.footer-tiles {
    padding-left: 20px;
    padding-right: 20px;
  }
  .post-tile-grid.footer-tiles h3 {
    padding-top: 20px;
  }
}
