:root {
  --vdp-bg: #03141a;
  --vdp-bg-soft: #041a20;
  --vdp-panel: #082630;
  --vdp-panel-2: #0b303a;
  --vdp-cyan: #1bd5c5;
  --vdp-cyan-2: #16b9d2;
  --vdp-text: #f4f8f9;
  --vdp-muted: #a9bdc3;
  --vdp-border: rgba(255, 255, 255, .09);
}

html { scroll-behavior: smooth; }
body.vdp-blog-page,
body.vdp-blog-post-page,
body.vdp-editor-page {
  overflow-x: clip;
  background: var(--vdp-bg) !important;
  color: var(--vdp-text);
  font-family: Poppins, sans-serif;
}
body.vdp-blog-page img,
body.vdp-blog-post-page img,
body.vdp-editor-page img { max-width: 100%; }

/* Shared header, including legacy header markup. */
body[class^="vdp-"] #header {
  min-height: 84px;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  background: rgba(2,15,20,.96) !important;
  box-shadow: none !important;
}
body[class^="vdp-"] #header .container-menu,
body.vdp-editor-page #header > .container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin-inline: auto;
}
body[class^="vdp-"] #header .border-bottom-menu {
  width: 100%;
  align-items: center;
  border: 0 !important;
}
body[class^="vdp-"] #header .logo img { width: 54px !important; height: 54px !important; object-fit: contain; }
body.vdp-editor-page #header .logo a { color: #fff; text-decoration: none; }
body[class^="vdp-"] #header .navbar > ul,
body.vdp-editor-page #header .navbar > ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body[class^="vdp-"] #header .navbar a {
  color: #dce8ea !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body[class^="vdp-"] #header .navbar a.active,
body[class^="vdp-"] #header .navbar a:hover { color: var(--vdp-cyan) !important; }

