/**
 * Vender Milhas Blog - Single Article & Reading Stylesheet
 * Focused on maximum reading comfort (720-780px) and conversion.
 */

/* Reading Progress Bar */
.vm-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #062E56 0%, #285FA2 50%, #0FA45E 100%);
  z-index: 9999;
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* Single Article Layout */
.vm-article-layout {
  padding: 36px 0 60px;
}

.vm-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 48px;
  align-items: start;
  justify-content: center;
}

/* When sidebar is not present or full-width reading */
.vm-article-grid.no-sidebar {
  grid-template-columns: minmax(0, 760px);
}

.vm-article-main {
  min-width: 0;
  max-width: 760px;
  margin: 0 auto;
}

/* Breadcrumbs */
.vm-breadcrumbs {
  font-size: 13.5px;
  color: var(--vm-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.vm-breadcrumbs a {
  color: var(--vm-navy);
  font-weight: 500;
}

.vm-breadcrumbs a:hover {
  color: var(--vm-blue);
  text-decoration: underline;
}

.vm-breadcrumbs-sep {
  color: #a0aec0;
  font-size: 12px;
}

.vm-breadcrumbs .current {
  color: var(--vm-muted);
  font-weight: 400;
}

/* Article Header */
.vm-post-header {
  margin-bottom: 28px;
}

.vm-post-cat-link {
  display: inline-block;
  background: var(--vm-blue-tint);
  color: var(--vm-blue);
  font-size: 12.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  transition: all 0.15s ease;
}

.vm-post-cat-link:hover {
  background: var(--vm-blue);
  color: #ffffff;
}

.vm-post-title {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--vm-navy);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.vm-post-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--vm-muted);
  margin-bottom: 22px;
  font-weight: 400;
}

/* Post Meta (Author, Date, Reading time) */
.vm-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--vm-line);
  border-bottom: 1px solid var(--vm-line);
  font-size: 14px;
  color: var(--vm-muted);
}

.vm-author-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-author-mini-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--vm-blue-lt);
}

.vm-author-mini-name {
  font-weight: 700;
  color: var(--vm-navy);
}

.vm-author-mini-name a:hover {
  color: var(--vm-blue);
}

.vm-meta-divider {
  color: var(--vm-line);
}

.vm-meta-dates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.vm-meta-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--vm-navy);
}

/* Post Action Bar (Share, Bookmark, Copy Link, Follow on Google) */
.vm-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
  padding-top: 14px;
}

.vm-action-bar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Circular Buttons (Share, Bookmark, Copy) */
.vm-action-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #2B3545;
  background: #ffffff;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

.vm-action-circle-btn:hover {
  border-color: #0057FF;
  color: #0057FF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 87, 255, 0.12);
}

.vm-action-circle-btn:active {
  transform: scale(0.95);
}

/* Bookmark Active State */
.vm-action-bookmark-btn.is-bookmarked {
  background: #0057FF;
  border-color: #0057FF;
  color: #ffffff;
}

.vm-action-bookmark-btn.is-bookmarked .vm-bookmark-icon-empty {
  display: none !important;
}

.vm-action-bookmark-btn.is-bookmarked .vm-bookmark-icon-filled {
  display: block !important;
}

/* Copy Link Tooltip Feedback */
.vm-action-copy-btn .vm-copy-feedback {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0F172A;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  z-index: 20;
}

