/* Blog posts, blog index and homepage blog block (added November 2026).
   Loaded after the theme stylesheet; selectors are specific enough to beat
   the theme's ".post .entry-content p{margin-bottom:0 !important}". */

/* ---------- single blog post ---------- */
.post .entry-content h1.ersties-post-title {
  font-family: "Oswald", sans-serif;
  font-size: 40px !important;
  line-height: 1.2 !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 10px;
}
.post .entry-content p.ersties-post-meta {
  font-family: "Oswald", sans-serif;
  font-size: 14px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  margin: 0 0 22px !important;
}
.post .entry-content p.ersties-post-meta a {
  font-size: inherit !important;
  font-weight: 400;
  color: #777;
  text-decoration: underline;
  text-decoration-color: #edaac1;
}
.post .entry-content .ersties-article p {
  margin-bottom: 1.1em !important;
}
.post .entry-content .ersties-article h3 {
  font-family: "Oswald", sans-serif;
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  margin: 34px 0 12px;
}
.post .entry-content .ersties-article ul {
  margin: 0 0 1.2em 1.3em;
  padding: 0;
  font-size: 18px;
}
.post .entry-content .ersties-article li {
  list-style: disc outside;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 .55em;
}
.post .entry-content .ersties-article a,
.ersties-blog-intro a {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #edaac1;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.post .entry-content .ersties-article a:hover { color: #5fbde4; }
.post .entry-content .ersties-article strong { color: #28262b; }

/* ---------- blog index + homepage cards ---------- */
.ersties-card-date {
  font-family: "Oswald", sans-serif;
  font-size: 13px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  margin: 0 0 6px !important;
}
.ersties-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 32px !important;
  line-height: 1.2 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #28262b;
  text-align: center;
  margin: 30px 0 10px;
}
.ersties-section-sub { text-align: center; margin: 0 0 10px; }
.ersties-blog-intro { color: #fff; }
.ersties-blog-intro a { color: #fff !important; text-decoration-color: #fff; }

/* Homepage "From the blog" block: a wrapping grid, never a squeezed row */
.ersties-home-blog {
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px 20px 70px;
}
.ersties-home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 34px;
  margin-top: 30px;
}
.ersties-home-blog-card img {
  display: block;
  width: 100%;
  height: auto;
  border: solid #333 3px;
}
.ersties-home-blog-card h4 {
  font-family: "Oswald", sans-serif;
  font-size: 18px !important;
  line-height: 1.3 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 18px 0 6px;
}
.ersties-home-blog-card h4 a { color: #333; }
.ersties-home-blog-card p { font-size: 17px; line-height: 1.6; margin-bottom: .6em; }
.ersties-home-blog-more { text-align: center; margin-top: 36px; }
.ersties-btn {
  display: inline-block;
  padding: 12px 34px;
  border: 3px solid #edaac1;
  border-radius: 3px;
  background: #edaac1;
  color: #fff !important;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ersties-btn:hover { background: #fff; color: #333 !important; }

@media (max-width: 799px) {
  .post .entry-content h1.ersties-post-title { font-size: 28px !important; }
  .post .entry-content .ersties-article h3 { font-size: 20px !important; }
  .post .entry-content .ersties-article ul,
  .post .entry-content .ersties-article li { font-size: 16px; }
  .ersties-section-title { font-size: 26px !important; }
  .ersties-home-blog { padding: 40px 20px 50px; }
}
