/*
Theme Name: BCUSA Sovereign
Theme URI: https://britishcoinsusa.com/
Description: Custom block theme for a US-based buyer of British coins. Calm navy and gold, built around one action: a free valuation. Requires the BCUSA Core plugin.
Version: 1.0.17
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bcusa
*/

/* ---------- Base ---------- */
:root {
	--bc-navy: #0F1B2D; --bc-navy-700: #1C2E4A; --bc-gold: #C9A24B; --bc-old-gold: #8A6A1F;
	--bc-pale-gold: #E9DDBF; --bc-ivory: #F7F4EC; --bc-ink: #1E2329; --bc-slate: #5A6270;
	--bc-stone: #D9D4C7; --bc-mist: #B8C2D1; --bc-error: #A33A2E; --bc-success: #2F6B4F;
	--bc-radius: 12px;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--bc-navy); outline-offset: 2px; }
.bc-band-navy :where(a, button, summary):focus-visible, .bc-header :where(a, button):focus-visible { outline-color: var(--bc-gold); }
img { max-width: 100%; height: auto; }
.screen-reader-text:focus { background: #fff; color: var(--bc-navy); padding: 12px; z-index: 100000; }
.wp-site-blocks > main { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
/* Full-width sections keep side padding on every WordPress version. */
.has-global-padding > .alignfull.has-global-padding { padding-left: var(--wp--style--root--padding-left); padding-right: var(--wp--style--root--padding-right); }

.bc-eyebrow { font-size: 0.8125rem !important; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--bc-old-gold); margin-bottom: 0.25rem !important; }
.bc-lead { font-size: var(--wp--preset--font-size--large); color: var(--bc-slate); }
.bc-muted { color: var(--bc-slate); }
.bc-small { font-size: 0.9375rem; }

/* ---------- Header ---------- */
.bc-header { background: var(--bc-navy); color: #fff; border-bottom: 3px solid var(--bc-gold); position: relative; z-index: 50; }
.bc-header-inner { gap: 12px 28px; padding-block: 14px; }
.bc-header .wp-block-site-title { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.bc-header .wp-block-site-title a { color: #fff; text-decoration: none; }
.bc-brand { gap: 12px !important; }
.bc-brand-mark { width: 40px; height: 40px; flex: 0 0 40px; border: 2px solid var(--bc-gold); border-radius: 50%; display: grid; place-items: center; color: var(--bc-gold); font-family: var(--wp--preset--font-family--heading); font-size: 14px; }
.bc-tagline { margin: 0 !important; font-size: 0.78rem; color: var(--bc-mist); line-height: 1.2; }
.bc-header .wp-block-navigation { color: #fff; }
.bc-header .wp-block-navigation a:hover { color: var(--bc-gold); }
.bc-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--bc-navy) !important; border: 1px solid var(--bc-navy-700) !important; padding: 6px 0; min-width: 260px !important; }
.bc-header .wp-block-navigation .wp-block-navigation__submenu-container a { padding: 9px 18px !important; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--bc-navy) !important; color: #fff !important; padding: 24px; }
.bc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.2rem; }
.bc-header-actions { gap: 18px !important; }
.bc-header-actions .bc-phone { color: #fff; font-weight: 600; text-decoration: none; display: block; line-height: 1.2; }
.bc-header-actions .bc-hours { display: block; font-size: 0.78rem; color: var(--bc-mist); }
.bc-header-actions p { margin: 0; }
@media (max-width: 1080px) { .bc-header-actions .bc-phone-wrap { display: none; } }
@media (max-width: 781px) {
	.bc-header-actions .wp-block-buttons { display: none; }
	.bc-tagline { display: none; }
	.bc-header .wp-block-site-title { font-size: 1.1rem; }
	.bc-brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 12px; }
}

/* ---------- Sections ---------- */
.bc-band-navy { background: var(--bc-navy); color: #fff; }
.bc-band-navy :where(h1, h2, h3, h4) { color: #fff; }
.bc-band-navy p { color: var(--bc-pale-gold); }
.bc-band-navy .bc-eyebrow { color: var(--bc-gold); }
.bc-band-navy a:not(.wp-block-button__link) { color: var(--bc-pale-gold); }
.bc-band-white { background: #fff; border-block: 1px solid var(--bc-stone); }
.bc-band-pale { background: var(--bc-pale-gold); border-radius: 14px; }
.bc-section { padding-block: var(--wp--preset--spacing--60); }
.bc-section-tight { padding-block: var(--wp--preset--spacing--50); }
.bc-breadcrumb { font-size: 0.9rem; color: var(--bc-slate); margin-bottom: 0.5rem !important; }
.bc-band-navy .bc-breadcrumb, .bc-band-navy .bc-breadcrumb a { color: var(--bc-mist); }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--bc-navy); border: 1.5px solid var(--bc-navy); padding: calc(0.95rem - 1.5px) calc(1.6rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--bc-navy); color: #fff; }
.bc-band-navy .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: var(--bc-pale-gold); }
.bc-band-navy .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--bc-pale-gold); color: var(--bc-navy); }
.wp-block-button__link { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.is-style-bc-navy > .wp-block-button__link { background: var(--bc-navy); color: #fff; }
.is-style-bc-navy > .wp-block-button__link:hover { background: var(--bc-navy-700); color: #fff; }

/* Hero */
.bc-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.bc-hero h1 { color: #fff; max-width: 14em; }
.bc-hero .bc-lead { color: var(--bc-pale-gold); max-width: 36em; }
.bc-ticks { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.97rem; }
.bc-ticks li { position: relative; padding-left: 26px; color: var(--bc-pale-gold); }
.bc-ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 8px; border-left: 2.5px solid var(--bc-gold); border-bottom: 2.5px solid var(--bc-gold); transform: rotate(-45deg); }
.bc-ticks:empty { display: none; }

/* Cards */
.bc-card { background: #fff; border: 1px solid var(--bc-stone); border-radius: var(--bc-radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.bc-card > * { margin-block: 0; }
.bc-card > * + * { margin-block-start: 0.5rem; }
.bc-card h3 { font-family: var(--wp--preset--font-family--body); font-size: 1.15rem; font-weight: 600; color: var(--bc-navy); line-height: 1.3; }
.bc-card p { color: var(--bc-slate); font-size: 1rem; }
.bc-card-link { position: relative; transition: border-color .15s, box-shadow .15s; }
.bc-card-link:hover { border-color: var(--bc-gold); box-shadow: 0 6px 20px rgba(15, 27, 45, .08); }
.bc-card-link h3 a { color: inherit; text-decoration: none; }
.bc-card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bc-card-link .bc-more { color: var(--bc-old-gold); font-weight: 600; font-size: 0.95rem; }
.bc-card-dashed { background: transparent; border: 1.5px dashed var(--bc-old-gold); display: flex; align-items: center; justify-content: center; text-align: center; }

/* Coin icons (drawn, no stock imagery) */
.bc-coin-ico { display: flex; gap: 16px; align-items: center; }
.bc-coin-ico > .wp-block-group, .bc-coin-ico > div { flex: 1; }

/* Steps */
.bc-steps { counter-reset: bcstep; }
.bc-step { counter-increment: bcstep; }
.bc-step::before { content: counter(bcstep); width: 44px; height: 44px; border-radius: 50%; background: var(--bc-navy); color: var(--bc-gold); display: grid; place-items: center; font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.75rem; }
.bc-step h3 { font-size: 1.25rem; }
.bc-timeline { counter-reset: bcstep; }
.bc-timeline > .bc-tl-item { counter-increment: bcstep; position: relative; padding-left: 76px; padding-bottom: 2.25rem; margin: 0 !important; }
.bc-timeline > .bc-tl-item::before { content: counter(bcstep); position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--bc-navy); color: var(--bc-gold); display: grid; place-items: center; font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 600; }
.bc-timeline > .bc-tl-item::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 6px; width: 2px; background: var(--bc-stone); }
.bc-timeline > .bc-tl-item:last-child::after { display: none; }
.bc-timeline > .bc-tl-item:last-child::before { background: var(--bc-gold); color: var(--bc-navy); }
.bc-timeline h2 { font-size: 1.6rem; margin-top: 0.5rem; }
.bc-timeline .bc-meta { font-size: 0.95rem; font-weight: 600; color: var(--bc-old-gold); }

/* Comparison table */
.bc-compare { border: 1px solid var(--bc-stone); border-radius: var(--bc-radius); overflow-x: auto; background: #fff; }
.bc-compare table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 1rem; }
.wp-block-table.bc-compare table, .wp-block-table.bc-compare thead { border: 0; }
.wp-block-table.bc-compare th, .wp-block-table.bc-compare td { padding: 14px 18px; border: 0; border-top: 1px solid var(--bc-stone); text-align: left; vertical-align: top; }
.wp-block-table.bc-compare thead th { border-top: 0; color: var(--bc-navy); background: var(--bc-ivory); }
.bc-compare thead th:nth-child(3), .bc-compare tbody td:nth-child(3) { background: #FBF7EC; }
.bc-compare thead th:nth-child(3) { background: var(--bc-pale-gold); }
.bc-compare tbody td:first-child { font-weight: 600; color: var(--bc-slate); width: 22%; }
.bc-compare.is-two thead th:nth-child(2), .bc-compare.is-two tbody td:nth-child(2) { background: #FBF7EC; }
.bc-compare.is-two thead th:nth-child(2) { background: var(--bc-pale-gold); }
.bc-compare.is-two thead th:nth-child(3), .bc-compare.is-two tbody td:nth-child(3) { background: transparent; }
.bc-compare.is-two thead th:nth-child(3) { background: var(--bc-ivory); }
.bc-compare figcaption { display: none; }

/* FAQ */
.wp-block-details summary { font-weight: 600; color: var(--bc-navy); cursor: pointer; font-size: 1.08rem; }
.wp-block-details[open] summary { margin-bottom: 0.5rem; }
.wp-block-details + .wp-block-details { margin-top: 0.75rem; }

/* Owner + photo placeholder */
.bc-photo-slot { background: var(--bc-pale-gold); border-radius: 14px; aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; color: var(--bc-old-gold); padding: 24px; font-size: 0.95rem; }
.bc-avatar-slot { width: 96px; height: 96px; border-radius: 50%; background: var(--bc-pale-gold); border: 3px solid var(--bc-gold); flex: 0 0 96px; }

/* Callout */
.bc-callout { background: var(--bc-pale-gold); border-radius: 14px; padding: clamp(1.25rem, 3vw, 1.75rem); }
.bc-callout h3 { margin: 0; }
.bc-callout p { margin: 0.25rem 0 0; }
.bc-note { background: #FBF7EC; border-radius: 8px; padding: 12px 14px; font-size: 0.95rem; }
.bc-sources { background: #fff; border: 1px solid var(--bc-stone); border-radius: var(--bc-radius); padding: 18px 22px; font-size: 0.95rem; }

/* Contact route cards */
.bc-overlap { margin-top: -80px !important; position: relative; z-index: 2; }
.bc-route { background: #fff; border: 1px solid var(--bc-stone); border-radius: 14px; padding: 26px; box-shadow: 0 10px 30px rgba(15, 27, 45, .07); display: flex; flex-direction: column; gap: 10px; }
.bc-route > * { margin: 0 !important; }
.bc-route.is-primary { border: 2px solid var(--bc-gold); }
.bc-route h3 { font-size: 1.4rem; }
.bc-route .bc-route-big { font-size: 1.45rem; font-weight: 600; color: var(--bc-navy); margin-top: auto !important; }
.bc-route .bc-route-big a { color: inherit; text-decoration: none; }
.bc-route .wp-block-buttons { margin-top: auto !important; }
.bc-route-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; background: var(--bc-gold); color: var(--bc-navy); padding: 3px 10px; border-radius: 999px; }
.bc-owner-chip { background: var(--bc-navy-700); border-radius: 14px; padding: 22px; gap: 18px !important; }
.bc-owner-chip p { margin: 0; }
.bc-hours-table table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.bc-hours-table :where(td, th) { border: 0; padding: 4px 0; }
.bc-hours-table td:first-child { color: var(--bc-slate); padding-right: 20px; }
.bc-hours-table td:last-child { font-weight: 600; }

/* ---------- Forms ---------- */
.bc-form { display: flex; flex-direction: column; gap: 1.5rem; }
.bc-form fieldset { border: 0; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--bc-stone); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.bc-form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.bc-form legend { font-family: var(--wp--preset--font-family--heading); font-size: 1.45rem; font-weight: 600; color: var(--bc-navy); padding: 0; margin-bottom: 1rem; float: left; width: 100%; }
.bc-form legend + * { clear: both; }
.bc-form legend .bc-opt { font-family: var(--wp--preset--font-family--body); font-size: 0.95rem; }
.bc-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bc-field > label, .bc-label { font-size: 0.97rem; font-weight: 600; }
.bc-req, .bc-opt { font-weight: 400; color: var(--bc-slate); font-size: 0.875rem; margin-left: 4px; }
.bc-form :where(input[type=text], input[type=email], input[type=tel], select, textarea) { font: inherit; font-size: 1.0625rem; width: 100%; box-sizing: border-box; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--bc-slate); border-radius: 8px; background: #fff; color: var(--bc-ink); }
.bc-form textarea { min-height: 130px; resize: vertical; }
.bc-form [aria-invalid=true] { border-color: var(--bc-error) !important; }
.bc-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 16px; }
.bc-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-narrow { max-width: 360px; }
.bc-choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 1.5px solid var(--bc-stone); border-radius: 8px; background: #fff; font-size: 1.02rem; cursor: pointer; }
.bc-choice:has(input:checked) { border-color: var(--bc-navy); background: #FBF7EC; }
.bc-choice input, .bc-consent input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--bc-navy); margin: 0; }
.bc-consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 1rem; }
.bc-consent input { margin-top: 3px; }
.bc-drop { border: 2px dashed var(--bc-old-gold); border-radius: 12px; background: #FBF7EC; padding: 20px; text-align: center; }
.bc-drop-label { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: var(--bc-old-gold); }
.bc-drop-label strong { color: var(--bc-navy); font-size: 1.05rem; }
.bc-drop-label span { color: var(--bc-slate); font-size: 0.95rem; }
.bc-drop input[type=file] { margin-top: 12px; font-size: 0.95rem; max-width: 100%; }
.bc-thumbs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bc-thumbs li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bc-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--bc-stone); }
.bc-thumbs button { font: inherit; font-size: 0.8rem; background: none; border: 0; color: var(--bc-error); text-decoration: underline; cursor: pointer; padding: 4px; }
.bc-thumbs .bc-thumbs-count { flex-basis: 100%; font-size: 0.9rem; color: var(--bc-slate); }
.bc-help { font-size: 0.9rem; color: var(--bc-slate); margin: 0; }
.bc-form-errors { background: #FBF1E6; border: 1.5px solid var(--bc-error); border-radius: 10px; padding: 12px 18px; color: var(--bc-ink); }
.bc-form-errors ul { margin: 0; padding-left: 18px; }
.bc-form-success { background: #EEF5F1; border: 1.5px solid var(--bc-success); border-radius: 10px; padding: 18px 20px; font-weight: 500; }
.bc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bc-submit { display: flex; flex-direction: column; gap: 8px; }
.bc-status { margin: 0; font-size: 0.95rem; color: var(--bc-slate); min-height: 1.2em; }
.bc-btn { box-sizing: border-box; font: inherit; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 8px; border: 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; text-decoration: none; }
.bc-btn[disabled] { opacity: .65; cursor: progress; }
.bc-btn-gold { background: var(--bc-gold); color: var(--bc-navy); }
.bc-btn-gold:hover { background: #B8913A; color: var(--bc-navy); }
.bc-btn-navy { background: var(--bc-navy); color: #fff; align-self: flex-start; }
.bc-btn-navy:hover { background: var(--bc-navy-700); color: #fff; }
.bc-btn-outline { background: transparent; border: 1.5px solid var(--bc-navy); color: var(--bc-navy); }
.bc-btn-outline:hover { background: var(--bc-navy); color: #fff; }
.bc-btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.bc-btn-block { width: 100%; }
.bc-quick { background: #fff; color: var(--bc-ink); border-radius: 14px; padding: clamp(1.25rem, 3vw, 1.9rem); gap: 0.9rem; }
.bc-quick p { color: var(--bc-ink); }
.bc-quick .bc-quick-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.55rem; font-weight: 600; color: var(--bc-navy); margin: 0; line-height: 1.2; }
.bc-quick .bc-quick-sub { margin: -0.5rem 0 0; color: var(--bc-slate); font-size: 0.95rem; }
.bc-quick .bc-help { color: var(--bc-slate); }
.bc-form-card { background: #fff; border: 1px solid var(--bc-stone); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); }

/* ---------- Listings ---------- */
.bc-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.bc-chip { font: inherit; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 0.97rem; font-weight: 600; background: #fff; color: var(--bc-navy); border: 1.5px solid var(--bc-stone); cursor: pointer; }
.bc-chip[aria-pressed=true] { background: var(--bc-navy); color: #fff; border-color: var(--bc-navy); }
.bc-legend { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9rem; color: var(--bc-slate); }
.bc-badge { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; line-height: 1.4; }
.bc-badge-stock { background: var(--bc-navy); color: #fff; }
.bc-badge-consigned { background: var(--bc-pale-gold); color: var(--bc-navy); }
.bc-badge-sold { background: var(--bc-error); color: #fff; }
.bc-coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.bc-coin { background: #fff; border: 1px solid var(--bc-stone); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.bc-coin[hidden] { display: none; }
.bc-coin-img { position: relative; aspect-ratio: 4 / 3; background: #EFEAE0; }
.bc-coin-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-coin-img .bc-badge { position: absolute; top: 12px; left: 12px; }
.bc-coin-img .bc-badge-sold { left: auto; right: 12px; }
.bc-coin.is-sold .bc-coin-img img { opacity: .6; }
.bc-coin-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bc-coin-kind { font-size: 0.8rem; color: var(--bc-old-gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bc-coin-title { margin: 0; font-size: 1.25rem; }
.bc-coin-detail { margin: 0; font-size: 0.95rem; color: var(--bc-slate); }
.bc-coin-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bc-coin-price { font-size: 1.3rem; font-weight: 600; color: var(--bc-navy); }
.bc-empty { background: #fff; border: 1.5px dashed var(--bc-old-gold); border-radius: 14px; padding: 28px; }
.bc-empty-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; font-weight: 600; color: var(--bc-navy); margin: 0 0 6px; }
.bc-empty p:last-child { margin: 0; }

/* ---------- Posts (guides) ---------- */
.bc-post-meta { font-size: 0.95rem; color: var(--bc-slate); gap: 6px 16px !important; }
.bc-post-meta a { color: var(--bc-old-gold); }
.bc-article .wp-block-post-content > * + * { margin-block-start: 1.1rem; }
.bc-article .wp-block-post-content h2 { margin-block-start: 2.25rem; }
.bc-article .wp-block-post-content h3 { margin-block-start: 1.75rem; }
.bc-sidebar { position: sticky; top: 24px; }
.bc-guide-card h2 { font-size: 1.25rem; margin: 0; }
.bc-guide-card h2 a { color: var(--bc-navy); text-decoration: none; }
.bc-guide-card h2 a::after { content: ""; position: absolute; inset: 0; }
.bc-guide-card { position: relative; }
.bc-guide-card .wp-block-post-excerpt__excerpt { color: var(--bc-slate); font-size: 1rem; margin: 0; }

/* ---------- Footer ---------- */
.bc-footer { background: var(--bc-navy); color: var(--bc-pale-gold); font-size: 0.97rem; }
.bc-footer p { margin: 0; }
.bc-footer a { color: var(--bc-pale-gold); text-decoration: none; }
.bc-footer a:hover { color: #fff; text-decoration: underline; }
.bc-footer .bc-foot-name { font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; font-weight: 600; color: #fff; }
.bc-footer .bc-phone { color: #fff; font-weight: 600; font-size: 1.15rem; }
.bc-footer .bc-hours { display: block; color: var(--bc-mist); font-size: .9rem; }
.bc-footer .bc-eyebrow { color: var(--bc-gold); }
.bc-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bc-footer-bottom { border-top: 1px solid var(--bc-navy-700); color: var(--bc-mist); font-size: 0.85rem; }
.bc-footer-bottom a { color: var(--bc-mist); }

/* ---------- Mobile action bar ---------- */
.bc-mobilebar { display: none; }
@media (max-width: 781px) {
	.bc-mobilebar { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bc-stone); box-shadow: 0 -4px 16px rgba(15, 27, 45, .12); }
	.bc-mobilebar.is-single { grid-template-columns: 1fr; }
	.bc-mobilebar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 600; text-decoration: none; }
	.bc-mobilebar .bc-mb-val { background: var(--bc-gold); color: var(--bc-navy); }
	.bc-mobilebar .bc-mb-call { border: 1.5px solid var(--bc-navy); color: var(--bc-navy); }
	body.has-bc-mobilebar { padding-bottom: 80px; }
	.bc-overlap { margin-top: -48px !important; }
	.bc-sidebar { position: static; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Card grids: fill the row instead of leaving empty columns. */
.bc-fit.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important; }
.bc-route .bc-route-big .bc-email { font-size: 1.1rem; overflow-wrap: anywhere; }
.bc-route .bc-route-big a { overflow-wrap: anywhere; }
/* Listing without a photo yet: draw a coin. */
.bc-coin-img:not(:has(img))::after { content: ""; position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: var(--bc-pale-gold); border: 3px solid var(--bc-gold); box-shadow: inset 0 0 0 8px var(--bc-pale-gold), inset 0 0 0 9px rgba(138, 106, 31, .45); }
.bc-hero > .bc-lead, .bc-hero > h1 { margin-left: max(0px, calc((100% - 1280px) / 2)) !important; margin-right: auto !important; }
/* Coin pages: line the hero up with the 860px reading column below it. */
.bc-hero:not(:has(> .wp-block-columns)) > * { margin-left: max(0px, calc((100% - 860px) / 2)) !important; margin-right: auto !important; }
.bc-hero:not(:has(> .wp-block-columns)) > .bc-breadcrumb, .bc-hero:not(:has(> .wp-block-columns)) > h1, .bc-hero:not(:has(> .wp-block-columns)) > .wp-block-buttons { max-width: 860px; }

/* Header: keep the menu on one line at laptop widths. */
.bc-header .wp-block-button__link { white-space: nowrap; }
.bc-header .wp-block-navigation__container { flex-wrap: nowrap; }
.bc-brand .wp-block-site-title, .bc-tagline { white-space: nowrap; }
@media (min-width: 782px) and (max-width: 1240px) {
	.bc-header .wp-block-navigation { --wp--style--block-gap: 18px; gap: 18px; font-size: 0.92rem; }
	.bc-header .wp-block-navigation__container { gap: 18px; }
	.bc-tagline { display: none; }
	.bc-header-actions .wp-block-button__link { padding-left: 1.1rem; padding-right: 1.1rem; font-size: 0.97rem; }
}

.bc-header .wp-block-navigation-item__content, .bc-header .wp-block-navigation-submenu__toggle { white-space: nowrap; }
@media (min-width: 782px) and (max-width: 1100px) {
	.bc-header .wp-block-navigation, .bc-header .wp-block-navigation__container { gap: 14px; font-size: 0.88rem; }
	.bc-header-inner { gap: 12px 16px !important; }
}

/* Hero rhythm (1.0.2) */
:where(h1, h2, h3) { text-wrap: balance; }
.bc-lead { text-wrap: pretty; }
.bc-hero .wp-block-column > * { margin-block: 0; }
.bc-hero .wp-block-column > .bc-eyebrow { margin-bottom: 0.9rem !important; }
.bc-hero .wp-block-column > h1 { margin-bottom: 1.25rem; }
.bc-hero .wp-block-column > .bc-lead { margin-bottom: 2rem; max-width: 34em; }
.bc-hero .wp-block-column > .wp-block-buttons { gap: 14px; }
.bc-hero .bc-ticks { margin-top: 1.5rem; gap: 10px 24px; padding-top: 1.25rem; border-top: 1px solid rgba(233, 221, 191, .18); max-width: 34em; }
.bc-band-navy > .bc-lead, .bc-band-navy > h1 { margin-bottom: 1.25rem; }
@media (max-width: 781px) { .bc-header-actions { display: none !important; } .bc-header .wp-block-navigation { margin-left: auto; } }
.bc-hero .wp-block-column > h1 { margin-bottom: 1.5rem !important; }

/* British touch, option A (1.0.3): name + UK→US flags, union stripe, red accents */
.bc-header { border-bottom: 0; }
.bc-header::after { content: ""; display: block; height: 6px; margin-inline: calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1); background: linear-gradient(#C8102E 0 2px, #FFFFFF 2px 4px, #012169 4px 6px); }
.bc-header.has-global-padding::after { margin-inline: calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1); }
.bc-brand { gap: 14px !important; align-items: center; }
.bc-header .wp-block-site-title { font-size: 1.45rem; }
.bc-flags { display: inline-flex; align-items: center; gap: 5px; line-height: 0; }
.bc-flags svg { display: block; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.bc-flags .bc-flags-arrow { box-shadow: none; }
.bc-hero .bc-eyebrow { display: flex; align-items: center; gap: 10px; }
.bc-hero .bc-eyebrow::before { content: ""; width: 28px; height: 2px; background: #C8102E; flex: 0 0 28px; }
.bc-quick { border-top: 6px solid #C8102E; }
@media (max-width: 781px) { .bc-header .wp-block-site-title { font-size: 1.15rem; } .bc-flags svg:first-child { width: 26px; height: 13px; } .bc-flags svg:last-child { width: 24px; height: 13px; } }

/* Medium screens (1.0.4): menu button + stacked hero below 1100px */
@media (max-width: 1099px) {
	.bc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.bc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.bc-header .wp-block-navigation { margin-left: auto; }
	.bc-header-inner { gap: 12px 20px !important; }
	.bc-hero .wp-block-columns { flex-wrap: wrap !important; }
	.bc-hero .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	.bc-hero .bc-quick { max-width: 560px; }
	.bc-hero h1 { max-width: 16em; }
	.bc-band-navy .wp-block-columns > .wp-block-column, .bc-section .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
}
@media (min-width: 782px) and (max-width: 1099px) {
	.bc-header-actions { order: 3; }
}
/* Open menu overlay (1.0.5): left-aligned, roomy, no boxed sub-menu */
.bc-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px max(16px, 4vw) 40px !important; }
.bc-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 56px !important; }
.bc-header .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 0 !important; width: 100%; }
.bc-header .is-menu-open .wp-block-navigation-item { width: 100%; align-items: flex-start !important; border-bottom: 1px solid #1C2E4A; }
.bc-header .is-menu-open .wp-block-navigation-item__content { padding: 14px 0 !important; font-size: 1.25rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.bc-header .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 0 0 10px 16px !important; background: transparent !important; min-width: 0 !important; }
.bc-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.bc-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 0 !important; font-size: 1.02rem; font-family: var(--wp--preset--font-family--body); font-weight: 500; color: #E9DDBF; }
.bc-header .is-menu-open .wp-block-navigation__container::after { content: ""; }
.bc-header .bc-nav-cta { display: none !important; }
.bc-header .is-menu-open .bc-nav-cta { display: flex !important; border: 0 !important; margin-top: 18px; }
.bc-header .is-menu-open .bc-nav-cta .wp-block-navigation-item__content { background: #C9A24B; color: #0F1B2D !important; border-radius: 8px; padding: 14px 22px !important; font-family: var(--wp--preset--font-family--body); font-size: 1.05rem; }

/* Live guide prices box (1.0.9) */
.bc-prices { background: #fff; border: 1px solid var(--bc-stone); border-top: 6px solid #C8102E; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.bc-prices > * { margin: 0 !important; }
.bc-prices-eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--bc-old-gold); display: flex; align-items: center; gap: 8px; }
.bc-prices-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2F6B4F; box-shadow: 0 0 0 3px rgba(47, 107, 79, .18); }
.bc-prices-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; color: var(--bc-navy); line-height: 1.2; }
.bc-prices-spot { font-size: .92rem; color: var(--bc-slate); }
.bc-prices-spot strong { color: var(--bc-navy); }
.bc-prices-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.bc-prices-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bc-stone); }
.bc-prices-list li:last-child { border-bottom: 1px solid var(--bc-stone); }
.bc-prices-list a { color: var(--bc-ink); text-decoration: none; font-size: 1rem; }
.bc-prices-list a:hover { color: var(--bc-old-gold); text-decoration: underline; }
.bc-prices-list span { font-weight: 700; font-size: 1.1rem; color: var(--bc-navy); font-variant-numeric: tabular-nums; }
.bc-prices-note { font-size: .82rem; color: var(--bc-slate); line-height: 1.5; }
@media (max-width: 1099px) { .bc-prices { position: static; } }

/* Sell hub: two cards per row beside the price box. */
.wp-block-column:has(+ .wp-block-column .bc-prices) .bc-fit.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)) !important; }
.bc-prices { scroll-margin-top: 24px; }
/* One-line guide price on coin pages. */

/* Price box: Gold / Silver tabs (no JavaScript). */
.bc-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.bc-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bc-cream, #F6F2EA); border: 1px solid var(--bc-stone); border-radius: 10px; padding: 4px; gap: 4px; }
.bc-tabs label { text-align: center; padding: 8px 10px; border-radius: 7px; font-weight: 600; cursor: pointer; color: var(--bc-slate); }
#bc-tab-gold:checked ~ .bc-tabs label[for="bc-tab-gold"], #bc-tab-silver:checked ~ .bc-tabs label[for="bc-tab-silver"] { background: var(--bc-navy); color: #fff; }
#bc-tab-gold:focus-visible ~ .bc-tabs label[for="bc-tab-gold"], #bc-tab-silver:focus-visible ~ .bc-tabs label[for="bc-tab-silver"] { outline: 2px solid var(--bc-gold); outline-offset: 2px; }
.bc-prices.has-tabs .bc-prices-panel { display: none; }
#bc-tab-gold:checked ~ .bc-panel-gold, #bc-tab-silver:checked ~ .bc-panel-silver { display: flex; }
.bc-prices-panel { display: flex; flex-direction: column; gap: 12px; }
.bc-prices-panel > * { margin: 0 !important; }
.bc-prices-label { color: var(--bc-ink); font-size: 1rem; }
.bc-prices-old { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.bc-prices-old caption { text-align: left; font-weight: 600; color: var(--bc-navy); padding-bottom: 6px; }
.bc-prices-old caption a { color: var(--bc-navy); }
.bc-prices-old th, .bc-prices-old td { padding: 8px 0; border-top: 1px solid var(--bc-stone); text-align: right; }
.bc-prices-old th:first-child { text-align: left; font-weight: 400; }
.bc-prices-old thead th { font-size: .78rem; color: var(--bc-slate); font-weight: 600; }
.bc-prices-old td { font-weight: 700; color: var(--bc-navy); }
.bc-prices.has-tabs { position: static; }
.bc-prices-list li > .bc-prices-label { font-weight: 400; font-size: 1rem; color: var(--bc-ink); font-variant-numeric: normal; }

/* Hero price card on coin pages. */
.bc-hero > .bc-pricecard, .bc-pricecard { margin-top: 1.75rem !important; max-width: 520px !important; background: rgba(255, 255, 255, .04); border: 1px solid rgba(233, 221, 191, .22); border-radius: 14px; overflow: hidden; }
.bc-pricecard-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(233, 221, 191, .14); }
.bc-pricecard-live { display: inline-flex; align-items: center; gap: 9px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-pale-gold); }
.bc-pricecard-head a { font-size: .9rem; color: #fff; text-decoration: none; white-space: nowrap; }
.bc-pricecard-head a:hover { color: var(--bc-gold); text-decoration: underline; }
.bc-price-dot { width: 8px; height: 8px; border-radius: 50%; background: #3FA36B; box-shadow: 0 0 0 3px rgba(63, 163, 107, .25); flex: 0 0 8px; }
.bc-pricecard-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.bc-pricecard-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.bc-pricecard-tile + .bc-pricecard-tile { border-left: 1px solid rgba(233, 221, 191, .14); }
.bc-pricecard-price { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.7rem, 3.2vw, 2.1rem); font-weight: 700; line-height: 1.05; color: var(--bc-gold); font-variant-numeric: tabular-nums; }
.bc-pricecard-label { font-size: .95rem; color: #fff; }
.bc-pricecard-meta { margin: 0 !important; padding: 10px 18px 12px; font-size: .8rem; line-height: 1.5; color: var(--bc-pale-gold); background: rgba(0, 0, 0, .18); }
@media (max-width: 420px) { .bc-pricecard-tile + .bc-pricecard-tile { border-left: 0; border-top: 1px solid rgba(233, 221, 191, .14); } }

/* Header logo: UK flag + British Coins + USA badge. */
.bc-logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; white-space: nowrap; line-height: 1; }
.bc-logo:hover .bc-logo-name { color: var(--bc-pale-gold); }
.bc-logo-flag { display: block; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.bc-logo-name { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; color: #fff; transition: color .15s; }
.bc-logo-usa { font-family: var(--wp--preset--font-family--body, inherit); font-weight: 700; font-size: .72rem; letter-spacing: .12em; color: var(--bc-navy); background: var(--bc-gold); padding: 4px 6px 3px 7px; border-radius: 4px; }
@media (max-width: 781px) { .bc-logo { gap: 9px; } .bc-logo-name { font-size: 1.2rem; } .bc-logo-flag { width: 22px; height: 11px; } .bc-logo-usa { font-size: .66rem; padding: 3px 5px 3px 6px; } }

/* Coin photos on the "What we buy" cards. */
.bc-coin-ico::before { content: ""; display: block; flex: 0 0 76px; width: 76px; height: 76px; border: 0; border-radius: 0; box-shadow: none; transform: none; background: transparent center / contain no-repeat; filter: drop-shadow(0 3px 5px rgba(15, 27, 45, .22)); }
.bc-coin-ico::before { background-image: url("assets/coins/coin-sovereign.webp"); }
.bc-coin-ico.is-small::before { background-image: url("assets/coins/coin-half-sovereign.webp"); }
.bc-coin-ico.is-mixed::before { background-image: url("assets/coins/coin-britannia.webp"); }
.bc-coin-ico.is-set::before { background-image: url("assets/coins/coin-proof-set.webp"); }
.bc-coin-ico.is-silver::before { background-image: url("assets/coins/coin-silver.webp"); }
.bc-coin-ico.is-graded::before { background-image: url("assets/coins/coin-graded.webp"); width: 76px; flex-basis: 76px; border: 0; border-radius: 0; }
.bc-coin-ico.is-box::before { background-image: url("assets/coins/coin-inherited.webp"); border-radius: 0; }

/* Footer credit badge. */
.bc-footer .bc-credit { flex-basis: 100%; display: flex; justify-content: center; }
.bc-footer .bc-credit a, .bc-footer .bc-credit a:hover { color: #0F241C !important; text-decoration: none !important; }
