/*
Theme Name: Virtuous Bread Theme
Theme URI: https://egret.digital/
Author: Egret Digital
Author URI: https://egret.digital/
Description: Block theme for Virtuous Bread (Jane Mason), a child of Twenty Twenty-Five. Rebuilt from the Elementor Pro + Astra Pro design (kit "Default Kit" 24369, Theme Builder header 25388 / footer 25362 / archive 28849 / 404 32095): VB pink #FA255E headings, top bar and buttons, grey #7A7A7A text, dusty rose #C39EA0 links, pale pink footer with a 10px pink rule. Roboto and Montserrat self-hosted.
Template: twentytwentyfive
Version: 1.0.1
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vb-theme
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
@media (max-width: 921px) { html { font-size: 91.2%; } } /* as Astra: 14.6px text on tablets and phones */
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
p { margin-block-start: 0; }
:where(.wp-block-post-content, .vb-entry-content) p { margin-block-end: 0; }
ul.wp-block-list, ol.wp-block-list { padding-left: 1.4em; }
li > p { margin: 0; }
strong, b { font-weight: 700; }
.vb-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }
:where(.wp-site-blocks) a:where(:not(.wp-element-button)):hover { text-decoration: none; }
img { height: auto; }
.vb-shadow img, img.vb-shadow { box-shadow: 15px 15px 15px -5px rgba(0, 0, 0, .5); }
.vb-shadow-lg img { box-shadow: 20px 20px 20px -5px rgba(0, 0, 0, .5); }

