/* Additions to the source bundle (app.css): toasts, and typography for
   content typed into the classic editor (new posts/pages). */

[hidden] { display: none !important; }

/* Toasts — sonner's rich-colour look, top-right */
#vt-toaster { position: fixed; top: 24px; right: 24px; z-index: 110; display: grid; gap: 10px; width: min(356px, calc(100vw - 32px)); pointer-events: none; }
.vt-toast { pointer-events: auto; padding: 16px; border-radius: 8px; border: 1px solid; font: 500 13px/1.45 Inter, ui-sans-serif, system-ui, sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,.1); opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
.vt-toast.is-in { opacity: 1; transform: none; }
.vt-toast-success { background: #ecfdf3; color: #008a2e; border-color: #bffcd9; }
.vt-toast-error { background: #fff0f0; color: #e60000; border-color: #ffe0e1; }
.vt-toast-info { background: #f0f8ff; color: #0973dc; border-color: #d3e0fd; }
@media (max-width: 600px) { #vt-toaster { top: 16px; right: 16px; } }

/* Editor-typed content, in the source's article styling */
.vt-prose { color: #53616E; font-size: 1rem; line-height: 2rem; overflow-wrap: anywhere; }
.vt-prose > * + * { margin-top: 1.25rem; }
.vt-prose h2 { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(0,0,0,.1); font-family: Barlow, Inter, sans-serif; font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.03em; color: #18232D; scroll-margin-top: 7rem; }
.vt-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.vt-prose h3 { margin-top: 2rem; font-family: Barlow, Inter, sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1.75rem; color: #24323D; }
.vt-prose h4 { margin-top: 1.5rem; font-weight: 700; color: #24323D; }
.vt-prose a { color: #8B5A16; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vt-prose a:hover { color: #B47A20; }
.vt-prose strong { color: #24323D; }
.vt-prose ul, .vt-prose ol { padding-left: 1.4rem; }
.vt-prose ul { list-style: disc; }
.vt-prose ol { list-style: decimal; }
.vt-prose li + li { margin-top: .4rem; }
.vt-prose li::marker { color: #B47A20; }
.vt-prose blockquote { border-left: 2px solid #D6A84B; background: #F7F0E3; padding: 1rem 1.25rem; border-radius: 0 .5rem .5rem 0; color: #40505D; }
.vt-prose img { max-width: 100%; height: auto; border-radius: .5rem; }
.vt-prose figure { margin-top: 2rem; }
.vt-prose figcaption { margin-top: .5rem; font-size: .75rem; color: #65727E; }
.vt-prose table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.5rem; display: block; overflow-x: auto; }
.vt-prose th, .vt-prose td { border: 1px solid #D4DBE0; padding: .6rem .8rem; text-align: left; vertical-align: top; }
.vt-prose th { background: #162431; color: #fff; font-weight: 600; }
.vt-prose hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 2.5rem 0; }
.vt-prose .alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.vt-prose .alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.vt-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .vt-prose .alignleft, .vt-prose .alignright { float: none; margin: 1rem 0; } }
