/* ===== blog.css ===== */
/* ==========================================================================
   VAPORS DUBAI — Blog Design System (loaded by functions.php)
   Covers: /blog/ listing, single post, and the auto Table of Contents.
   Uses the shared :root tokens from homepage.css/header.css (loaded first).
   ========================================================================== */

html { scroll-behavior: smooth; }

/* ==========================================================================
   1. SINGLE POST — header, featured image, reading column
   ========================================================================== */
/* Full-width article layout (user request). !important because Astra prints
   its customizer CSS after this file and ties on specificity. */
body.single-post .ast-container { max-width: 100% !important; }

body.single-post .entry-title {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: clamp(27px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.6px;
  color: var(--vd-ink);
  margin: 4px 0 14px;
}

body.single-post .entry-meta {
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 13.5px;
  color: var(--vd-muted);
  letter-spacing: .01em;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
body.single-post .entry-meta a {
  color: #6C4DF6;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}
body.single-post .entry-meta a:hover { color: #A855F7; }

/* Featured image frame (printed by functions.php — Astra omits it). */
.vd-post-feat {
  margin: 22px 0 30px;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(13, 16, 30, .12);
}
/* Prefixed with .entry-content (the frame lives inside the content) so the
   generic .entry-content img rule below can't re-border or inset it. */
.entry-content .vd-post-feat img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0;
}

/* ==========================================================================
   2. CONTENT TYPOGRAPHY — the article itself
   ========================================================================== */
.entry-content {
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--vd-ink-2, #161A26);
}
.entry-content p { margin: 0 0 1.35em; }

.entry-content a {
  color: #6C4DF6;
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 77, 237, .35);
  transition: color .15s ease, border-color .15s ease;
}
.entry-content a:hover { color: #8B5CF6; border-bottom-color: #8B5CF6; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  color: var(--vd-ink);
  letter-spacing: -.3px;
}
.entry-content h2 {
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  margin: 42px 0 18px;
  scroll-margin-top: 225px;
}
/* The design's signature dash under section titles. */
.entry-content h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6C4DF6, #A855F7);
  margin-top: 12px;
}
.entry-content h3 {
  font-size: 19.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 32px 0 12px;
  scroll-margin-top: 225px;
}
.entry-content h4 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }

.entry-content strong { color: var(--vd-ink); font-weight: 700; }

/* Lists — violet round markers, comfortable rhythm. */
.entry-content ul { list-style: none; padding-left: 4px; margin: 0 0 1.5em; }
.entry-content ul > li {
  position: relative;
  padding-left: 27px;
  margin-bottom: .55em;
}
.entry-content ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .64em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8B5CF6, #6C4DF6);
}
.entry-content ol { padding-left: 26px; margin: 0 0 1.5em; }
.entry-content ol > li { margin-bottom: .55em; }
.entry-content ol > li::marker { color: #6C4DF6; font-weight: 700; }
.entry-content li { line-height: 1.72; }
.entry-content li > ul,
.entry-content li > ol { margin-top: .5em; margin-bottom: 0; }

/* Images inside articles. */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 26px auto;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 14px;
}
.entry-content figure { margin: 26px 0; }
.entry-content figcaption {
  font-size: 13.5px;
  color: var(--vd-muted);
  text-align: center;
  margin-top: 8px;
}

