/* =========================================================================
   VENICE BARBERSHOP — BLOG (Gulf-coast vibe)
   Postcard mastheads, warm paper, a horizon rule, sun-washed cards.
   The boldness lives in the masthead; everything else stays quiet.
   ========================================================================= */

.vb-blog { background: var(--vb-cream); }

/* --- Masthead: reads like the back of a Venice postcard --- */
.vb-blog__masthead {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(1,113,126,.10), transparent 60%),
    var(--vb-cream);
  overflow: hidden;
}
/* a low sun / horizon line */
.vb-blog__masthead::after {
  content: "";
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: min(560px, 70%); height: 2px;
  background: linear-gradient(90deg, transparent, var(--vb-gold), transparent);
}
.vb-blog__masthead h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 20ch; margin-inline: auto;
}

.vb-blog__layout {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr 300px;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .vb-blog__layout { grid-template-columns: 1fr; } }

/* --- Post grid --- */
.vb-post-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.vb-card {
  background: var(--vb-white);
  border: 1px solid var(--vb-cream-2);
  border-radius: var(--vb-radius);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease;
}
.vb-card:hover { transform: translateY(-3px); box-shadow: var(--vb-shadow); }
.vb-card__link { text-decoration: none; color: inherit; display: block; }
.vb-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--vb-cream-2); overflow: hidden; }
.vb-card__media img { width: 100%; height: 100%; object-fit: cover; }
.vb-card__media--empty { width: 100%; height: 100%; display: grid; place-items: center; color: var(--vb-gold); }
.vb-card__media--empty svg { width: 40px; height: 40px; }
.vb-card__cat {
  position: absolute; left: .8rem; top: .8rem;
  background: var(--vb-teal); color: var(--vb-white);
  font-variant: small-caps; letter-spacing: .12em; font-size: .72rem;
  padding: .2rem .6rem; border-radius: 2px;
}
.vb-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.vb-card__title { font-size: 1.3rem; margin: 0 0 .4rem; line-height: 1.2; }
.vb-card__excerpt { color: var(--vb-muted); font-size: .95rem; margin: 0 0 .9rem; }
.vb-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--vb-muted);
  border-top: 1px dotted var(--vb-cream-2); padding-top: .7rem;
}
.vb-card__more { color: var(--vb-burgundy); font-weight: 700; }

/* --- Sidebar --- */
.vb-blog__aside { display: grid; gap: 1.4rem; position: sticky; top: 100px; }
.vb-widget { background: var(--vb-white); border: 1px solid var(--vb-cream-2); border-radius: var(--vb-radius); padding: 1.2rem 1.3rem; }
.vb-widget__title { margin-top: 0; }
.vb-widget ul { list-style: none; margin: 0; padding: 0; }
.vb-widget li { padding: .4rem 0; border-bottom: 1px dotted var(--vb-cream-2); }
.vb-widget li:last-child { border-bottom: 0; }
.vb-widget a { text-decoration: none; color: var(--vb-ink); }
.vb-widget a:hover { color: var(--vb-teal); }

/* --- Single post --- */
.vb-single__head {
  padding-block: clamp(2.6rem, 6vw, 4rem) 1.5rem;
  background: radial-gradient(120% 80% at 50% -10%, rgba(1,113,126,.10), transparent 60%), var(--vb-cream);
}
.vb-single__head h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 24ch; margin-inline: auto; }
.vb-single__meta {
  display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  color: var(--vb-muted); font-size: .9rem; margin-top: .5rem;
}
.vb-single__meta .sep { opacity: .5; }
.vb-post-meta { display: inline-flex; gap: .5rem; align-items: center; }

.vb-single__media { margin-block: 1.8rem; }
.vb-single__media img { width: 100%; border-radius: var(--vb-radius); border: 1px solid var(--vb-cream-2); }

.vb-single__body { padding-block: 1rem 2rem; }
.vb-single__body p:first-of-type::first-letter {
  font-family: var(--vb-serif); font-size: 3.4rem; line-height: .8;
  float: left; padding: .1em .12em 0 0; color: var(--vb-burgundy);
}
.vb-tags { margin-top: 1.8rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.vb-tags a {
  font-size: .8rem; text-decoration: none; color: var(--vb-teal);
  border: 1px solid var(--vb-cream-2); padding: .25rem .7rem; border-radius: 2px;
}
.vb-tags a:hover { background: var(--vb-teal); color: var(--vb-white); border-color: var(--vb-teal); }

.vb-single__foot { padding-block: 2rem; }
.vb-single__cta { text-align: center; margin-top: 1.5rem; }
.vb-single__cta p { max-width: 40ch; margin-inline: auto; }

.post-navigation { margin-block: 2.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .post-navigation { grid-template-columns: 1fr; } }
.post-navigation a { text-decoration: none; color: var(--vb-ink); display: block; padding: 1rem; border: 1px solid var(--vb-cream-2); border-radius: var(--vb-radius); background: var(--vb-white); }
.post-navigation a:hover { border-color: var(--vb-gold); }
.post-navigation .nav-sub { display: block; font-variant: small-caps; letter-spacing: .12em; font-size: .72rem; color: var(--vb-gold-deep); }
.post-navigation .nav-next { text-align: right; }

/* --- Comments --- */
.vb-comments { margin-block: 2.5rem; }
.vb-comment-list { list-style: none; padding: 0; }
.vb-comment-list .comment { border-top: 1px solid var(--vb-cream-2); padding: 1.2rem 0; }
.vb-comments .comment-form { display: grid; gap: 1rem; margin-top: 1.5rem; }

/* --- Search --- */
.vb-search__row { display: flex; gap: .5rem; }
.vb-search__row input { flex: 1; }

/* --- Post meta on home hero eyebrow horizon --- */
.vb-shave { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr; align-items: center; }
@media (max-width: 820px) { .vb-shave { grid-template-columns: 1fr; } }
.vb-shave__price { font-family: var(--vb-serif); font-size: 3.4rem; color: var(--vb-gold); line-height: 1; margin: .3rem 0; }

/* --- Barber placeholder tile --- */
.vb-barber__ph {
  width: 180px; height: 180px; border-radius: 50%; margin: 0 auto .9rem;
  display: grid; place-items: center; background: var(--vb-cream-2);
  border: 3px solid var(--vb-gold); color: var(--vb-teal);
}
.vb-barber__ph svg { width: 46px; height: 46px; }