.vm-action-copy-btn.is-copied .vm-copy-feedback {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.vm-action-copy-btn.is-copied {
  border-color: #059669;
  color: #059669;
}

/* Follow on Google (Pill Button) */
.vm-action-pill-btn {
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid #2B3545;
  background: #ffffff;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.18s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.vm-action-pill-btn:hover {
  border-color: #0057FF;
  color: #0057FF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 87, 255, 0.12);
}

.vm-action-pill-btn .vm-google-icon {
  flex-shrink: 0;
}

/* Share Dropdown Wrapper & Menu */
.vm-share-wrap {
  position: relative;
}

.vm-share-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(6, 46, 86, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  min-width: 155px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
}

.vm-share-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vm-share-pop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.vm-share-pop-item:hover {
  background: #F1F5F9;
  color: #0057FF;
}

/* Bottom Share Container */
.vm-article-bottom-share {
  margin: 36px 0 20px;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}

.vm-article-bottom-share .vm-action-bar {
  margin: 0;
  padding: 0;
}

/* Featured Image */
.vm-post-featured-media {
  margin: 28px 0 36px;
}

.vm-post-featured-media img {
  width: 100%;
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-sh);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.vm-post-featured-media figcaption {
  font-size: 13px;
  color: var(--vm-muted);
  text-align: center;
  margin-top: 8px;
}

/* Article Content & Typography */
.vm-content {
  font-size: 17.5px;
  line-height: 1.58;
  color: var(--vm-ink);
}

.vm-content > *:first-child {
  margin-top: 0;
}

/* Table of Contents (TOC) - Matches Print 1 (Closed) & Print 2 (Open) */
.vm-toc {
  display: inline-block;
  margin: 24px 0 28px 0;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(6, 46, 86, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.vm-toc:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(6, 46, 86, 0.08);
}

.vm-toc-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  outline: none;
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--vm-navy);
  line-height: 1;
  transition: color 0.15s ease;
}

.vm-toc-summary::-webkit-details-marker,
.vm-toc-summary::marker {
  display: none;
}

.vm-toc-summary:hover {
  color: var(--vm-blue);
}

.vm-toc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vm-navy);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}

.vm-toc-summary:hover .vm-toc-icon {
  color: var(--vm-blue);
}

/* Open State (Print 2) */
.vm-toc[open] {
  display: block;
  width: 100%;
  border-radius: 16px;
  padding: 18px 22px 22px 22px;
  box-shadow: 0 6px 24px rgba(6, 46, 86, 0.07), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.vm-toc[open] .vm-toc-summary {
  padding: 0 0 14px 0;
  width: 100%;
}

.vm-toc-content {
  display: flex;
  flex-direction: column;
}

.vm-toc-divider {
  height: 1px;
  background-color: #EDF2F7;
  margin: 0 0 16px 0;
}

.vm-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-toc-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vm-toc-level-1,
.vm-toc-level-2 {
  font-size: 15.5px;
  line-height: 1.48;
  font-weight: 500;
}

.vm-toc-level-3 {
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 400;
}

.vm-toc-link {
  color: #1E293B;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}

.vm-toc-level-3 .vm-toc-link {
  color: #475569;
}

.vm-toc-link:hover {
  color: var(--vm-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vm-content h1,
.vm-content h2,
.vm-content h3,
.vm-content h4,
.vm-heading-anchor {
  scroll-margin-top: 100px;
}

.vm-content h1 {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 900;
  color: var(--vm-navy);
  margin: 40px 0 16px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vm-blue-tint);
}

.vm-content h2 {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  color: var(--vm-navy);
  margin: 44px 0 16px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vm-blue-tint);
}

.vm-content h3 {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--vm-navy);
  margin: 32px 0 12px;
  line-height: 1.25;
}

.vm-content h4 {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--vm-navy);
  margin: 24px 0 10px;
}

.vm-content p {
  margin-bottom: 18px;
}

.vm-content strong,
.vm-content b {
  font-weight: 750;
  color: var(--vm-navy);
}

.vm-content a {
  color: var(--vm-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vm-content a:hover {
  color: var(--vm-blue-dk);
}

.vm-content ul,
.vm-content ol {
  margin: 0 0 24px 0;
  padding-left: 26px;
}

.vm-content li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.vm-content li::marker {
  color: var(--vm-blue);
  font-weight: 700;
}

.vm-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--vm-blue-tint);
  border-left: 4px solid var(--vm-blue);
  border-radius: 0 var(--vm-radius-sm) var(--vm-radius-sm) 0;
  font-style: italic;
  font-size: 18px;
  color: var(--vm-navy);
}

