/*
Theme Name: Voc Resources
Theme URI: https://www.vocresources.com/
Author: Voc Resources
Description: Custom block theme for Voc Resources (Vocational Resource Strategies).
Version: 1.2.4
Requires at least: 6.5
Tested up to: 6.8
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: vocresources
*/

:root { --vr-navy: #1B3664; --vr-ink: #333333; --vr-tint: #E8EEF7; }

/* ---------- Layout basics ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks a:hover { text-decoration: underline; }
.vr-wrap { max-width: 1120px; margin-inline: auto; }
.vr-sec { padding: 72px 24px; }
.vr-tint { background: var(--vr-tint); }
.vr-navy { background: var(--vr-navy); color: #fff; }
.vr-navy h1, .vr-navy h2, .vr-navy h3, .vr-navy a { color: #fff; }
.vr-sec h2 { margin: 0 0 8px; }
.vr-sec h2 + p { margin-top: 0; }

/* ---------- Top strip ---------- */
.vr-topstrip { background: var(--vr-navy); color: #fff; font-size: 1.1875rem; font-weight: 600; padding: 10px 24px; }
.vr-topstrip a { color: #fff; }
.vr-topstrip p { margin: 0; }
.vr-topstrip-row { max-width: 1120px; margin-inline: auto; gap: 8px 32px; }

/* ---------- Header and navigation ---------- */
.vr-header { padding: 20px 24px; }
.vr-header-row { max-width: 1120px; margin-inline: auto; gap: 16px 40px; }
.vr-logo { display: block; line-height: 0; }
.vr-logo img { display: block; height: 88px; width: auto; }
.vr-nav .wp-block-navigation-item__content { padding: 14px 18px; font-size: 1.375rem; font-weight: 600; color: var(--vr-navy); border-radius: 6px 6px 0 0; }
.vr-nav .wp-block-navigation-item__content:hover { background: rgba(27, 54, 100, .1); text-decoration: none; }
.vr-nav .wp-block-navigation__container { gap: 4px 8px; }
.wp-block-navigation__responsive-container-open { border: 2px solid var(--vr-navy); border-radius: 6px; padding: 8px 12px; min-height: 48px; color: var(--vr-navy); }
.wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
.wp-block-navigation__responsive-container.is-menu-open { background: #fff; color: var(--vr-navy); padding: 24px; }
/* Mobile menu (v1.2.3): centered items, taller tap targets */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list { align-items: center; justify-content: center; text-align: center; width: 100%; gap: 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; justify-content: center; text-align: center; border-bottom: 1px solid rgba(27, 54, 100, .15); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child { border-bottom: 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: flex !important; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; min-height: 88px; font-size: 1.625rem; padding: 36px 16px !important; text-align: center; }
.wp-block-navigation__responsive-container-close { color: var(--vr-navy); }
.wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Hero / title bands ---------- */
.vr-hero, .vr-band {
	background-image: linear-gradient(90deg, rgba(12, 26, 54, .88), rgba(12, 26, 54, .55)), url(assets/images/road.jpg);
	background-size: cover;
	background-position: center;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.vr-hero { padding: 110px 24px; min-height: 560px; box-sizing: border-box; }
.vr-band { padding: 72px 24px; }
.vr-hero h1, .vr-hero p, .vr-band h1, .vr-band p, .vr-band a, .vr-band .wp-block-post-title { color: #fff; }
.vr-hero-copy { max-width: 640px; }
.vr-hero h1 { margin: 0 0 12px; }
.vr-tagline { font-size: 1.75rem; font-weight: 600; margin: 0 0 20px; }
.vr-hero-text { font-size: 1.3125rem; margin: 0 0 32px; }
.vr-band h1 { margin: 0; }
.vr-band .vr-meta { gap: 6px; font-size: 1.25rem; margin-top: 12px; }
.vr-band .vr-meta p { margin: 0; }
.vr-band .wp-block-post-terms { font-size: 1.0625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: 16px; }
.vr-btn-white .wp-block-button__link { background: #fff; color: var(--vr-navy); font-size: 1.375rem; font-weight: 700; padding: 16px 32px; border-radius: 6px; text-shadow: none; }
.vr-btn-outline .wp-block-button__link { background: transparent; color: #fff; font-size: 1.375rem; font-weight: 700; padding: 13px 29px; border: 3px solid #fff; border-radius: 6px; text-shadow: none; }
.vr-btn-white .wp-block-button__link:hover, .vr-btn-outline .wp-block-button__link:hover { text-decoration: underline; }

/* ---------- Card grids ---------- */
.vr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.vr-grid > * { margin-block-start: 0 !important; }
.vr-card { position: relative; display: flex; flex-direction: column; gap: 12px; border: 2px solid var(--vr-navy); border-radius: 8px; padding: 28px; background: #fff; transition: background-color .2s, color .2s; }
.vr-card > * { margin: 0; }
.vr-card h3 { margin: 0; }
.vr-card .vr-go { margin-top: auto; padding-top: 12px; font-weight: 700; }
.vr-card a::after, .vr-guide .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.vr-card:hover, .vr-card:focus-within, .vr-guide:hover, .vr-guide:focus-within { background: var(--vr-navy); color: #fff; }
.vr-card:hover :is(h3, p, a), .vr-card:focus-within :is(h3, p, a),
.vr-guide:hover :is(p, a, div), .vr-guide:focus-within :is(p, a, div) { color: #fff; }
.vr-card a:hover, .vr-guide a:hover { text-decoration: none; }

/* ---------- Guide cards (resource previews and library) ---------- */
.wp-block-post-template.vr-guide-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)) !important; gap: 24px; padding: 0; margin: 0; list-style: none; }
.wp-block-post-template.vr-guide-grid > li { margin: 0; }
.vr-guide { position: relative; height: 100%; box-sizing: border-box; background: #fff; border: 2px solid var(--vr-navy); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: background-color .2s, color .2s; }
.vr-guide > * { margin: 0 !important; }
.vr-guide-cat { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vr-guide-cat::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%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 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.vr-guide-cat a { pointer-events: none; color: inherit; }
.vr-guide-title { font-size: 1.5rem; line-height: 1.25; }
.vr-guide-title a { color: inherit; }
.vr-guide-go { font-weight: 600; }

/* ---------- Testimonials ---------- */
.vr-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px 44px; align-items: start; }
.vr-quotes > * { margin-block-start: 0 !important; }
.wp-block-quote.vr-quote { margin: 0; padding: 20px 0 0; border: 0; border-top: 6px solid var(--vr-navy); font-size: 1.3125rem; }
.vr-quote p { margin: 0; }
.vr-quote cite { display: block; margin-top: 16px; font-size: 1.25rem; font-style: normal; font-weight: 700; color: var(--vr-navy); }

/* ---------- Footer ---------- */
.vr-footer { background: var(--vr-navy); color: #fff; padding: 56px 24px; }
.vr-footer a { color: #fff; }
.vr-footer p { margin: 0; }
.vr-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.vr-footer-grid > * { margin-block-start: 0 !important; }
.vr-fname { font-family: var(--wp--preset--font-family--serif); font-size: 1.75rem; font-weight: 700; }
.vr-ftag { font-size: .9375rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px !important; }
.vr-fcontact p { padding: 4px 0; }
.vr-fsmall { font-size: 1.0625rem; }

/* ---------- Page and post content ---------- */
.vr-main .wp-block-post-content :is(ul, ol) { padding-left: 1.3em; }
.vr-main .wp-block-post-content li { margin-bottom: .5em; }
.vr-main .wp-block-post-content a { text-decoration: underline; font-weight: 700; }
.vr-main { font-size: 1.375rem; line-height: 1.7; }

/* ---------- Password form (core markup) ---------- */
.post-password-form { max-width: 680px; margin: 0 auto; background: #fff; border: 2px solid var(--vr-navy); border-radius: 8px; padding: 32px; }
.post-password-form label { display: block; font-weight: 700; }
.post-password-form input[type="password"] { width: 100%; box-sizing: border-box; margin-top: 8px; font: inherit; font-size: 1.375rem; padding: 16px 18px; border: 2px solid var(--vr-navy); border-radius: 6px; }
.post-password-form input[type="submit"] { margin-top: 16px; width: 100%; font: inherit; font-size: 1.375rem; font-weight: 700; color: #fff; background: var(--vr-navy); border: 0; border-radius: 6px; padding: 16px 32px; cursor: pointer; }

/* ---------- Pagination ---------- */
.wp-block-query-pagination { margin-top: 40px; font-size: 1.25rem; font-weight: 600; gap: 16px; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: 10px 14px; }

/* =====================================================================
   Stage 2: standard pages (Services, Bio, Ticket to Work, etc.)
   Used by the patterns in /patterns and the page-*.html templates.
   ===================================================================== */

/* Page area for the designed pages: the layout supplies its own title band */
.vr-main-custom .wp-block-post-content { padding-inline: 24px; }
.vr-main-custom .wp-block-post-content > .alignfull { margin-inline: -24px !important; margin-block-start: 0 !important; max-width: none; }
.vr-main-custom .wp-block-post-content > :not(.alignfull):first-child { margin-top: 48px; }
.vr-main-custom .wp-block-post-content > :not(.alignfull):last-child { margin-bottom: 64px; }
.vr-main-custom .wp-block-post-content p:not(.vr-go):not(.vr-contactbtn) a { text-decoration: underline; font-weight: 700; }

/* Title band: size matches the approved mockups, optional line under the title */
.vr-band h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); }
.vr-band p.vr-band-sub { margin: 16px 0 0; font-size: 1.6875rem; font-weight: 600; max-width: 24em; }
.vr-band p.vr-band-sub--long { margin-top: 20px; font-size: 1.5rem; font-weight: 400; max-width: 30em; }

/* Section spacing */
.vr-sec--md { padding: 64px 24px; }
.vr-sec--sm { padding: 56px 24px; }
.vr-intro { padding: 64px 24px 48px; }
.vr-cards-sec { padding: 0 24px 72px; }
.vr-other { padding: 64px 24px 72px; }
.vr-testi { padding: 72px 24px 80px; }
.vr-testi h2 { margin: 0 0 32px; }

/* Text */
p.vr-text { max-width: 820px; margin: 0; font-size: 1.375rem; }
p.vr-text + p.vr-text { margin-top: 24px; }
p.vr-text--gap { margin-bottom: 32px; }
p.vr-lead { max-width: 820px; margin: 0; font-family: var(--wp--preset--font-family--serif); font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.5; color: var(--vr-navy); }
.vr-other h2 { margin: 0 0 8px; }
p.vr-other-sub { margin: 0 0 32px; }

/* Bulleted list laid out in two columns */
ul.vr-bl { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px 40px; }
ul.vr-bl li { position: relative; margin: 0; padding-left: 36px; }
ul.vr-bl li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--vr-navy); }

/* Service boxes with bullet lists */
.vr-sv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.vr-sv > * { margin-block-start: 0 !important; }
.vr-sv > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.vr-sc { background: var(--vr-tint); border: 2px solid var(--vr-navy); border-radius: 8px; padding: 32px; }
.vr-sc h3 { margin: 0 0 14px; font-size: 1.625rem; }
.vr-sc ul { margin: 0; padding-left: 24px; }
.vr-sc li { margin: 0 0 10px; }
.vr-sc li:last-child { margin-bottom: 0; }

/* Three across cards, icon cards, tinted cards */
.vr-grid.vr-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vr-card--tint { background: var(--vr-tint); }
.vr-hub { padding: 36px; gap: 14px; }
.vr-hub h3 { font-size: 1.75rem; line-height: 1.2; }
.vr-ic { display: flex; align-items: center; justify-content: center; align-self: flex-start; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--vr-tint); color: var(--vr-navy); margin-bottom: 6px; }
.vr-ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vr-ic--white { background: #fff; margin-bottom: 0; }
.vr-card:hover .vr-ic, .vr-card:focus-within .vr-ic { background: #fff; }

/* Resources call-out strip */
.vr-cta { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; }
.vr-cta > *, .vr-cta-text > *, .vr-cta-copy > * { margin-block-start: 0 !important; }
.vr-cta-text { display: flex; gap: 24px; align-items: center; flex: 1 1 480px; }
.vr-cta-copy h2 { margin: 0 0 6px; font-size: 2rem; }
.vr-cta-copy p { margin: 0; }

/* Ticket to Work: two-column "Access to services" block */
.vr-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px 56px; }
.vr-two > *, .vr-two-copy > *, .vr-two-side > * { margin-block-start: 0 !important; }
.vr-two-copy h2 { margin: 0 0 16px; font-size: 2.125rem; }
.vr-two-copy p { margin: 0 0 16px; }
.vr-two-copy p:last-child { margin-bottom: 0; }
.vr-two-side { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.vr-navy .vr-contactbtn a { display: block; background: #fff; color: var(--vr-navy); border-radius: 8px; padding: 18px 24px; font-size: 1.5rem; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.vr-contactbtn { margin: 0; }
.vr-navy .vr-contactbtn a:hover { text-decoration: underline; }
.vr-addr { margin: 0; font-size: 1.3125rem; }

/* One wide testimonial */
.wp-block-quote.vr-quote--wide { max-width: 820px; font-size: 1.375rem; }

/* =====================================================================
   Stage 3: guides (library, locked screen, opened guide)
   ===================================================================== */

/* Library page band: tagline and access note */
.vr-band h1 + p.vr-band-sub--tag { margin: 12px 0 0; font-size: 1.625rem; max-width: none; }
.vr-band p.vr-band-note { margin: 12px 0 0; font-size: 1.3125rem; max-width: 34em; font-weight: 400; }
.vr-band p.vr-band-sub--tag + p.vr-band-note { margin-top: 12px; }
.vr-band h1.wp-block-query-title { margin: 0; }

/* Library section: search, category chips, results */
.vr-sec--lib { padding: 56px 24px 72px; }
.vr-search .wp-block-search__label { display: block; margin-bottom: 8px; font-weight: 700; }
.vr-search .wp-block-search__inside-wrapper { gap: 12px; flex-wrap: wrap; }
.vr-search .wp-block-search__input { flex: 1 1 280px; box-sizing: border-box; font: inherit; font-size: 1.3125rem; padding: 16px 18px; border: 2px solid var(--vr-navy); border-radius: 6px; background: #fff; }
.vr-search .wp-block-search__button { margin: 0; font: inherit; font-size: 1.3125rem; font-weight: 700; color: #fff; background: var(--vr-navy); border: 0; border-radius: 6px; padding: 16px 32px; cursor: pointer; }
.vr-search .wp-block-search__button:hover { text-decoration: underline; }
p.vr-browse { margin: 32px 0 12px; font-weight: 700; }
.vr-filters-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vr-filters-row > * { margin-block-start: 0 !important; }
.vr-chip, ul.vr-filters a, label.vr-chip { box-sizing: border-box; min-height: 48px; display: flex; align-items: center; padding: 8px 20px; border: 2px solid var(--vr-navy); border-radius: 999px; background: #fff; color: var(--vr-navy); font-size: 1.1875rem; font-weight: 700; cursor: pointer; }
p.vr-chip { margin: 0; padding: 0; border: 0; background: none; min-height: 0; }
p.vr-chip a { box-sizing: border-box; min-height: 48px; display: flex; align-items: center; padding: 8px 20px; border: 2px solid var(--vr-navy); border-radius: 999px; background: #fff; color: var(--vr-navy); font-size: 1.1875rem; font-weight: 700; }
.vr-chip a:hover, ul.vr-filters a:hover, label.vr-chip:hover { background: var(--vr-navy); color: #fff; text-decoration: none; }
ul.vr-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
ul.vr-filters li { margin: 0; }
ul.vr-filters li.current-cat a, .vr-filters-row:not(:has(.current-cat)) .vr-chip-all a { background: var(--vr-navy); color: #fff; }
.vr-results { margin-top: 32px; }
.vr-results > * { margin-block-start: 0 !important; }
.vr-guide .wp-block-post-excerpt { flex: 1; }
.vr-guide .wp-block-post-excerpt p { margin: 0; }
.vr-guide-go { color: var(--vr-navy); font-weight: 700; padding-top: 4px; }
.vr-guide:hover .vr-guide-go, .vr-guide:focus-within .vr-guide-go { color: #fff; }

/* "Need access" strip on the library */
.vr-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center; }
.vr-access > *, .vr-access-copy > * { margin-block-start: 0 !important; }
.vr-access-copy h2 { margin: 0 0 8px; }
.vr-access-copy p { margin: 0; }

/* Guide title band */
.vr-band--guide { padding: 56px 24px 64px; }
.vr-band--guide h1 { margin: 8px 0 12px; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.vr-band--guide .vr-meta { margin-top: 0; }
.vr-band p.vr-backlink { margin: 0 0 16px; }
.vr-backlink a { display: inline-block; padding: 8px 0; font-weight: 700; }

/* Text size buttons (no scripts: they are radio buttons) */
.vr-guide-main { padding: 0; }
.vr-guide-inner { position: relative; max-width: 760px; margin-inline: auto; padding: 56px 24px 40px; }
.vr-guide-inner > * { margin-block-start: 0; }
.vr-sz { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vr-szrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 2px solid var(--vr-tint); }
.vr-szrow b { margin-right: 4px; font-size: 1.1875rem; }
#vr-s1:checked ~ .vr-szrow [for="vr-s1"], #vr-s2:checked ~ .vr-szrow [for="vr-s2"], #vr-s3:checked ~ .vr-szrow [for="vr-s3"] { background: var(--vr-navy); color: #fff; }
.vr-sz:focus-visible ~ .vr-szrow { outline: 3px solid var(--vr-navy); outline-offset: 6px; border-radius: 8px; }
.vr-guide-inner .wp-block-post-content { font-size: 1.375rem; line-height: 1.7; }
#vr-s2:checked ~ .wp-block-post-content { font-size: 1.5625rem; }
#vr-s3:checked ~ .wp-block-post-content { font-size: 1.8125rem; }
.vr-guide-inner .wp-block-post-content h2 { margin: 1.6em 0 .5em; font-size: 1.45em; line-height: 1.25; }
.vr-guide-inner .wp-block-post-content h3 { font-size: 1.2em; }
.vr-guide-inner .wp-block-post-content p { margin: 0 0 1em; }
.vr-guide-inner .wp-block-post-content :is(ul, ol) { margin: 0 0 1em; padding-left: 1.3em; }
.vr-guide-inner .wp-block-post-content li { margin-bottom: .5em; }
.vr-guide-inner .wp-block-post-content a { text-decoration: underline; font-weight: 700; }

/* Questions strip and back/next cards under an opened guide */
.vr-guide-after.vr-tint { padding: 48px 24px; }
.vr-ask { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; max-width: 760px; margin-inline: auto; }
.vr-ask > *, .vr-ask-copy > * { margin-block-start: 0 !important; }
.vr-ask-copy h2 { margin: 0 0 4px; font-size: 1.625rem; }
.vr-ask-copy p { margin: 0; }
.vr-btn-navy .wp-block-button__link { background: var(--vr-navy); color: #fff; font-size: 1.3125rem; font-weight: 700; padding: 14px 28px; border-radius: 6px; }
.vr-btn-navy-outline .wp-block-button__link { background: transparent; color: var(--vr-navy); font-size: 1.3125rem; font-weight: 700; padding: 11px 25px; border: 3px solid var(--vr-navy); border-radius: 6px; }
.vr-btn-navy .wp-block-button__link:hover, .vr-btn-navy-outline .wp-block-button__link:hover { text-decoration: underline; }
.vr-guide-nav { padding: 56px 24px 72px; }
.vr-navcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; max-width: 760px; margin-inline: auto; }
.vr-navcards > * { margin-block-start: 0 !important; }
.vr-navcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 2px solid var(--vr-navy); border-radius: 8px; background: #fff; transition: background-color .2s, color .2s; }
.vr-navcard > * { margin: 0; }
.vr-navcard-label, .vr-navcard .post-navigation-link__label { display: block; font-weight: 700; color: var(--vr-navy); }
.vr-navcard h3, .vr-navcard .post-navigation-link__title { margin: 0; font-family: var(--wp--preset--font-family--sans); font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.vr-navcard a { color: var(--vr-navy); }
.vr-navcard a::after { content: ""; position: absolute; inset: 0; }
.vr-navcard:hover, .vr-navcard:focus-within { background: var(--vr-navy); }
.vr-navcard:hover :is(p, h3, a, span), .vr-navcard:focus-within :is(p, h3, a, span) { color: #fff; }
.vr-navcard a:hover { text-decoration: none; }

/* The locked-guide screen (replaces WordPress's standard password form on guides) */
.vr-guide-main:has(.vr-lock) { background: var(--vr-tint); }
.vr-guide-main:has(.vr-lock) .vr-guide-inner { padding-block: 64px 80px; }
.vr-guide-main:has(.vr-lock) .vr-szrow { display: none; }
body:has(.vr-lock) .vr-guide-after { display: none; }
.vr-lock { max-width: 680px; margin-inline: auto; box-sizing: border-box; background: #fff; border: 2px solid var(--vr-navy); border-radius: 8px; padding: clamp(24px, 5vw, 44px); font-size: 1.25rem; line-height: 1.6; }
.vr-lock-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--vr-navy); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.vr-lock h2 { margin: 0 0 8px; font-size: 2rem; }
.vr-lock h3 { margin: 0 0 8px; font-size: 1.5rem; }
.vr-lock p { margin: 0 0 28px; }
.vr-lock .vr-lock-error { margin: 0 0 20px; padding: 14px 18px; border: 2px solid var(--vr-navy); border-radius: 6px; background: var(--vr-tint); font-weight: 700; }
.vr-lock .post-password-form { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.vr-lock .post-password-form input[type="password"], .vr-lock .post-password-form input[type="text"] { font-size: 1.375rem; }
.vr-lock .post-password-form input:focus-visible { outline: 3px solid var(--vr-navy); outline-offset: 2px; }
.vr-lock label.vr-showpw { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 16px 0 24px; font-size: 1.1875rem; font-weight: 400; }
.vr-lock label.vr-showpw input { width: 24px; height: 24px; margin: 0; }
.vr-lock .post-password-form input[type="submit"] { margin-top: 0; padding: 18px 32px; }
.vr-lock hr { border: 0; border-top: 2px solid var(--vr-tint); margin: 36px 0 28px; }
.vr-lock p + .vr-lock-links, .vr-lock-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.vr-lock .vr-lock-links p { margin: 0; }
.vr-lock .vr-lock-links a { color: var(--vr-navy); font-size: 1.3125rem; font-weight: 700; }
.vr-lock .vr-lock-links a.vr-lock-btn { display: inline-block; padding: 12px 24px; border: 3px solid var(--vr-navy); border-radius: 6px; }
.vr-band--guide .vr-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }

/* Footer logo: shown on a white panel because the logo is dark on a clear background */
.vr-flogo { display: inline-block; line-height: 0; background: #fff; border-radius: 8px; padding: 14px 18px; }
.vr-flogo img { display: block; height: 96px; width: auto; }
.vr-flogo:hover { text-decoration: none; }
.vr-flogo--sm { flex: none; padding: 10px 14px; }
.vr-flogo--sm img { height: 72px; }