/* ---------- Header (sticky, as the Elementor header) ---------- */
.vb-header > *, .vb-mainbar-inner > * { margin-block-start: 0 !important; }
.vb-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 5px 30px rgba(0, 0, 0, .1); }
.admin-bar .vb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vb-header { top: 0; } }
.vb-topbar { background: var(--wp--preset--color--primary); padding: 10px 20px; }
.vb-topbar-inner { max-width: 1200px; margin: 0 auto; gap: 30px !important; }
.vb-topbar p { margin: 0; font-family: var(--wp--preset--font-family--montserrat); font-size: 14px; font-weight: 300; line-height: 26px; color: #fff; }
.vb-topbar a, .vb-topbar a:hover { color: #fff; }
.vb-ico::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 15px; vertical-align: -3px; background: currentColor;
	-webkit-mask: var(--vb-ico) center / contain no-repeat; mask: var(--vb-ico) center / contain no-repeat; }
.vb-ico-pin { --vb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172 501C27 291 0 269 0 192 0 86 86 0 192 0s192 86 192 192c0 77-27 99-172 309a24 24 0 0 1-40 0zm20-229a80 80 0 1 0 0-160 80 80 0 0 0 0 160z'/%3E%3C/svg%3E"); }
.vb-ico-mail { --vb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M502 191c4-3 10 0 10 5v204c0 27-22 48-48 48H48c-27 0-48-21-48-48V196c0-5 6-8 10-5 22 17 52 39 154 113 21 15 57 48 92 48 36 0 72-33 92-48 103-74 132-96 154-113zM256 320c23 0 57-29 73-41 133-96 143-104 174-128 6-5 9-12 9-19v-20c0-26-21-48-48-48H48C21 64 0 86 0 112v20c0 7 3 14 9 19 31 24 41 32 174 128 16 12 50 41 73 41z'/%3E%3C/svg%3E"); }
.vb-ico-phone { --vb-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497 361l-112-48a24 24 0 0 0-28 7l-50 61A371 371 0 0 1 130 204l61-50a24 24 0 0 0 7-28L150 14a24 24 0 0 0-27-14L19 24A24 24 0 0 0 0 48c0 256 208 464 464 464a24 24 0 0 0 24-19l24-104a24 24 0 0 0-15-28z'/%3E%3C/svg%3E"); }
.vb-mainbar { padding: 10px 15px; }
.vb-mainbar-inner { max-width: 1200px; margin: 0 auto; gap: 20px; }
.vb-logo { flex: 0 0 auto; margin: 0; }
.vb-logo img { width: 128px; height: auto; display: block; }
.vb-nav { flex: 1 1 auto; }
.vb-nav a { color: var(--wp--preset--color--primary) !important; padding: 13px 0; line-height: 20px; }
.vb-nav a:hover { color: var(--wp--preset--color--dark) !important; }
.vb-search { flex: 0 0 180px; width: 180px !important; margin: 0; }
.vb-search .wp-block-search__inside-wrapper { border: 0; padding: 0; background: rgba(250, 37, 94, .07); border-radius: 2px; }
.vb-search .wp-block-search__input { border: 0; background: transparent; height: 30px; padding: 0 10px; font-family: var(--wp--preset--font-family--montserrat); font-size: 15px; color: #666; min-width: 0; }
.vb-search .wp-block-search__input::placeholder { color: #999; opacity: 1; }
.vb-search .wp-block-search__button { margin: 0; width: 30px; height: 30px; padding: 0; border-radius: 0; background: var(--wp--preset--color--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.vb-search .wp-block-search__button svg { display: none; }
.vb-search .wp-block-search__button::before { content: ""; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M190 67l22-22c9-9 25-9 34 0l194 194c9 9 9 25 0 34L246 467c-9 9-25 9-34 0l-22-22c-10-10-9-25 0-34l120-115H24c-13 0-24-11-24-24v-32c0-13 11-24 24-24h286L190 101c-10-9-10-25 0-34z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M190 67l22-22c9-9 25-9 34 0l194 194c9 9 9 25 0 34L246 467c-9 9-25 9-34 0l-22-22c-10-10-9-25 0-34l120-115H24c-13 0-24-11-24-24v-32c0-13 11-24 24-24h286L190 101c-10-9-10-25 0-34z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vb-search .wp-block-search__button:hover { background: var(--wp--preset--color--dark); }
.vb-search-inline { max-width: 420px; margin-top: 20px; }
/* Mobile menu (core overlay) */
.vb-nav .wp-block-navigation__responsive-container-open svg, .vb-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.vb-nav .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--dark); }
.vb-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 30px 25px; }
.vb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; font-size: 1.25rem; }
@media (max-width: 1024px) {
	.vb-nav { --wp--style--block-gap: 30px; }
	.vb-search { flex-basis: 160px; }
}
@media (max-width: 599px) {
	.vb-topbar { padding: 0; height: 2px; overflow: hidden; }
	.vb-topbar-inner { display: none; }
	.vb-mainbar { padding: 8px 20px 15px; }
	.vb-mainbar-inner { flex-wrap: wrap !important; row-gap: 10px; }
	.vb-logo img { width: 118px; }
	.vb-nav { flex: 0 0 auto; order: 2; }
	.vb-search { order: 3; flex: 1 0 100%; }
}

/* ---------- Footer ---------- */
.vb-footer { margin-top: 60px; border-top: 10px solid var(--wp--preset--color--primary); background: rgba(254, 211, 223, .45); padding: 20px 20px 10px; }
.vb-footer-cols { max-width: 1140px; margin: 0 auto 30px !important; gap: 20px; }
.vb-footer p { margin: 0; line-height: 1.6; }
.vb-footer strong { color: var(--wp--preset--color--contrast); }
.vb-footer-left { padding-left: 17px; }
.vb-footer-right { padding-right: 17px; }
.vb-social .wp-social-link { border-radius: 3px; }
.vb-social.vb-social-brand .wp-block-social-link-anchor { padding: 3px !important; }
.vb-social.vb-social-brand .wp-social-link svg { width: 10px; height: 10px; }
.vb-social-brand { gap: 4px !important; }
.vb-social .wp-block-social-link-anchor { padding: 8px !important; }
.vb-social .wp-social-link svg { width: 16px; height: 16px; }
.vb-social .wp-social-link:hover { background-color: var(--wp--preset--color--primary) !important; transform: none; }
.vb-footer-banner { margin: 0 auto 30px !important; max-width: 100%; }
.vb-footer-banner img { max-width: 100%; height: auto !important; }
@media (max-width: 781px) {
	.vb-footer-left, .vb-footer-right { padding: 0 10px; }
	.vb-footer-left p { text-align: left; }
}

/* ---------- Builder-style pages (rebuilt from Elementor) ---------- */
.vb-builder-page { padding-top: 20px; }
.vb-builder-page .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.vb-section { margin-block-end: 0 !important; }
.vb-section + .vb-section { margin-block-start: 20px !important; }
.vb-section > .wp-block-columns { margin-bottom: 0; }
.vb-section > * + * { margin-block-start: 20px; }
.vb-builder-page h1, .vb-builder-page h2, .vb-builder-page h3 { line-height: 1.3; }
.vb-builder-page .vb-h2 { font-size: var(--wp--preset--font-size--xx-large) !important; }
.vb-builder-page .vb-h3 { font-size: clamp(1.25rem, 0.98rem + 1.2vw, 2rem) !important; }
.vb-builder-page .vb-h4 { font-size: 1.25rem !important; }
.vb-builder-page p + p, .vb-builder-page p + .wp-block-list, .vb-builder-page .wp-block-list + p { margin-block-start: 1.6em; }
.vb-bold p, p.vb-bold, .vb-bold li { font-weight: 700; }
.vb-lead p, p.vb-lead { font-size: 18px; }
.vb-just p, p.vb-just { text-align: justify; }
.vb-builder-page .vb-muted { color: rgba(1, 1, 2, .51); }
.vb-dark-text, .vb-dark-text p, .vb-dark-text li { color: #444; }
.wp-block-columns.vb-cols { gap: 40px; margin-bottom: 0; }
.wp-block-columns.vb-cols-tight { gap: 30px; }
.wp-block-image { margin-bottom: 0; }
.wp-block-image img { vertical-align: bottom; }
.wp-block-separator.vb-divider { border: 0; border-top: 1px solid #000; opacity: 1; margin: 15px 0; width: 100%; }
.wp-block-embed { margin: 0; }
.wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.vb-video-grid .wp-block-column p { font-size: 14px; line-height: 1.6; }

/* Eyebrow line ("Enrich Your Business") and dot lists (Elementor icon lists) */
.vb-eyebrow { display: flex; align-items: center; gap: 0; margin: 0 0 10px; letter-spacing: 1px; font-size: 14px; color: var(--wp--preset--color--contrast); }
.vb-eyebrow::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--wp--preset--color--primary); margin-right: 19px; flex: 0 0 auto; }
ul.vb-dots { list-style: none; padding-left: 0; margin: 35px; }
ul.vb-dots li { position: relative; padding-left: 28px; line-height: 1.9; margin: 0; }
ul.vb-dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 13px; border-radius: 50%; background: var(--wp--preset--color--primary); }
ul.vb-checks { list-style: none; padding-left: 0; }
ul.vb-checks li { position: relative; padding-left: 30px; margin-bottom: 13px; }
ul.vb-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; background: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256a248 248 0 1 1-496 0 248 248 0 0 1 496 0zM227 387l184-184c6-6 6-16 0-22l-23-23c-6-6-16-6-22 0L216 308l-70-70c-6-6-16-6-22 0l-23 23c-6 6-6 16 0 22l104 104c6 6 16 6 22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256a248 248 0 1 1-496 0 248 248 0 0 1 496 0zM227 387l184-184c6-6 6-16 0-22l-23-23c-6-6-16-6-22 0L216 308l-70-70c-6-6-16-6-22 0l-23 23c-6 6-6 16 0 22l104 104c6 6 16 6 22 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.vb-contact-list p { margin: 0 0 5px; }
.vb-contact-list .vb-ico::before { margin-right: 10px; width: 14px; height: 14px; background: var(--wp--preset--color--primary); }

/* Home cards (Elementor image boxes) */
.vb-card .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.vb-card h3 { margin: 30px 0 20px; }
.vb-card h3 a { color: var(--wp--preset--color--primary); }
.vb-card h3 a:hover { color: var(--wp--preset--color--dark); }
.vb-card p { margin: 0; }

/* Business "about me" card (bordered pink, tinted left column) */
.vb-profile { max-width: 887px; margin-left: auto !important; margin-right: auto !important; gap: 0 !important; border: 2px solid var(--wp--preset--color--primary); }
.vb-profile > .wp-block-column { padding: 20px 20px 0; }
.vb-profile > .wp-block-column:first-child { background: rgba(195, 158, 160, .13); }
.vb-profile h3, .vb-profile h4 { margin: 0 0 10px; }
.vb-profile p { margin-bottom: 20px !important; }
.vb-profile .vb-contact-list p { margin-bottom: 2px !important; }
.vb-profile .vb-contact-list { margin-bottom: 20px; }

/* Flip cards (Elementor flip boxes): front shows the step, back the "why"; hover or focus flips. */
.vb-flip { position: relative; min-height: 280px; perspective: 1000px; }
.vb-flip-inner { position: relative; height: 100%; min-height: 280px; transition: transform .6s; transform-style: preserve-3d; }
.vb-flip:hover .vb-flip-inner, .vb-flip:focus-within .vb-flip-inner { transform: rotateY(180deg); }
.vb-flip-face { position: absolute; inset: 0; padding: 30px; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: rgba(122, 122, 122, .17); display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }
.vb-flip-back { justify-content: center; }
.vb-flip-back { transform: rotateY(180deg); background: #e9e9e9; }
.vb-flip-face h3 { font-size: 26px !important; font-weight: 600; margin: 0 0 10px; }
.vb-flip-back h4 { font-size: 21px !important; font-weight: 600; margin: 0 0 20px; }
.vb-flip-face p { font-size: 14px; color: var(--wp--preset--color--slate); margin: 0; }
.vb-flip-face p + p { margin-top: 1.4em; }
@media (hover: none) {
	.vb-flip, .vb-flip-inner { min-height: 0; }
	.vb-flip:hover .vb-flip-inner, .vb-flip:focus-within .vb-flip-inner { transform: none; }
	.vb-flip-face { position: relative; inset: auto; }
	.vb-flip-back { transform: none; margin-top: 10px; }
}

/* Sub-menus at the top of section pages (Elementor nav menus) */
.vb-submenu { font-family: var(--wp--preset--font-family--roboto); font-size: 16px; margin-bottom: 0; }
.vb-submenu .wp-block-navigation__container { gap: 0; }
.vb-submenu .wp-block-navigation-item__content { display: block; padding: 13px 20px; line-height: 20px; color: var(--wp--preset--color--primary) !important; }
.vb-submenu .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--dark) !important; }
.vb-submenu .current-menu-item > .wp-block-navigation-item__content, .vb-submenu [aria-current="page"] { background: var(--wp--preset--color--dark); color: #fff !important; }
@media (max-width: 599px) {
	.vb-submenu .wp-block-navigation__container { flex-wrap: wrap; }
	.vb-submenu .wp-block-navigation-item__content { padding: 8px 12px; }
}

/* Post cards: The Golden Thread (Elementor Pro "cards" posts widget) */
.vb-cards .wp-block-post-template { gap: 30px; }
.vb-cards .wp-block-post { background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .15); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.vb-cards .vb-card-media { position: relative; }
.vb-cards .wp-block-post-featured-image { margin: 0; }
.vb-cards .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.vb-cards .vb-badge { position: absolute; top: 15px; right: 15px; margin: 0; font-size: 12px; line-height: 1; }
.vb-cards .vb-badge a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--wp--preset--color--dark); color: #fff; }
.vb-cards .vb-badge a:not(:first-child), .vb-cards .vb-badge .wp-block-post-terms__separator { display: none; }
.vb-cards .vb-card-body { padding: 30px 30px 25px; }
.vb-cards .wp-block-post-title { font-size: 21px; line-height: 1.3; margin: 0 0 15px; }
.vb-cards .wp-block-post-title a { color: var(--wp--preset--color--primary); }
.vb-cards .wp-block-post-excerpt { font-size: 14px; line-height: 1.5; margin: 0; }
.vb-cards .wp-block-post-excerpt__more-text { margin-top: 15px; }
.vb-cards .wp-block-post-excerpt__more-link, .vb-archive-grid .wp-block-post-excerpt__more-link { color: var(--wp--preset--color--primary); font-size: 12px; font-weight: 700; }
.vb-load-more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.vb-load-more-btn { cursor: pointer; border: 0; font-size: 14px; padding: 12px 30px; background: var(--wp--preset--color--dark); color: #fff; }
.vb-load-more-btn:hover { background: var(--wp--preset--color--primary); }
.vb-cat-links { margin-bottom: 20px; }
.vb-cat-links .wp-block-navigation-item__content { padding: 10px 20px 10px 0 !important; font-size: 16px; }

/* Recipe grids (replacing WP Ultimate Post Grid) */
.vb-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 15px; }
.vb-filter-btn { font: inherit; font-size: 14px; line-height: 1.4; padding: 5px 10px; border: 1px solid #1C3148; background: var(--wp--preset--color--primary); color: #fff; cursor: pointer; border-radius: 0; }
.vb-filter-btn.is-active, .vb-filter-btn:hover { background: #c4103f; }
.vb-filter-btn.is-active { box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.vb-recipes .wp-block-post-template { gap: 10px; }
.vb-recipes .wp-block-post { border: 1px solid #333; padding: 0; background: #fff; }
.vb-recipes .wp-block-post-featured-image { margin: 0; }
.vb-recipes .wp-block-post-featured-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.vb-recipes .wp-block-post-title { font-size: 13px; line-height: 1.3; font-weight: 700; margin: 0; padding: 6px; }
.vb-recipes .wp-block-post-title a { color: var(--wp--preset--color--accent); }
.vb-recipes .wp-block-post[hidden] { display: none; }
@media (max-width: 1024px) { .vb-recipes .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 599px) { .vb-recipes .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* ---------- Classic pages, posts and recipes (Astra "boxed" look) ---------- */
.vb-boxed-wrap { background: var(--wp--preset--color--page-grey); padding: 64px 20px 40px; }
.vb-boxed { max-width: 1200px; margin: 0 auto !important; background: #fff; padding: 85px 107px; box-sizing: border-box; }
.vb-boxed > * { max-width: none !important; }
.vb-entry-title { font-size: 2rem !important; font-weight: 400 !important; line-height: 1.2; margin: 0 0 10px; }
.vb-entry-meta { gap: 0 !important; margin: 0 0 30px; color: #C5A1A5; font-size: 16px; }
.vb-entry-meta > * { margin: 0 !important; }
.vb-by::before { content: "\00a0/ By\00a0"; }
.vb-entry-content > * + * { margin-block-start: 1.6em; }
.vb-entry-content h2, .vb-entry-content h3, .vb-entry-content h4 { margin-top: 1.2em; }
.vb-entry-content img { max-width: 100%; }
.vb-entry-content .wp-caption, .vb-entry-content .wp-block-image figcaption { font-size: 14px; text-align: center; }
.vb-entry-content .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.vb-entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.vb-entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.vb-entry-content::after { content: ""; display: table; clear: both; }
.vb-post-nav { max-width: 1200px; margin: 30px auto 0 !important; padding: 0 2px; }
.vb-post-nav a { color: #C5A1A5; }
.vb-comments-box { margin-top: 30px !important; padding-top: 50px; padding-bottom: 50px; }
.vb-comments-box:not(:has(.wp-block-comment-template, .comment-respond)) { display: none; }
.vb-comments .wp-block-comments-title { font-size: 1.5rem; }
.vb-comment { border-bottom: 1px solid #eee; padding: 20px 0; }
.vb-comment-head { gap: 12px; }
.vb-comment-head .wp-block-avatar img { border-radius: 50%; }
.vb-comment .wp-block-comment-author-name { font-weight: 700; color: #3a3a3a; }
.vb-comment .wp-block-comment-date a { color: #999; }
.wp-block-comment-template ol { padding-left: 40px; }
/* WP Recipe Maker card: plugin output; only stop its section headings shouting in capitals */
.wprm-recipe-container .wprm-recipe-header { text-transform: none !important; }
@media (max-width: 921px) { .vb-boxed { padding: 40px 30px; } }
@media (max-width: 599px) { .vb-boxed-wrap { padding: 20px 0; } .vb-boxed { padding: 30px 20px; } }

/* ---------- Archive, search (Elementor Pro archive template 28849) ---------- */
.vb-archive { padding-top: 100px; padding-bottom: 60px; }
.vb-archive-title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) !important; font-weight: 700; margin-bottom: 35px; }
.vb-archive-grid .wp-block-post-template { gap: 40px 30px; }
.vb-archive-grid .wp-block-post-featured-image { margin: 0 0 20px; }
.vb-archive-grid .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; }
.vb-archive-grid .vb-card-title { font-size: 21px !important; margin: 0 0 10px; line-height: 1.2; }
.vb-archive-grid .vb-card-title a { color: var(--wp--preset--color--primary); }
.vb-archive-grid .wp-block-post-excerpt { font-size: 14px; line-height: 1.5; margin: 0; }
.vb-archive-grid .wp-block-post-excerpt__more-text { margin-top: 15px; }
.wp-block-query-pagination { margin-top: 40px; gap: 10px; font-size: 16px; }
.wp-block-query-pagination a { color: var(--wp--preset--color--contrast); }
.wp-block-query-pagination .current { color: var(--wp--preset--color--primary); }
@media (max-width: 781px) { .vb-archive { padding-top: 40px; } .vb-archive-grid .wp-block-post-template { grid-template-columns: 1fr !important; } }

/* ---------- 404 (Elementor 404 template 32095) ---------- */
.vb-404 { background: #E9EDF2; padding: 0 20px 20px; }
.vb-404-cols { max-width: 1200px; margin: 0 auto !important; gap: 40px; }
.vb-404-text { padding: 0 3% 0 8%; }
.vb-404-num { font-family: var(--wp--preset--font-family--montserrat); font-weight: 300 !important; font-size: clamp(120px, 16vw, 250px) !important; line-height: 1 !important; color: #65768B !important; margin: 0 0 20px -10px; }
.vb-404 p { color: #65768B; margin-bottom: 40px; }
.vb-404-btn .wp-block-button__link { background: var(--wp--preset--color--primary); border-radius: 0; }
.vb-404-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }

/* ---------- Forms (Gravity Forms contact form) ---------- */
.gform_wrapper .gform_button, .gform_wrapper input[type="submit"] { background: var(--wp--preset--color--primary) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; padding: 14px 30px !important; font-weight: 500; text-transform: none !important; cursor: pointer; }
.gform_wrapper .gform_button:hover { background: var(--wp--preset--color--dark) !important; }
.gform_wrapper .gfield_label { color: #3a3a3a; font-weight: 500; }
.gform_wrapper input:not([type="submit"]), .gform_wrapper textarea { border: 1px solid #ddd; border-radius: 2px; padding: 8px 10px; font: inherit; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.vb-builder-page { padding-top: 20px; }
	.wp-block-columns.vb-cols { gap: 30px; }
	ul.vb-dots { margin: 20px 35px; }
	.vb-card h3 { margin: 20px 0 10px; }
	.vb-profile { border-width: 2px; }
}
