/*
Theme Name: GeneratePress Child
Theme URI: https://yourdomain.com
Description: Child theme for GeneratePress
Author: Sarah Schoonmaker
Template: generatepress
Version: 1.0
*/

/* Custom CSS starts below */
/* Home Posts Loop */
.home-posts .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.home-posts .wp-block-post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}.home-posts .wp-block-post-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 15px 0px;
}
.home-posts .wp-block-post-excerpt {
  font-size: 0.95rem;
  margin: 15px 0px;
  color: #555;
}
.home-posts .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin: 15px 0px;
  padding: 8px 16px;
  background: #519394;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
}
@media (max-width: 1024px) {
  .home-posts .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .home-posts .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}
.home-posts .wp-block-post-terms, .home-posts  .wp-block-post-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
   color: #888;
   padding: 5px 0 0 0;
}

/* Home Featured Loop */
.home-featured .wp-block-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.home-featured .wp-block-post-featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.home-featured .wp-block-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-featured .wp-block-post-date,
.home-featured .wp-block-post-terms {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #888;
}

.home-featured .wp-block-post-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 5px 0 10px;
}

.home-featured .wp-block-post-excerpt {
  font-size: 1.05rem;
  color: #555;
}

.home-featured .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #e27044;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .home-featured .wp-block-post {
    grid-template-columns: 1fr;
       gap: 20px;
  }

  .home-featured .wp-block-post-featured-image img {
    height: 260px;
  }
}
/* Blog Feed Page */
.blog .post-image img,
.archive .post-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog .entry-summary,
.archive .entry-summary {
  padding: 15px 20px 20px;
}
.blog .entry-title,
.archive .entry-title {
  font-size: 1.25rem;
  line-height: 1.3;
}
.blog .entry-meta,
.archive .entry-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
}

/* Blog Post Page */

.single-post .featured-image img {
  height: 450px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .single-post .featured-image img {
    height: 260px;
  }
}

