/* === ARTICLE LAYOUT & WRAPPER === */
.rv-article-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: 'IBM Plex Sans', sans-serif;
  border: 1px solid #636363;
  border-bottom: none;
  background-color: #F5F5F4;
}

.rv-article-container {
  max-width: 720px;
}

/* === METADATA HEADER === */
.rv-meta-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #555;
  margin: 20px 0;
  text-transform: uppercase;
  font-weight: 500;
}

.rv-category {
  color: #86BC25;
  font-weight: 600;
  margin-bottom: 20px !important;
}

/* === FEATURED IMAGE === */
.rv-featured-image {
  margin-bottom: 10px;
}

.rv-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  opacity: 1;
}

.rv-img-caption {
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
  text-transform: uppercase;
}

/* === AUTHOR INFO === */
.rv-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.rv-author-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.rv-author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* === ARTICLE TITLE & READ TIME === */
.rv-article-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.rv-read-time {
  font-size: 0.95rem;
  font-weight: 600 !important;
  color: #555;
  margin-top: -12px;
  margin-bottom: 32px;
  font-style: italic;
}

/* === ARTICLE BODY === */
.rv-article-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.rv-article-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.rv-article-body ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.rv-article-body a {
  color: #5fb8e2;
  font-weight: 500;
  text-decoration: underline;
}

/* === HEADINGS INSIDE ARTICLE BODY === */
.rv-article-body h3,
.rv-article-body h4 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.4;
}

/* === TABLE OF CONTENTS === */
.rv-toc {
  background: #f9f9f9;
  padding: 24px;
  border-left: 4px solid #86BC25;
  margin: 48px 0;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.rv-toc h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.rv-toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.rv-toc li {
  margin-bottom: 10px;
}

.rv-toc li.indent {
  margin-left: 20px;
  font-size: 0.93rem;
}

/* === PRE-FORMATTED BLOCK (EX: PRICE FRAMING) === */
.rv-pre-callout {
  background: #f4f4f4;
  border-left: 4px solid #86BC25;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a1a1a;
  font-family: 'IBM Plex Sans', sans-serif;
  white-space: pre-line;
}

/* === CALLOUT & CTA BLOCKS === */
.rv-callout-block,
.rv-cta-block {
  background: #ffffff;
  border-left: 4px solid #86BC25;
  padding: 20px 24px;
  margin: 48px 0;
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 6px;
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.rv-cta-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  flex-wrap: wrap;
}

.rv-cta-content p {
  margin: 0;
  font-size: 1rem;
  color: #111;
  max-width: 580px;
}

.rv-cta-action {
  margin-top: 16px;
}

.rv-cta-button {
  background: #357aac;
  color: #fff !important;
  padding: 4px 18px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease;
  display: inline-block;
  font-size: 0.95rem;
}

.rv-cta-button:hover {
  background: #48a1db;
    color: #fff !important;

}

@media (min-width: 640px) {
  .rv-cta-action {
    margin-top: 0;
  }
}

/* === TAGS === */
.rv-tags {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.rv-tags a {
  font-size: 0.85rem;
  color: #5fb8e2;
  text-decoration: underline;
  font-weight: 600;
}

/* === SIDEBAR === */
.rv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
}

.rv-sidebar-ad img {
  width: 100%;
  border-radius: 8px;
}

.rv-sidebar-card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  color: #111;
}

.rv-sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.rv-sidebar-card p {
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.rv-sidebar-card button {
  background: #357aac;
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 1024px) {
  .rv-article-wrapper {
    grid-template-columns: 1fr;
  }

  .rv-sidebar {
    margin-top: 40px;
  }

  .rv-cta-block {
    flex-direction: column;
    align-items: flex-start;
  }
}