/* Blockquote callout (future-proof). */
.entry-content blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(108, 77, 237, .07), rgba(168, 85, 247, .04));
  border-left: 4px solid #6C4DF6;
  border-radius: 0 14px 14px 0;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--vd-ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content hr {
  border: 0;
  height: 1px;
  background: var(--vd-line, #E7E9EF);
  margin: 38px 0;
}

/* Data tables (price/spec tables in the reviews) — framed, tinted header. */
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 10px 0 30px;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14.5px;
  box-shadow: 0 8px 26px rgba(13, 16, 30, .05);
}
.entry-content th {
  background: linear-gradient(180deg, rgba(108, 77, 237, .12), rgba(168, 85, 247, .07));
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #5B3FD9;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--vd-line, #E7E9EF);
}
.entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid #F0F1F5;
  color: var(--vd-ink-2, #161A26);
}
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content tbody tr:nth-child(even) td { background: #FAFAFD; }

/* ==========================================================================
   3. TABLE OF CONTENTS (auto-generated by functions.php)
   ========================================================================== */
.vd-toc {
  background: linear-gradient(180deg, rgba(108, 77, 237, .08), rgba(168, 85, 247, .045));
  border: 1px solid rgba(108, 77, 237, .2);
  border-radius: 18px;
  padding: 22px 26px 16px;
  margin: 4px 0 34px;
  box-shadow: 0 14px 34px rgba(13, 16, 30, .06);
  scroll-margin-top: 225px;
}
p.vd-toc__label {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6C4DF6;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vd-toc__label::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(180deg, #8B5CF6, #6C4DF6);
  box-shadow: 0 4px 10px rgba(108, 77, 237, .45);
}
.entry-content .vd-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: vd-toc;
}
.entry-content .vd-toc__item { counter-increment: vd-toc; margin-bottom: 0; }
.vd-toc__item + .vd-toc__item { border-top: 1px solid rgba(108, 77, 237, .14); }
.vd-toc__item a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 2px;
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--vd-ink);
  text-decoration: none;
  border-bottom: 0 !important;
  transition: color .15s ease;
}
.vd-toc__item a::before {
  content: counter(vd-toc, decimal-leading-zero);
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #A78BFA;
  min-width: 24px;
  flex: none;
  transition: color .15s ease;
}
.vd-toc__item a:hover { color: #6C4DF6; }
.vd-toc__item a:hover::before { color: #F5C451; } /* gold flash on hover */

/* ==========================================================================
   4. BLOG LISTING (/blog/) — Astra flex row → 3-up card grid
   ========================================================================== */
body.blog .ast-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
body.blog .ast-row { align-items: stretch; }
body.blog .ast-row > article {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: var(--vd-radius, 14px);
  overflow: hidden;
  padding-bottom: 22px;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
body.blog .ast-row > article:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--vd-shadow-lg, 0 18px 40px rgba(13, 16, 30, .12));
}

/* Card image — 16:9 crop with a gentle zoom on hover. */
body.blog .post-thumb-img-content { overflow: hidden; }
body.blog .post-thumb-img-content a { display: block; line-height: 0; }
body.blog .post-thumb-img-content img {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  transition: transform .4s ease;
}
body.blog .ast-row > article:hover .post-thumb-img-content img { transform: scale(1.06); }

/* Category chip. */
body.blog .cat-links { display: block; padding: 0 18px; margin-top: 16px; }
body.blog .cat-links a {
  display: inline-flex;
  align-items: center;
  background: rgba(108, 77, 237, .1);
  color: #6C4DF6 !important;
  border-radius: 999px;
  padding: 5px 13px;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease;
}
body.blog .cat-links a:hover { background: #6C4DF6; color: #fff !important; }

/* Title. */
body.blog h2.entry-title {
  margin: 13px 0 0;
  padding: 0 18px;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.2px;
}
body.blog h2.entry-title a {
  color: var(--vd-ink);
  text-decoration: none;
  border-bottom: 0;
  transition: color .18s ease;
}
body.blog h2.entry-title a:hover { color: #6C4DF6; }

/* Meta row. */
body.blog .entry-header { padding: 11px 18px 0; }
body.blog .entry-meta {
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 13px;
  color: var(--vd-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
body.blog .entry-meta a {
  color: #6C4DF6;
  font-weight: 600;
  text-decoration: none;
}
body.blog .entry-meta a:hover { color: #A855F7; }

/* Excerpt. */
body.blog .ast-excerpt-container {
  padding: 10px 18px 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
/* Clamp the teaser to three lines so one long post can't stretch the whole
   row's card height — the -webkit box is the standard way to do this. */
body.blog .ast-excerpt-container p {
  margin: 0;
  font-family: var(--vd-font-body, "Inter", sans-serif);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--vd-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Title also clamps to two lines so single- and three-line titles sit alike. */
body.blog h2.entry-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Read more pinned to the card bottom, so every card's action lines up. */
body.blog .more-link,
body.blog .ast-excerpt-container .more-link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--vd-violet, #6C4DF6);
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: gap .18s ease, color .18s ease;
}
body.blog .more-link:hover { gap: 11px; color: var(--vd-violet-dk, #4B32C3); }
/* Author/date line stays under the title, chip stays tight above it. */
body.blog .cat-links { margin-top: 14px; padding-bottom: 0; }
body.blog .ast-row > article { padding-bottom: 18px; }

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  body.blog .ast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.blog .ast-row { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .entry-content { font-size: 16px; }
  .entry-content td, .entry-content th { padding: 9px 10px; }
  .entry-content table { font-size: 13.5px; }
  .vd-toc { padding: 18px 18px 12px; }
  .vd-toc__item a { font-size: 14px; }
  .vd-post-feat { border-radius: 14px; }
}

/* Archive pagination — violet pills matching the CTA buttons */
.navigation.pagination {
  margin: 40px 0 8px;
  text-align: center;
}
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--vd-line, #E7E9EF);
  background: #fff;
  color: var(--vd-ink, #0B0D12);
  font-family: var(--vd-font-b, "Inter", sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  justify-content: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.navigation.pagination .page-numbers:hover {
  border-color: transparent;
  background: rgba(108, 77, 246, .10);
  color: var(--vd-violet, #6C4DF6);
  transform: translateY(-2px);
}
.navigation.pagination .page-numbers.current {
  border-color: transparent;
  background: var(--vd-violet, #6C4DF6);
  color: #fff;
  box-shadow: 0 8px 20px rgba(108, 77, 246, .32);
}
.navigation.pagination a.page-numbers .ast-right-arrow {
  transition: transform .18s ease;
}
.navigation.pagination a.page-numbers:hover .ast-right-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   20. BLOG PAGE BUILDER  (Elementor page + [vd_blog_loop] shortcode)
   --------------------------------------------------------------------------
   The hero band and the loop wrapper are real Elementor sections; the toolbar,
   grid, cards and pagination below are printed by vd_blog_loop() so pagination
   is built from page URLs WordPress can always resolve.

   Class names are vd-blog-* and scoped to .vd-blog-list / .vd-blog-hero so
   nothing here can reach the native /blog/ archive, single posts, or any
   other page.
   ========================================================================== */

.vd-blog-hero {
  text-align: center;
  padding-block: clamp(40px, 6vw, 66px) clamp(34px, 5vw, 52px) !important;
}
.vd-blog-title {
  margin: 0 0 10px !important;
}
.vd-blog-title .elementor-heading-title {
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.8px;
  color: var(--vd-ink, #0B0D12);
}
.vd-blog-sub p {
  margin: 0 auto !important;
  max-width: 640px;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.65;
  color: #475569;
}
/* Elementor's divider widget is the wrong tool here: it renders its line in a
   nested .elementor-divider that ignores width set on the widget, so the
   56px rule came out as a fat violet block with a hairline through it. Replaced
   with the divider's own ::after, which is a plain 56x3px rectangle we fully
   control. Remove the Divider widget from the page and this draws the dash; if
   a Divider widget is present its rule is hidden below. */
.vd-blog-hero .elementor-widget-divider,
.vd-blog-rule {
  display: none !important;
}
.vd-blog-sub::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--vd-violet, #6C4DF6);
}
.vd-blog-list .elementor-widget-shortcode { width: 100%; }

/* ---------------------------------------------------------------- toolbar */
.vd-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0 0 26px;
}
.vd-blog-count {
  font-family: var(--vd-font-b, "Inter", sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
}
.vd-blog-sort select {
  min-width: 190px;
  padding: 11px 38px 11px 16px;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 12px;
  background-color: #fff;
  font-family: var(--vd-font-b, "Inter", sans-serif);
  font-size: 14px;
  color: #1E293B;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.vd-blog-sort select:focus {
  border-color: var(--vd-violet, #6C4DF6);
  outline: none;
}

/* ------------------------------------------------------------------- grid */
.vd-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.vd-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: var(--vd-radius, 16px);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.vd-blog-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--vd-shadow-lg, 0 18px 40px -18px rgba(11, 13, 18, .35));
}
.vd-blog-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--vd-bg-soft, #F7F8FC);
}
.vd-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.vd-blog-card:hover .vd-blog-thumb img { transform: scale(1.05); }
.vd-blog-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EDE9FE, #F4F0FF);
}
.vd-blog-cat {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--vd-violet, #6C4DF6);
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.vd-blog-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.vd-blog-card-title {
  margin: 0 0 8px !important;
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.2px;
}
.vd-blog-card-title a {
  color: var(--vd-ink, #0B0D12);
  text-decoration: none;
  background-image: none !important;
  transition: color .16s ease;
}
.vd-blog-card-title a:hover { color: var(--vd-violet, #6C4DF6); }
.vd-blog-excerpt {
  margin: 0 0 14px !important;
  font-family: var(--vd-font-b, "Inter", sans-serif);
  font-size: 14px;
  line-height: 1.62;
  color: var(--vd-muted, #6B7280);
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vd-blog-date {
  font-family: var(--vd-font-b, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}
.vd-blog-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--vd-muted, #6B7280);
}

/* ------------------------------------------------------------- pagination */
.vd-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 44px 0 0;
  flex-wrap: wrap;
}
.vd-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--vd-line, #E7E9EF);
  border-radius: 999px;
  background: #fff;
  color: var(--vd-ink, #0B0D12);
  font-family: var(--vd-font-h, "Sora", sans-serif);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vd-blog-pagination .page-numbers.current {
  background: linear-gradient(180deg, #7C3AED, #6D28D9);
  border-color: transparent;
  color: #fff;
}
.vd-blog-pagination .page-numbers:hover:not(.current) {
  border-color: var(--vd-violet, #6C4DF6);
  color: var(--vd-violet, #6C4DF6);
}
/* prev/next arrows keep the same pill shape */
.vd-blog-pagination a.page-numbers:is(.prev):is(.next) { letter-spacing: .04em; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .vd-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
  .vd-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vd-blog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .vd-blog-sort select { width: 100%; min-width: 0; }
}

/* ==========================================================================
   21. BLOG PAGE — corrections from live rendering
   --------------------------------------------------------------------------
   Three defects visible only once the page actually rendered:
   1. .entry-content a adds an underline to card titles. The whole page is an
      Elementor canvas so the theme's entry-content rules apply to it too.
   2. Card thumbnails came out shorter than their 16/10 frame, leaving grey
      gaps — the <img> needs to be absolutely positioned to fill the box.
   3. The hero carried a tall empty band under the divider.
   ========================================================================== */

/* 1 — no underline, no hover underline, anywhere inside the blog canvas */
.vd-blog-list .entry-content a,
.vd-blog-list .elementor-widget a,
.vd-blog-hero .entry-content a,
.vd-blog-hero .elementor-widget a {
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.vd-blog-list .entry-content a:hover,
.vd-blog-list .elementor-widget a:hover {
  border-bottom: 0 !important;
}

/* 2 — thumbnail image fills the aspect-ratio frame */
.vd-blog-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transform: none;
}
.vd-blog-card:hover .vd-blog-thumb img { transform: scale(1.05); }

/* 3 — trim the hero's lower band */
.vd-blog-hero { padding-bottom: clamp(26px, 4vw, 38px) !important; }
.vd-blog-rule { margin-bottom: 0 !important; }
