/* ==========================================================
   Venue Dekho — blog
   ========================================================== */
.vd-blog-hero{padding:3.5rem 0 2rem;background:linear-gradient(180deg,var(--vd-brand-tint),#fff)}
.vd-blog-hero h1{font-size:clamp(2rem,4.4vw,3.2rem);font-weight:500;margin:.6rem 0 .5rem}
.vd-blog-hero p{color:var(--vd-muted);max-width:56ch;margin:0 auto}
.vd-blog-search{position:relative;max-width:420px;margin:1.75rem auto 0}
.vd-blog-search i{position:absolute;left:1.1rem;top:50%;transform:translateY(-50%);color:var(--vd-muted);font-size:.9rem}
.vd-blog-search input{
  width:100%;padding:.75rem 1.1rem .75rem 2.7rem;
  border:1px solid var(--vd-line);border-radius:999px;background:#fff;
  font-family:var(--vd-font-body);font-size:.93rem;outline:none;
}
.vd-blog-search input:focus{border-color:var(--vd-brand);box-shadow:0 0 0 3px rgba(232,47,93,.12)}

/* ---------- Card ---------- */
.vd-post-card{
  display:flex;flex-direction:column;height:100%;
  background:#fff;border:1px solid var(--vd-line);border-radius:18px;overflow:hidden;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease,border-color .3s ease;
}
.vd-post-card:hover{transform:translateY(-6px);box-shadow:var(--vd-shadow-lg);border-color:transparent}
.vd-post-media{position:relative;display:block;aspect-ratio:16/10;background:var(--vd-brand-tint);overflow:hidden}
.vd-post-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.vd-post-card:hover .vd-post-media img{transform:scale(1.06)}
.vd-post-media .vd-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  color:var(--vd-brand);opacity:.3;font-size:2rem;
}
.vd-post-cat{
  position:absolute;top:.8rem;left:.8rem;
  background:rgba(255,255,255,.94);color:var(--vd-brand);
  font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  padding:.3rem .7rem;border-radius:999px;backdrop-filter:blur(4px);
}
.vd-post-body{display:flex;flex-direction:column;flex:1;padding:1.2rem}
.vd-post-meta{font-size:.74rem;color:var(--vd-muted);letter-spacing:.04em}
.vd-post-title{
  font-family:var(--vd-font-display);font-size:1.3rem;font-weight:600;
  color:var(--vd-ink);line-height:1.25;margin:.45rem 0 .5rem;
}
.vd-post-excerpt{font-size:.88rem;color:var(--vd-muted);line-height:1.6;flex:1}
.vd-post-more{
  margin-top:.9rem;font-size:.82rem;font-weight:600;color:var(--vd-brand);
  display:inline-flex;align-items:center;gap:.35rem;
}
.vd-post-card:hover .vd-post-more i{transform:translateX(3px)}
.vd-post-more i{transition:transform .2s ease}

/* ---------- Article ---------- */
.vd-article{padding-top:2rem}
.vd-article-head{max-width:760px;text-align:center}
.vd-article-head h1{font-size:clamp(2rem,4.6vw,3.3rem);font-weight:500;line-height:1.12;margin:.7rem 0 .8rem}
.vd-article-lede{font-size:1.08rem;color:var(--vd-muted);line-height:1.7;margin-bottom:1.4rem}
.vd-article-byline{
  display:flex;flex-wrap:wrap;gap:1.15rem;justify-content:center;
  font-size:.82rem;color:var(--vd-muted);
  padding-top:1rem;border-top:1px solid var(--vd-line);
}
.vd-article-byline i{color:var(--vd-brand);margin-right:.25rem}
.vd-article-cover{max-width:940px;margin:2rem auto}
.vd-article-cover img{width:100%;border-radius:18px;display:block}

.vd-article-body{
  max-width:720px;margin:2.5rem auto 0;
  font-size:1.05rem;line-height:1.85;color:var(--vd-body);
}
/* The post title is the page's <h1>, so an h1 inside the body is a second
   one. It is set a shade below the title rather than matching it, so the two
   do not compete when an author uses it. */
.vd-article-body h1{font-size:2.1rem;font-weight:600;margin:2.4rem 0 .9rem;line-height:1.2}
.vd-article-body h2{font-size:1.75rem;font-weight:600;margin:2.2rem 0 .8rem}
.vd-article-body h3{font-size:1.35rem;font-weight:600;margin:1.8rem 0 .6rem}
.vd-article-body h4{font-size:1.15rem;font-weight:600;margin:1.6rem 0 .5rem}
/* Below h4 the display face and a larger size stop helping; weight and, for
   h6, small caps carry the level instead. */
.vd-article-body h5{font-size:1.02rem;font-weight:700;margin:1.4rem 0 .4rem}
.vd-article-body h6{
  font-size:.85rem;font-weight:700;margin:1.4rem 0 .4rem;
  text-transform:uppercase;letter-spacing:.07em;color:var(--vd-muted);
}
.vd-article-body p{margin-bottom:1.25rem}
.vd-article-body ul,.vd-article-body ol{margin:0 0 1.25rem 1.1rem}
.vd-article-body li{margin-bottom:.5rem}
.vd-article-body a{color:var(--vd-brand);text-decoration:underline;text-underline-offset:3px}
.vd-article-body img{max-width:100%;height:auto;border-radius:12px;margin:1.5rem 0}

/* Video in the body of a post, both kinds the editor can insert: an <iframe>
   for YouTube and Vimeo, a <video> for a file we host. Sized by aspect-ratio
   rather than a fixed height so neither letterboxes on a phone. */
.vd-article-body iframe,
.vd-article-body video{
  display:block;width:100%;max-width:100%;
  aspect-ratio:16/9;height:auto;
  border:0;border-radius:12px;margin:1.75rem 0;background:#000;
}

/* Quill writes alignment as a class rather than an attribute. */
.vd-article-body .ql-align-center{text-align:center}
.vd-article-body .ql-align-right{text-align:right}
.vd-article-body .ql-align-justify{text-align:justify}

/* A code block from the editor's toolbar. */
.vd-article-body pre{
  background:var(--vd-bg);border:1px solid var(--vd-line);
  border-radius:10px;padding:.9rem 1.1rem;margin:1.5rem 0;
  font-size:.9rem;line-height:1.6;overflow-x:auto;white-space:pre-wrap;
}
.vd-article-body blockquote{
  border-left:3px solid var(--vd-brand);background:var(--vd-brand-tint);
  margin:1.75rem 0;padding:1.1rem 1.4rem;border-radius:0 10px 10px 0;
  font-family:var(--vd-font-display);font-size:1.2rem;font-style:italic;
}
.vd-article-body table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.95rem}
.vd-article-body th,.vd-article-body td{border:1px solid var(--vd-line);padding:.6rem .8rem;text-align:left}
.vd-article-body th{background:var(--vd-bg);font-weight:600}

.vd-article-tags{
  max-width:720px;margin:2rem auto 0;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;
}
.vd-article-tags span{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--vd-muted)}
.vd-article-tags a{
  font-size:.82rem;color:var(--vd-body);border:1px solid var(--vd-line);
  border-radius:999px;padding:.28rem .8rem;
}
.vd-article-tags a:hover{border-color:var(--vd-brand);color:var(--vd-brand)}

.vd-article-share{
  max-width:720px;margin:1.5rem auto 3rem;display:flex;gap:.6rem;align-items:center;
  padding-top:1.25rem;border-top:1px solid var(--vd-line);
}
.vd-article-share span{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--vd-muted)}
.vd-article-share a{
  width:34px;height:34px;border-radius:50%;border:1px solid var(--vd-line);
  display:flex;align-items:center;justify-content:center;color:var(--vd-body);
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.vd-article-share a:hover{background:var(--vd-brand);border-color:var(--vd-brand);color:#fff}
