/*
Theme Name: buyoff.market
Theme URI: https://buyoff.market/
Author: Tomer / PrimeCall
Description: Serves the Claude Design export for buyoff.market natively. Each page is a .dc.html file under assets/site, rendered by template-design.php; pages are wired with the Design Page Setup plugin (pc_design_file meta). The Claude Design project stays the single source of truth - re-export and redeploy assets/site to update the site.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: buyoff
*/

/* Fallback styling for non-design pages (404, search, stray posts). Design pages
   never load this file - they print their own complete document. */
:root {
	--bo-bg: #FBFAF7;
	--bo-bg-alt: #F4F0E9;
	--bo-ink: #161616;
	--bo-muted: #5b5750;
	--bo-gold: #B28A5A;
	--bo-line: #E6E0D6;
}
html, body { margin: 0; padding: 0; background: var(--bo-bg); color: var(--bo-ink); }
body { font-family: 'DM Sans', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--bo-ink); text-decoration: none; }
a:hover { color: var(--bo-gold); }
.bo-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.bo-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.bo-header img { width: 200px; height: auto; display: block; }
.bo-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 11px; letter-spacing: .24em; font-weight: 500; text-transform: uppercase; }
.bo-main { padding: 48px 0 80px; min-height: 50vh; }
.bo-main h1, .bo-main h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; line-height: 1.05; }
.bo-main h1 { font-size: 56px; margin: 0 0 20px; }
.bo-main p { font-size: 16px; line-height: 1.6; color: #3a3732; }
.bo-btn { display: inline-block; background: #A8916E; color: #fff; font-size: 11px; letter-spacing: .24em; font-weight: 500; padding: 14px 36px; margin-top: 10px; }
.bo-btn:hover { background: var(--bo-ink); color: #fff; }
.bo-footer { border-top: 1px solid var(--bo-line); padding: 28px 0; font-size: 10px; color: var(--bo-muted); display: flex; justify-content: space-between; align-items: center; }
.bo-nav a.is-active { color: var(--bo-gold); }

/* Insights (blog) */
.bo-eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--bo-gold); font-weight: 500; margin-bottom: 14px; }
.bo-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 56px; line-height: 1.02; margin: 0 0 18px; max-width: 760px; }
.bo-lead { font-size: 16px; line-height: 1.6; color: #3a3732; max-width: 560px; margin: 0 0 48px; }
.bo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bo-grid > * { min-width: 0; }
.bo-card { background: #fff; border: 1px solid var(--bo-line); display: flex; flex-direction: column; min-width: 0; }
.bo-main img { max-width: 100%; height: auto; }
.bo-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.bo-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bo-card:hover .bo-card-media img { transform: scale(1.03); }
.bo-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bo-meta { font-size: 10px; letter-spacing: .24em; color: var(--bo-muted); font-weight: 500; text-transform: uppercase; }
.bo-meta span { color: var(--bo-gold); margin: 0 6px; }
.bo-card-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0; }
.bo-card-body p { margin: 0; font-size: 14px; line-height: 1.6; color: #3a3732; flex: 1; }
.bo-more { font-size: 10px; letter-spacing: .24em; color: var(--bo-gold); font-weight: 500; border-bottom: 1px solid var(--bo-gold); align-self: flex-start; padding-bottom: 4px; }
.bo-empty { background: var(--bo-bg-alt); padding: 48px 40px; max-width: 640px; }
.bo-empty p { margin: 0 0 8px; }
.bo-pagination { margin-top: 48px; font-size: 11px; letter-spacing: .24em; font-weight: 500; }
.bo-pagination .nav-links { display: flex; gap: 22px; align-items: center; }
.bo-pagination .current { color: var(--bo-gold); }
.bo-article { max-width: 760px; }
.bo-article .bo-title { font-size: 52px; }
.bo-article .bo-meta { margin-bottom: 32px; }
.bo-article-media { margin: 0 0 36px; }
.bo-article-media img { width: 100%; height: auto; display: block; }
.bo-content { font-size: 17px; line-height: 1.7; color: #2a2823; }
.bo-content h2, .bo-content h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; line-height: 1.1; margin: 40px 0 14px; }
.bo-content h2 { font-size: 36px; } .bo-content h3 { font-size: 28px; }
.bo-content p { margin: 0 0 20px; }
.bo-content a { color: var(--bo-gold); border-bottom: 1px solid var(--bo-gold); }
.bo-content img { max-width: 100%; height: auto; }
.bo-content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--bo-gold); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.3; }
.bo-article-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--bo-line); }
@media (max-width: 960px) { .bo-grid { grid-template-columns: repeat(2, 1fr); } }
.bo-nav a { white-space: nowrap; }
@media (max-width: 720px) {
	.bo-nav { width: 100%; gap: 10px 18px; }
	.bo-grid { grid-template-columns: 1fr; }
	.bo-title, .bo-article .bo-title { font-size: 40px; }
	.bo-article-foot { flex-direction: column; align-items: flex-start; }
	.bo-header { flex-direction: column; gap: 16px; align-items: flex-start; }
	.bo-main h1 { font-size: 40px; }
	.bo-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}
