/* WordPress compatibility for the VacayRise design. */

/* Text runs inside layout containers are wrapped in a paragraph so they stay
   editable; display:contents keeps the layout exactly as designed. */
.vr-inline{display:contents}

/* Single blog post heading and featured image (were inline styles). */
.vr-post-head .container{max-width:780px}
.vr-post-head h1{font-size:clamp(1.9rem,3.8vw,2.9rem)}
.vr-post-head p{font-size:.9rem}
.vr-post-head p i{color:var(--brand)}
.vr-post-figure{margin:0 auto 40px;max-width:900px}
.vr-post-figure img{min-height:340px}

/* Form error message. */
.form-error{margin-top:12px;font-size:.85rem;font-weight:600;color:#c0392b}

/* Pagination under blog cards. */
.vr-pagination{display:flex;justify-content:center;gap:8px;margin-top:40px;flex-wrap:wrap}
.vr-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-weight:600;font-size:.9rem}
.vr-pagination .page-numbers.current,.vr-pagination a.page-numbers:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.vr-empty{color:var(--muted)}

/* Mobile menu label when a parent menu item has no link. */
.mobile-panel .mp-label{display:block;font-weight:700}

/* Blog post body: plain WordPress content (lists, images, quotes). */
.article ol{margin:0 0 18px 22px;list-style:decimal;color:#3c465c}
.article img{height:auto;border-radius:14px}
.article figure{margin:1.6em 0}
.article blockquote{margin:1.6em 0;padding:4px 0 4px 20px;border-left:3px solid var(--brand)}

/* Admin bar offset for the sticky header when logged in. */
.admin-bar header.site{top:32px}
@media (max-width:782px){.admin-bar header.site{top:46px}}
@media (max-width:600px){.admin-bar header.site{top:0}}

/* The original pages had no content wrapper; let margins behave the same. */
.wp-block-post-content{display:block}