.vm-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Tables & Responsive Wrapper (Print 1) */
.vm-table-responsive {
  margin: 30px 0;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.vm-table-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  align-self: flex-end;
}

.vm-table-scroll-hint .vm-scroll-icon {
  color: var(--vm-blue);
  font-size: 13px;
}

.vm-table-wrap,
.vm-table-scroll-wrap,
.vm-content .wp-block-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #ffffff;
}

.vm-content table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  min-width: 480px;
}

.vm-content table th {
  background: #F8FAFC;
  color: var(--vm-navy);
  font-weight: 750;
  padding: 14px 18px;
  border-bottom: 2px solid #E2E8F0;
  border-right: 1px solid #F1F5F9;
}

.vm-content table td {
  padding: 13px 18px;
  border-bottom: 1px solid #F1F5F9;
  border-right: 1px solid #F1F5F9;
  color: var(--vm-ink);
  line-height: 1.5;
}

.vm-content table tr:last-child td {
  border-bottom: none;
}

.vm-content table tr:nth-child(even) td {
  background: #FAFCFE;
}

/* Gutenberg Callouts & Patterns */
.vm-callout {
  border-radius: var(--vm-radius);
  padding: 24px;
  margin: 32px 0;
  border: 1px solid transparent;
}

/* 1. Resposta rápida */
.vm-callout-quick-answer {
  background: #f0f7ff;
  border-color: #bcd9ff;
  border-left: 5px solid var(--vm-blue);
}

.vm-callout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vm-callout-icon {
  font-size: 20px;
  line-height: 1;
}

.vm-callout-title {
  font-family: var(--vm-fhead);
  font-weight: 800;
  font-size: 19px;
  margin: 0;
  color: var(--vm-navy);
}

.vm-callout-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--vm-ink);
}

.vm-callout-body p:last-child {
  margin-bottom: 0;
}

/* 2. Dica importante */
.vm-callout-tip {
  background: var(--vm-green-tint);
  border-color: #bbf0d0;
  border-left: 5px solid var(--vm-green);
}

.vm-callout-tip .vm-callout-title {
  color: #0c5e34;
}

/* 3. Atenção / Alerta */
.vm-callout-warning {
  background: var(--vm-warning-bg);
  border-color: #fde68a;
  border-left: 5px solid var(--vm-warning-border);
}

.vm-callout-warning .vm-callout-title {
  color: #92400e;
}

/* In-Content CTA Box */
.vm-content-cta {
  background: var(--vm-grad-official, linear-gradient(150deg, #062E56 0%, #285FA2 100%));
  border-radius: var(--vm-radius);
  padding: 32px;
  color: #ffffff;
  margin: 36px 0;
  text-align: center;
  box-shadow: var(--vm-sh-lg);
}

.vm-content-cta h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 8px;
}

.vm-content-cta p {
  color: #dce8f5;
  font-size: 15.5px;
  max-width: 52ch;
  margin: 0 auto 20px;
}

/* CTA Program Variants */
.vm-cta-prog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: var(--vm-radius);
  background: var(--vm-soft);
  border: 1.5px solid var(--vm-line);
  margin: 32px 0;
}

.vm-cta-prog-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vm-cta-prog-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--vm-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.vm-cta-prog-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vm-cta-prog-text h4 {
  font-size: 17px;
  margin: 0 0 4px 0;
  color: var(--vm-navy);
}

.vm-cta-prog-text p {
  font-size: 13.5px;
  color: var(--vm-muted);
  margin: 0;
}

/* Sources Consulted Section */
.vm-sources-section {
  background: var(--vm-soft);
  border: 1px solid var(--vm-line);
  border-radius: var(--vm-radius);
  padding: 22px 24px;
  margin: 40px 0;
}