/* Shared mobile drawer. */
body.vdp-blog-page .drawer_open,
body.vdp-blog-post-page .drawer_open {
  top: 0;
  bottom: 0;
  left: 0;
  width: min(84vw, 340px) !important;
  height: 100dvh !important;
  overflow-y: auto;
  border-right: 1px solid rgba(27,213,197,.22) !important;
  background: linear-gradient(180deg,#03141a,#06232c) !important;
  box-shadow: 18px 0 45px rgba(0,0,0,.38);
}
body.vdp-blog-page .drawer_open > div:first-child,
body.vdp-blog-post-page .drawer_open > div:first-child {
  min-height: 84px;
  border-bottom-color: rgba(27,213,197,.18) !important;
  background: rgba(2,15,20,.7);
}
body.vdp-blog-page .drawer_open p,
body.vdp-blog-post-page .drawer_open p { color: #f4f8f9 !important; font-family: Poppins,sans-serif !important; font-weight: 700; }
body.vdp-blog-page .mobile_resp_ul,
body.vdp-blog-post-page .mobile_resp_ul { padding: 12px 0 0; }
body.vdp-blog-page .mobile_resp_ul li,
body.vdp-blog-post-page .mobile_resp_ul li { margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
body.vdp-blog-page .mobile_resp_ul a,
body.vdp-blog-post-page .mobile_resp_ul a { display: flex; align-items: center; min-height: 52px; padding: 12px 22px; color: #c6d6da !important; font-weight: 600; text-decoration: none; }
body.vdp-blog-page .mobile_resp_ul a.active,
body.vdp-blog-post-page .mobile_resp_ul a.active { background: rgba(27,213,197,.09); color: var(--vdp-cyan) !important; }

/* Blog listing. */
.vdp-blog-hero {
  padding: 68px 16px 62px;
  background: radial-gradient(50% 85% at 50% 0%,rgba(27,213,197,.15),transparent 70%),linear-gradient(180deg,#03141a,#041a20);
  text-align: center;
}
.vdp-blog-hero h1 { margin: 0 0 12px; color: #fff !important; font-size: clamp(40px,5vw,60px); font-weight: 800; letter-spacing: -1.5px; }
.vdp-blog-hero h1 span { color: var(--vdp-cyan); }
.vdp-blog-hero p { max-width: 720px; margin: 0 auto; color: var(--vdp-muted); font-size: 17px; line-height: 1.7; }
.vdp-blog-insights { padding: 0 16px 36px; background: var(--vdp-bg-soft); }
.vdp-blog-insights .container { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: 960px; }
.vdp-blog-insights .container > div { padding: 18px; border: 1px solid var(--vdp-border); border-radius: 14px; background: rgba(27,213,197,.045); }
.vdp-blog-insights strong { display: block; margin-bottom: 6px; color: var(--vdp-cyan); }
.vdp-blog-insights span { color: var(--vdp-muted); font-size: 14px; line-height: 1.6; }
body.vdp-blog-page #main > .section { padding: 36px 0 72px; background: var(--vdp-bg-soft); }
body.vdp-blog-page #blogPostsRow { max-width: 960px; margin-inline: auto; }
body.vdp-blog-page #blogPostsRow > [class*="col-"] { display: flex; }
body.vdp-blog-page #blogPostsRow .card { width: 100%; overflow: hidden; border: 1px solid var(--vdp-border); border-radius: 20px; background: #fff; box-shadow: 0 18px 38px rgba(0,0,0,.2); }
body.vdp-blog-page #blogPostsRow .card-img-top { width: 100%; height: 230px; object-fit: cover; }
body.vdp-blog-page #blogPostsRow .card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
body.vdp-blog-page #blogPostsRow .card-title,
body.vdp-blog-page #blogPostsRow .card-title a,
body.vdp-blog-page #blogPostsRow .card-title strong { color: #0a3743 !important; font-size: 20px; line-height: 1.35; text-decoration: none; }
body.vdp-blog-page #blogPostsRow .card-text { color: #607980 !important; line-height: 1.7; }
body.vdp-blog-page #blogPostsRow .btn-primary,
body.vdp-blog-page #loadMoreBtn { margin-top: auto; padding: 12px 24px; border: 0; border-radius: 13px; background: #083d49; color: #fff; }
body.vdp-blog-page .page-title-band { display: none; }

/* Compact editorial cards for the three-column blog grid. */
body.vdp-blog-page #blogPostsRow { max-width: 1180px; }
body.vdp-blog-page #blogPostsRow .card {
  position: relative;
  min-height: 470px;
  padding: 12px;
  border: 1px solid rgba(27,213,197,.16);
  border-radius: 24px 24px 14px 14px;
  background: linear-gradient(180deg,#f9fcfc,#edf5f6);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
body.vdp-blog-page #blogPostsRow .card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 28px;
  left: 28px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg,var(--vdp-cyan),var(--vdp-cyan-2));
}
body.vdp-blog-page #blogPostsRow .card-img-top {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  object-fit: cover;
}
body.vdp-blog-page #blogPostsRow .card-body { padding: 20px 17px 16px; }
body.vdp-blog-page #blogPostsRow .card-title {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 10px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.vdp-blog-page #blogPostsRow .card-title a,
body.vdp-blog-page #blogPostsRow .card-title strong { font-size: inherit; line-height: inherit; }
body.vdp-blog-page #blogPostsRow .card-text {
  display: -webkit-box;
  margin-bottom: 18px;
  overflow: hidden;
  color: #607980 !important;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.vdp-blog-page #blogPostsRow .btn-primary {
  min-width: 132px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
}
body.vdp-blog-page #blogPostsRow .card:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(0,0,0,.24); }

/* Public post view. */
body.vdp-blog-post-page #main { background: var(--vdp-bg); }
body.vdp-blog-post-page .blog-hero-card,
body.vdp-blog-post-page .blog-content-card,
body.vdp-blog-post-page .blog-faq-card,
body.vdp-blog-post-page .blog-highlights {
  border: 1px solid var(--vdp-border) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg,var(--vdp-panel),#061f28) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.2) !important;
  color: #dbe8eb !important;
}
body.vdp-blog-post-page .blog-hero-card h1,
body.vdp-blog-post-page .blog-content-card h2,
body.vdp-blog-post-page .blog-content-card h3,
body.vdp-blog-post-page .blog-faq-card h3,
body.vdp-blog-post-page .blog-highlights h3 { color: #f5fafb !important; }
body.vdp-blog-post-page .blog-content-card p,
body.vdp-blog-post-page .blog-content-card li,
body.vdp-blog-post-page .blog-faq-card p { color: #b4c6ca !important; line-height: 1.8; }
/* Published editor content can contain inline black colors from rich text.
   Force all readable content onto the light palette used by the post theme. */
body.vdp-blog-post-page .blog-content-card :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,em,i,li,dt,dd,figcaption,blockquote,pre,code,th,td) {
  color: #eef6f7 !important;
}
body.vdp-blog-post-page .blog-content-card p,
body.vdp-blog-post-page .blog-content-card li,
body.vdp-blog-post-page .blog-content-card td {
  color: #c6d5d9 !important;
}
body.vdp-blog-post-page .blog-content-card strong,
body.vdp-blog-post-page .blog-content-card b,
body.vdp-blog-post-page .blog-content-card th {
  color: #ffffff !important;
}
body.vdp-blog-post-page .blog-content-card table {
  border-color: rgba(255,255,255,.35) !important;
  color: #eef6f7 !important;
}
body.vdp-blog-post-page .blog-content-card th,
body.vdp-blog-post-page .blog-content-card td {
  border-color: rgba(255,255,255,.35) !important;
}
body.vdp-blog-post-page .blog-content-card a,
body.vdp-blog-post-page .blog-breadcrumb a { color: var(--vdp-cyan) !important; }
body.vdp-blog-post-page .blog-faq-card .accordion-item,
body.vdp-blog-post-page .blog-faq-card .accordion-button { border-color: var(--vdp-border) !important; background: var(--vdp-panel-2) !important; color: #edf6f7 !important; }
body.vdp-blog-post-page .blog-faq-card .accordion-button::after { filter: invert(1); }
body.vdp-blog-post-page .blog-hero-tags .badge { background: rgba(27,213,197,.1) !important; color: var(--vdp-cyan) !important; }

/* Sticky post sharing rail and related posts. */
body.vdp-blog-post-page .blog-share {
  position: fixed;
  top: 170px;
  right: 22px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 58px;
  margin: 0;
  padding: 13px 10px;
  border: 1px solid var(--vdp-border);
  border-radius: 18px;
  background: rgba(3,22,28,.94);
  box-shadow: 0 16px 36px rgba(0,0,0,.26);
  backdrop-filter: blur(10px);
}
body.vdp-blog-post-page .blog-share .share-label { margin: 0 0 2px; color: #a9bdc3; font-size: 0; }
body.vdp-blog-post-page .blog-share .share-label::before { content: "Share"; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
body.vdp-blog-post-page .blog-share a,
body.vdp-blog-post-page .blog-share button { flex: 0 0 38px; width: 38px; height: 38px; margin: 0; padding: 0; border: 1px solid rgba(27,213,197,.16); background: #173943; color: #fff; }
body.vdp-blog-post-page .blog-share a:hover,
body.vdp-blog-post-page .blog-share button:hover { border-color: var(--vdp-cyan); background: #0b5361; color: #fff; }
.vdp-related-posts { margin-top: 42px; padding-top: 34px; border-top: 1px solid rgba(27,213,197,.2); }
.vdp-related-posts h2 { margin: 0 0 22px !important; text-align: center; }
.vdp-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.vdp-related-card { overflow: hidden; border: 1px solid var(--vdp-border); border-radius: 16px; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.vdp-related-card img { width: 100%; height: 150px; object-fit: cover; }
.vdp-related-card-body { display: flex; min-height: 150px; flex-direction: column; align-items: flex-start; padding: 17px; }
.vdp-related-card h3 { margin: 0 0 10px !important; color: #0a3743 !important; font-size: 17px !important; line-height: 1.35; }
.vdp-related-card p { margin: 0 0 14px; color: #607980 !important; font-size: 13px; line-height: 1.55; }
.vdp-related-card a { margin-top: auto; color: #087f83 !important; font-weight: 700; text-decoration: none; }

/* Answer-focused how-to guide. */
body.vdp-how-to-page #main { background: var(--vdp-bg); }
.vdp-how-hero { padding: 48px 16px 44px; border-bottom: 1px solid rgba(27,213,197,.22); background: radial-gradient(50% 85% at 50% 0%,rgba(27,213,197,.15),transparent 70%),linear-gradient(180deg,#03141a,#041a20); text-align: center; }
.vdp-how-hero h1 { max-width: 960px; margin: 0 auto 14px; color: #fff; font-size: clamp(36px,5vw,58px); font-weight: 800; line-height: 1.14; letter-spacing: -1.2px; }
.vdp-how-hero p { max-width: 780px; margin: 0 auto; color: var(--vdp-muted); font-size: 17px; line-height: 1.7; }
.vdp-how-breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; color: #789097; font-size: 13px; }
.vdp-how-breadcrumb a { color: #a9bdc3; text-decoration: none; }
body.vdp-how-to-page .vdp-how-content { margin: 0; padding: 42px 16px !important; border-top: 0 !important; background: #06232b !important; }
body.vdp-how-to-page .vdp-how-content .container { max-width: 1040px; }
body.vdp-how-to-page .blog-content-card { padding: 38px; }
body.vdp-how-to-page .blog-content-card > section { padding-top: 28px; border-top: 1px solid rgba(27,213,197,.16); }
.vdp-quick-answer { margin-bottom: 24px; padding: 22px; border-left: 4px solid var(--vdp-cyan); border-radius: 0 14px 14px 0; background: rgba(27,213,197,.07); }
.vdp-quick-answer h2 { margin: 0 0 8px !important; font-size: 24px !important; }
.vdp-quick-answer p { margin: 0; }
.vdp-guide-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 28px; padding: 15px 18px; border: 1px solid var(--vdp-border); border-radius: 12px; background: rgba(2,15,20,.35); }
.vdp-guide-toc strong { color: #fff !important; }
.vdp-guide-toc a { color: var(--vdp-cyan) !important; text-decoration: none; }
.vdp-step-list { counter-reset: guide-step; padding-left: 0; list-style: none; }
.vdp-step-list li { position: relative; min-height: 44px; padding-left: 54px; }
.vdp-step-list li::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(27,213,197,.13); color: var(--vdp-cyan); font-weight: 800; }
.vdp-how-faq details { margin-bottom: 10px; overflow: hidden; border: 1px solid var(--vdp-border); border-radius: 12px; background: var(--vdp-panel-2); }
.vdp-how-faq summary { padding: 16px 18px; color: #f2f8f9; font-weight: 700; cursor: pointer; }
.vdp-how-faq details p { margin: 0; padding: 0 18px 17px; }
.vdp-how-cta { margin-top: 30px; padding: 26px; border-radius: 16px; background: linear-gradient(135deg,rgba(27,213,197,.12),rgba(22,185,210,.07)); text-align: center; }
.vdp-how-cta h2 { margin-top: 0 !important; }
.vdp-how-cta .btn { margin: 6px; padding: 11px 20px; border-radius: 12px; }
.vdp-how-cta .btn-primary { border: 0; background: linear-gradient(135deg,var(--vdp-cyan),var(--vdp-cyan-2)); }

/* Create/edit page. */
body.vdp-editor-page .trending-header { margin: 0 0 34px; padding: 58px 0 52px; background: radial-gradient(50% 85% at 50% 0%,rgba(27,213,197,.15),transparent 70%),linear-gradient(180deg,#03141a,#041a20); color: #fff; text-align: center; }
body.vdp-editor-page .trending-header h1 { color: #fff; font-size: clamp(38px,5vw,56px); font-weight: 800; }
body.vdp-editor-page .trending-header p { color: var(--vdp-muted); }
body.vdp-editor-page .card-custom { padding: 26px; border: 1px solid var(--vdp-border); border-radius: 18px; background: linear-gradient(180deg,var(--vdp-panel),#061f28); box-shadow: 0 18px 42px rgba(0,0,0,.2); color: #eaf3f4; }
body.vdp-editor-page .form-label,
body.vdp-editor-page .section-title { color: #dbe8eb; }
body.vdp-editor-page .section-hint { color: #829ba1; }
body.vdp-editor-page .form-control,
body.vdp-editor-page .form-select { min-height: 46px; border: 1px solid rgba(255,255,255,.1); background: var(--vdp-panel-2); color: #f1f7f8; }
body.vdp-editor-page .form-control::placeholder { color: #718b91; }
body.vdp-editor-page .form-control:focus { border-color: var(--vdp-cyan); box-shadow: 0 0 0 .2rem rgba(27,213,197,.1); }
body.vdp-editor-page .ql-toolbar,
body.vdp-editor-page .ql-container { border-color: var(--vdp-border) !important; background: #fff; color: #17323a; }
body.vdp-editor-page .btn-submit { border: 0; background: linear-gradient(135deg,var(--vdp-cyan),var(--vdp-cyan-2)); color: #fff; }
body.vdp-editor-page .table-modern { --bs-table-bg: transparent; --bs-table-color: #dbe8eb; }
body.vdp-editor-page .table-modern th,
body.vdp-editor-page .table-modern td { border-color: var(--vdp-border); }

body[class^="vdp-"] .footer { margin: 0 !important; border-top: 1px solid var(--vdp-border); background: #020f14 !important; color: #82999f; }
body[class^="vdp-"] .footer a { color: #aac0c5; }

/* Shared page rhythm: compact, continuous bands separated by a subtle accent. */
.vdp-blog-hero,
body.vdp-editor-page .trending-header {
  margin: 0;
  padding-top: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(27,213,197,.22);
}
.vdp-blog-insights {
  padding: 30px 16px;
  border-bottom: 1px solid rgba(27,213,197,.22);
  background: #06232b;
}
body.vdp-blog-page #main > .section {
  margin: 0;
  padding: 42px 0 !important;
  border-top: 0;
  background: #03161c;
}
body.vdp-blog-post-page #main > .section {
  margin: 0;
  padding: 42px 0 !important;
  border-top: 1px solid rgba(27,213,197,.22);
  background: #03161c;
}
body.vdp-editor-page .trending-header { margin-bottom: 0; }
body.vdp-editor-page #main > .container {
  padding-top: 42px;
  padding-bottom: 42px;
}

@media (max-width: 991.98px) {
  body[class^="vdp-"] #header { min-height: 72px; }
  body[class^="vdp-"] #header .navbar > ul { display: none !important; }
  body[class^="vdp-"] #header .border-bottom-menu { display: flex; justify-content: space-between; }
  body[class^="vdp-"] #header .border-bottom-menu > div:first-child { width: auto; }
  body[class^="vdp-"] #header .border-bottom-menu > div:last-child { width: auto; margin-left: auto; }
  body[class^="vdp-"] #header .logo { position: static !important; }
  body[class^="vdp-"] #header .mb-mobile-resp { position: static !important; right: auto !important; left: auto !important; display: inline-flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(27,213,197,.28); border-radius: 12px; background: rgba(27,213,197,.08); color: var(--vdp-cyan); }
  body[class^="vdp-"] #header .mb-mobile-resp span { color: var(--vdp-cyan) !important; font-size: 30px !important; }
  body.vdp-editor-page #header .navbar { display: none; }
  body.vdp-editor-page #header .logo span { font-size: 15px !important; }
  body.vdp-blog-post-page .blog-share { top: auto; right: 14px; bottom: 18px; flex-direction: row; width: auto; padding: 9px 11px; border-radius: 999px; }
  body.vdp-blog-post-page .blog-share .share-label { display: none; }
}

@media (max-width: 767.98px) {
  .vdp-blog-hero { padding: 48px 16px 44px; }
  .vdp-blog-hero h1 { font-size: 36px; }
  .vdp-blog-hero p { font-size: 15px; }
  .vdp-blog-insights .container { grid-template-columns: 1fr; }
  body.vdp-blog-page #blogPostsRow .card-img-top { height: 210px; }
  body.vdp-blog-post-page .blog-hero-card,
  body.vdp-blog-post-page .blog-content-card,
  body.vdp-blog-post-page .blog-faq-card { padding: 20px !important; }
  body.vdp-blog-post-page .blog-hero-card h1 { font-size: clamp(28px,9vw,38px) !important; }
  body.vdp-editor-page .card-custom { padding: 18px; }
  body.vdp-editor-page .d-flex.justify-content-between { gap: 12px; flex-wrap: wrap; }
  body.vdp-editor-page .table-responsive { overflow-x: auto; }
  .vdp-related-grid { grid-template-columns: 1fr; }
  body.vdp-blog-page #blogPostsRow .card { min-height: 0; padding: 10px; border-radius: 20px 20px 13px 13px; }
  .vdp-related-card { display: grid; grid-template-columns: 112px minmax(0,1fr); }
  .vdp-related-card img { height: 100%; min-height: 145px; }
  .vdp-related-card-body { min-height: 145px; padding: 15px; }
  body.vdp-blog-post-page .blog-share a,
  body.vdp-blog-post-page .blog-share button { flex-basis: 36px; width: 36px; height: 36px; }
  .vdp-how-hero { padding: 38px 14px 34px; }
  .vdp-how-hero p { font-size: 15px; }
  body.vdp-how-to-page .vdp-how-content { padding: 34px 14px !important; }
  body.vdp-how-to-page .blog-content-card { padding: 22px !important; }
  .vdp-guide-toc { align-items: flex-start; flex-direction: column; }
  .vdp-blog-hero,
  body.vdp-editor-page .trending-header { padding-top: 38px; padding-bottom: 34px; }
  .vdp-blog-insights { padding: 24px 16px; }
  body.vdp-blog-page #main > .section,
  body.vdp-blog-post-page #main > .section { padding: 34px 0 !important; }
  body.vdp-editor-page #main > .container { padding-top: 34px; padding-bottom: 34px; }
}
