/* Extra components used inside Venasolla blog post content (pull quotes,
   callouts, takeaway boxes, sources list). Prose itself is styled by the
   theme's .v-bs-body rules; this only adds the special blocks. Enqueued on
   single posts only. */
:root {
  --warn: #c5a020; --warn-soft: #f5e9d0;
  --alert: #b83a3a; --alert-soft: #f5d9d9;
}
html[data-theme="dark"] {
  --warn: #d4a855; --warn-soft: #2b2015;
  --alert: #d97272; --alert-soft: #2b1818;
}

/* Full-width article: the body spans the same width as the title / TOC / hero,
   instead of a narrow centered reading column. */
.v-bs-head, .v-bs-toc { max-width: 1160px; }
.v-bs-body, .v-bs-share { max-width: 1160px; }
.v-bs-body { font-size: 18px; }

.v-bs-body .article-body { max-width: none; padding: 0; margin: 0; font-size: inherit; line-height: inherit; }

.v-bs-body .pull-quote {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(22px, 3vw, 28px); line-height: 1.3; letter-spacing: -0.02em;
  color: var(--ink); border-left: 3px solid var(--brand);
  padding: 8px 0 8px 28px; margin: 24px 0; font-style: italic;
}
html[data-theme="dark"] .v-bs-body .pull-quote { border-left-color: var(--brand-mid); }

.v-bs-body .callout {
  background: var(--brand-soft); border-radius: var(--radius); padding: 20px 24px;
  margin: 32px 0; font-size: 15px; line-height: 1.6; color: var(--brand); position: relative;
}
html[data-theme="dark"] .v-bs-body .callout { color: var(--brand-mid); }
.v-bs-body .callout strong { color: var(--ink); }
.v-bs-body .callout p { margin: 0; }
.v-bs-body .callout p + p { margin-top: 0.8em; }
.v-bs-body .callout-label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
html[data-theme="dark"] .v-bs-body .callout-label { color: var(--brand-mid); }
.v-bs-body .callout.warn { background: var(--warn-soft); color: #8a6f10; }
html[data-theme="dark"] .v-bs-body .callout.warn { color: var(--warn); }
.v-bs-body .callout.warn .callout-label { color: #8a6f10; }
html[data-theme="dark"] .v-bs-body .callout.warn .callout-label { color: var(--warn); }
.v-bs-body .callout.alert { background: var(--alert-soft); color: var(--alert); }
.v-bs-body .callout.alert .callout-label { color: var(--alert); }

.v-bs-body .takeaways {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 32px; margin: 29px 0;
}
.v-bs-body .takeaways-head {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 14px;
}
html[data-theme="dark"] .v-bs-body .takeaways-head { color: var(--brand-mid); }
.v-bs-body .takeaways h3 { font-family: var(--font-display, "Fraunces", serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
.v-bs-body .takeaways ul { padding-left: 0; list-style: none; margin: 0; }
.v-bs-body .takeaways li { padding: 8px 0 8px 30px; position: relative; font-size: 15px; line-height: 1.55; }
.v-bs-body .takeaways li::marker { content: none; }
.v-bs-body .takeaways li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px;
  background: var(--brand); border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fafaf7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}
html[data-theme="dark"] .v-bs-body .takeaways li::before { background-color: var(--brand-mid); }

.v-bs-body .article-sources {
  margin: 34px 0 32px; padding: 28px 32px;
  background: var(--bg-soft); border-radius: var(--radius-lg);
}
.v-bs-body .article-sources h3 {
  font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink);
  margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.v-bs-body .article-sources ol { padding-left: 20px; margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.v-bs-body .article-sources li { padding: 6px 0; }
.v-bs-body .article-sources a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
.v-bs-body .article-sources a:hover { color: var(--brand); text-decoration-color: currentColor; }
html[data-theme="dark"] .v-bs-body .article-sources a:hover { color: var(--brand-mid); }

/* ── Blog comments + comment form (match the theme) ─────────────────────── */
.v-comments {
  max-width: 760px;
  margin: 34px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.v-comments-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink);
}

/* Existing comments list */
.v-comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.v-comment-list ol.children { list-style: none; margin: 16px 0 0 28px; padding: 0; }
.v-comment-list .comment { margin-bottom: 18px; }
.v-comment-list .comment-body {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.v-comment-list .comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.v-comment-list .comment-author .avatar { width: 42px; height: 42px; border-radius: 50%; }
.v-comment-list .comment-author .fn { font-weight: 600; color: var(--ink); font-style: normal; }
.v-comment-list .comment-author .says { display: none; }
.v-comment-list .comment-metadata { font-size: 12px; color: var(--ink-mute); }
.v-comment-list .comment-metadata a { color: var(--ink-mute); text-decoration: none; }
.v-comment-list .comment-content { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-top: 6px; }
.v-comment-list .reply a {
  font-size: 13px; color: var(--brand); font-weight: 500; text-decoration: none;
}
html[data-theme="dark"] .v-comment-list .reply a { color: var(--brand-mid); }

/* Comment form */
.comment-respond {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 18px);
  padding: clamp(22px, 3vw, 32px);
}
.comment-reply-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.comment-reply-title small { font-size: 14px; margin-left: 10px; font-family: var(--font-sans); }
.comment-reply-title small a { color: var(--brand); }
.comment-notes,
.v-comment-notes,
.logged-in-as {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.5;
}
.logged-in-as a,
.comment-notes a { color: var(--brand); }
html[data-theme="dark"] .logged-in-as a,
html[data-theme="dark"] .comment-notes a { color: var(--brand-mid); }
.comment-form { display: flex; flex-direction: column; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--line-strong, rgba(17,17,17,.15));
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft, rgba(31,61,43,.12));
}
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.comment-form-cookies-consent input { width: auto; margin-top: 3px; }
.comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; }
.form-submit { margin: 4px 0 0; }
.comment-form .submit,
.comment-form input[type="submit"],
.comment-form .v-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, transform .1s;
  -webkit-appearance: none;
  appearance: none;
}
.comment-form .submit:hover,
.comment-form input[type="submit"]:hover { background: var(--ink); }
html[data-theme="dark"] .comment-form .submit,
html[data-theme="dark"] .comment-form input[type="submit"] { background: var(--brand-mid); color: #0f1a13; }
.v-no-comments { font-size: 14px; color: var(--ink-mute); }

/* ── In-body illustration figure ────────────────────────────────────────── */
.v-bs-body .v-bs-inline-figure {
  margin: 38px 0;
  text-align: center;
}
.v-bs-body .v-bs-inline-figure img {
  width: 100%;
  /* These are detailed diagrams (≈800px artboards) - let them use the full
     reading width so the in-diagram text stays legible, like the preview. */
  max-width: 720px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 6px;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}
.v-bs-body .v-bs-inline-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  line-height: 1.5;
}