.vm-sources-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--vm-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vm-sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vm-sources-list li {
  font-size: 13.5px;
  color: var(--vm-muted);
  margin-bottom: 0;
}

.vm-sources-list a {
  color: var(--vm-blue);
  text-decoration: underline;
  word-break: break-all;
}

/* Author Box at End of Article */
.vm-author-box {
  background: var(--vm-surface);
  border: 1px solid var(--vm-line);
  border-radius: var(--vm-radius);
  padding: 28px;
  margin: 44px 0;
  display: flex;
  gap: 22px;
  box-shadow: var(--vm-sh);
}

.vm-author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vm-blue-tint);
  flex-shrink: 0;
}

.vm-author-box-info h3 {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--vm-navy);
  margin: 0 0 4px 0;
  line-height: 1.1;
}

.vm-author-box-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--vm-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.vm-author-box-bio {
  font-size: 14.5px;
  color: var(--vm-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.vm-author-box-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vm-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vm-author-box-link:hover {
  text-decoration: underline;
}

/* Related Posts Section */
.vm-related-section {
  margin: 50px 0 20px;
  padding-top: 36px;
  border-top: 1.5px solid var(--vm-line);
}

.vm-related-title {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--vm-navy);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.vm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Floating Sidebar Quotation Box (Option 1) */
.vm-sidebar-sticky {
  position: sticky;
  top: 96px;
}

.vm-quote-card {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: 0 12px 30px rgba(6, 46, 86, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vm-quote-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #0057FF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.vm-quote-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0057FF;
  box-shadow: 0 0 6px rgba(0, 87, 255, 0.6);
}

.vm-quote-card-title {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #062E56;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.vm-quote-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 18px;
}

.vm-quote-card-programs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.vm-quote-prog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 3px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vm-quote-prog-item:hover {
  background: #FFFFFF;
  border-color: #0057FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(6, 46, 86, 0.08);
}

.vm-quote-prog-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.vm-quote-prog-item span {
  font-size: 11px;
  font-weight: 750;
  color: #475569;
}

.vm-quote-card-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 750;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.vm-quote-hi-icon {
  font-size: 15px;
}

.vm-quote-card-btn {
  background: #0FA45E;
  color: #ffffff;
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 900;
  border-radius: 12px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(15, 164, 94, 0.35);
  transition: all 0.2s ease;
}

.vm-quote-card-btn:hover {
  background: #0A6E3D;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 164, 94, 0.45);
}

.vm-quote-card-safe {
  font-size: 12px;
  color: #64748B;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Sidebar: Top 5 Artigos Mais Lidos */
.vm-sidebar-popular {
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 18px;
  margin-top: 18px;
  box-shadow: 0 10px 26px rgba(6, 46, 86, 0.06);
}

.vm-sidebar-popular-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #F1F5F9;
}

.vm-popular-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0FA45E;
  color: #062E56;
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 3px 8px 1px;
  border-radius: 6px;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(180, 255, 83, 0.4);
}

.vm-sidebar-popular-title {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #062E56;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.vm-sidebar-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #F1F5F9;
}

.vm-popular-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.vm-popular-thumb-wrap {
  position: relative;
  width: 72px;
  height: 54px;
  min-width: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #062E56;
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(6, 46, 86, 0.12);
  border: 1px solid #E2E8F0;
}

.vm-popular-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.vm-popular-thumb-wrap:hover .vm-popular-thumb-img {
  transform: scale(1.08);
}

.vm-popular-rank {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.vm-rank-1 {
  background: #0FA45E;
  color: #062E56;
}

.vm-rank-2,
.vm-rank-3 {
  background: #062E56;
  color: #FFFFFF;
}

.vm-rank-4,
.vm-rank-5 {
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  backdrop-filter: blur(2px);
}

.vm-popular-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vm-popular-cat {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0057FF;
  line-height: 1.2;
}

.vm-popular-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vm-popular-link:hover {
  color: #0057FF;
}

/* Sidebar Banner (Viaza) */
.vm-sidebar-banner {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 46, 86, 0.08);
  border: 1px solid #E2E8F0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vm-sidebar-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 46, 86, 0.14);
}

.vm-sidebar-banner a {
  display: block;
  line-height: 0;
}

.vm-sidebar-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Mobile In-Article Quote Card Wrapper (Hidden on desktop) */
.vm-mobile-quote-wrapper {
  display: none;
}

/* Responsive adjustments for article */
@media (max-width: 980px) {
  .vm-article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .vm-article-main {
    min-width: 0;
    max-width: 100%;
  }

  /* Hide sticky aside outside article on mobile/tablet */
  .vm-article-grid > .vm-sidebar-aside {
    display: none;
  }

  /* Show in-article quote card cleanly right after content */
  .vm-mobile-quote-wrapper {
    display: block;
    margin: 36px 0 40px;
  }

  .vm-mobile-quote-wrapper .vm-sidebar-aside {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .vm-mobile-quote-wrapper .vm-sidebar-sticky {
    position: static;
  }

  .vm-mobile-quote-wrapper .vm-quote-card {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 24px 20px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 10px 28px rgba(6, 46, 86, 0.08);
  }

  .vm-mobile-quote-wrapper .vm-sidebar-popular {
    max-width: 600px;
    margin: 18px auto 0;
  }

  .vm-mobile-quote-wrapper .vm-sidebar-banner {
    max-width: 600px;
    margin: 16px auto 0;
  }
}

@media (max-width: 768px) {
  .vm-related-grid {
    grid-template-columns: 1fr;
  }
  .vm-cta-prog {
    flex-direction: column;
    align-items: flex-start;
  }
  .vm-cta-prog .vm-btn {
    width: 100%;
  }
  .vm-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .vm-content {
    font-size: 16.5px;
  }
}

@media (max-width: 440px) {
  .vm-mobile-quote-wrapper .vm-quote-card {
    padding: 20px 14px;
  }

  .vm-quote-card-title {
    font-size: 22px;
  }

  .vm-quote-card-programs {
    gap: 4px;
  }

  .vm-quote-prog-item {
    padding: 7px 2px;
  }

  .vm-quote-prog-item img {
    width: 24px;
    height: 24px;
  }

  .vm-quote-prog-item span {
    font-size: 10px;
  }
}

/* ==========================================================================
   Seção de Comentários (Design Moderno Vender Milhas)
   ========================================================================== */
.vm-comments-area {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1.5px solid #E2E8F0;
}

.vm-comments-header {
  margin-bottom: 22px;
}

.vm-comments-header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.vm-comments-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0FA45E;
  color: #062E56;
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 3px 8px 1px;
  border-radius: 6px;
  line-height: 1.1;
  box-shadow: 0 2px 6px rgba(180, 255, 83, 0.4);
}

.vm-comments-title {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #062E56;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.vm-comments-subtitle {
  font-size: 14.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.vm-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vm-comment-item {
  list-style: none;
}

.vm-comment-body {
  background: #FFFFFF;
  border: 1.5px solid #F1F5F9;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(6, 46, 86, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vm-comment-body:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(6, 46, 86, 0.06);
}

.children {
  list-style: none;
  padding-left: 24px;
  margin: 12px 0 0 0;
  border-left: 2.5px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.vm-comment-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #E2E8F0;
  background: #F8FAFC;
}

.vm-comment-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vm-comment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vm-comment-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vm-comment-author-name {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: #062E56;
  line-height: 1.1;
}

.vm-comment-author-name a {
  color: #062E56;
  text-decoration: none;
  transition: color 0.15s ease;
}

.vm-comment-author-name a:hover {
  color: #0057FF;
}

.vm-comment-author-badge {
  font-size: 11px;
  font-weight: 800;
  background: #0FA45E;
  color: #062E56;
  padding: 2px 7px 1px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.vm-comment-date {
  font-size: 12.5px;
  color: #64748B;
}

.vm-comment-content {
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 10px;
}

.vm-comment-content p {
  margin: 0 0 8px 0;
}

.vm-comment-content p:last-child {
  margin-bottom: 0;
}

.vm-comment-awaiting-moderation {
  font-size: 13px;
  color: #B45309;
  background: #FEF3C7;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.vm-comment-footer {
  display: flex;
  justify-content: flex-end;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0057FF;
  background: #EFF6FF;
  padding: 5px 12px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.comment-reply-link:hover {
  background: #0057FF;
  color: #FFFFFF;
}

/* Formulário de Comentário */
.comment-respond {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 26px 28px;
  margin-top: 32px;
  box-shadow: 0 4px 16px rgba(6, 46, 86, 0.03);
}

.comment-reply-title {
  font-family: 'Zain', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #062E56;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.vm-cancel-reply a {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #EF4444;
  background: #FEE2E2;
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.vm-cancel-reply a:hover {
  background: #FCA5A5;
}

.vm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email {
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vm-comment-form label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
}

.vm-comment-form .required {
  color: #EF4444;
  margin-left: 2px;
}

.vm-field-hint {
  font-size: 12px;
  font-weight: 400;
  color: #94A3B8;
  margin-left: 5px;
}

.vm-comment-form input[type="text"],
.vm-comment-form input[type="email"],
.vm-comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #0F172A;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vm-comment-form input[type="text"]:focus,
.vm-comment-form input[type="email"]:focus,
.vm-comment-form textarea:focus {
  border-color: #0057FF;
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.15);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 18px 0;
  line-height: 1.4;
}

.comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #0057FF;
  cursor: pointer;
}

.comment-form-cookies-consent label {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #64748B !important;
  cursor: pointer;
}

.form-submit {
  margin: 0;
}

.vm-btn-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  background: #0057FF;
  color: #FFFFFF;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 87, 255, 0.25);
}

.vm-btn-comment-submit:hover {
  background: #0046CC;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 87, 255, 0.35);
}

.vm-no-comments {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748B;
  background: #F1F5F9;
  padding: 12px 18px;
  border-radius: 10px;
  margin: 18px 0;
}

@media (max-width: 640px) {
  .vm-form-grid {
    grid-template-columns: 1fr;
  }
  .children {
    padding-left: 14px;
  }
  .comment-respond {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Calculadora de Conversão no Final do Artigo
   ========================================================================== */
.vm-article-calc-wrapper {
  margin: 36px 0 42px 0;
}

.vm-article-calc-wrapper .vmc-horizontal-wrapper {
  padding: 0;
  max-width: 100%;
}

.vm-article-calc-wrapper .vmc-h-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(6, 46, 86, 0.07);
  background: #FFFFFF;
}

.vm-article-calc-wrapper .vmc-h-grid {
  grid-template-columns: 1fr 1.15fr 1.25fr 1.1fr 140px;
  gap: 8px;
}

.vm-article-calc-wrapper .vmc-h-field {
  padding: 7px 10px;
}

.vm-article-calc-wrapper .vmc-h-select,
.vm-article-calc-wrapper .vmc-h-input {
  font-size: 13.5px;
}

.vm-article-calc-wrapper .vmc-h-btn {
  padding: 0 10px;
  font-size: 13.5px;
}

@media (max-width: 820px) {
  .vm-article-calc-wrapper {
    margin: 28px 0 36px 0;
  }

  .vm-article-calc-wrapper .vmc-h-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .vm-article-calc-wrapper .vmc-h-field-price {
    grid-column: span 1;
  }

  .vm-article-calc-wrapper .vmc-h-field-btn {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .vm-article-calc-wrapper .vmc-h-grid {
    grid-template-columns: 1fr;
  }

  .vm-article-calc-wrapper .vmc-h-field-btn {
    grid-column: span 1;
  }
}
