/* ==========================================================================
   Custom site styles (loaded after the theme's screen.css so these win).
   Featured "Typology Series" section on the homepage.
   Palette pulled from the hero banner: warm cream, sunset gradient,
   deep green (#1f4a44) and rust (#b5623a) accents.
   ========================================================================== */

/* Featured post card — applied to any post with `class: featured-series`. */
.post.featured-series {
  position: relative;
  margin: 0 auto 3.5rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.25rem) 2.75rem;
  max-width: 1100px;
  background: linear-gradient(135deg, #fbf3e4 0%, #f7e9dc 45%, #efe0e6 78%, #e4ecec 100%);
  border: 1px solid rgba(31, 74, 68, 0.15);
  border-radius: 16px;
  box-shadow: 0 18px 45px -20px rgba(31, 74, 68, 0.45);
  overflow: hidden;
}

/* Deep-green accent bar down the left edge. */
.post.featured-series::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #1f4a44 0%, #2f6f66 100%);
}

/* Hide the auto post-title link (the post has an empty title). */
.post.featured-series .post-header {
  display: none;
}

/* Larger, framed hero banner. */
.post.featured-series .post-content p:first-child img,
.post.featured-series .post-content img[src*="typology_hero_banner"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.75rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px -12px rgba(31, 74, 68, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post.featured-series .post-content a:hover img[src*="typology_hero_banner"] {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px -12px rgba(31, 74, 68, 0.6);
}

/* Headings inside the featured section. */
.post.featured-series h1,
.post.featured-series h1 p {
  margin: 0.25rem 0 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  line-height: 1.2;
  text-align: center;
}

.post.featured-series h2 {
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  margin: 1.25rem 0 1rem;
}

.post.featured-series h3 {
  font-size: 1.2rem;
  color: #1f4a44;
  border-bottom: 2px solid rgba(181, 98, 58, 0.35);
  padding-bottom: 0.35rem;
  margin-top: 1.75rem;
}

/* Scripture quote block. */
.post.featured-series blockquote {
  border-left: 4px solid #b5623a;
  background: rgba(255, 255, 255, 0.5);
  margin: 1.5rem auto;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4a3f39;
  max-width: 760px;
}

/* Details list (when / where / host). */
.post.featured-series ul {
  list-style: none;
  margin: 1.25rem auto;
  padding: 0;
  max-width: 720px;
}

.post.featured-series ul li {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(31, 74, 68, 0.12);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  margin: 0.5rem 0;
  font-size: 1.05rem;
}

/* Schedule month headings + lists render tighter. */
.post.featured-series p strong {
  color: #1f4a44;
}

/* Flyer / schedule links styled as buttons. */
.post.featured-series .post-content p a[href$=".pdf"] {
  display: inline-block;
  margin: 0.4rem 0.35rem;
  padding: 0.6rem 1.25rem;
  background: #1f4a44;
  color: #fbf3e4;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px -8px rgba(31, 74, 68, 0.8);
  transition: background 0.2s ease, transform 0.15s ease;
}

.post.featured-series .post-content p a[href$=".pdf"]:hover {
  background: #b5623a;
  transform: translateY(-1px);
}

/* Horizontal rules become soft dividers. */
.post.featured-series hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 74, 68, 0.3), transparent);
  margin: 2rem 0;
}

/* Hide the author/date footer on the featured card for a cleaner look. */
.post.featured-series .post-meta {
  display: none;
}

@media (max-width: 600px) {
  .post.featured-series {
    border-radius: 12px;
    padding: 1.75rem 1.1rem 2rem;
  }
}
