/*
Theme Name: ProBlogVault
Theme URI: https://problogvault.com
Author: ProblogVault
Author URI: https://problogvault.com
Description: Clean editorial blog theme — white bg, Montserrat font, orange hero, wider containers, About Me section, full footer legal links.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yourblog
Tags: blog, custom-header, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
*/

:root {
  --ink:        #000000;
  --paper:      #ffffff;
  --surface:    #f8fafc;
  --accent:     #f97316;
  --accent-dk:  #ea6d0e;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --card:       #ffffff;
  --radius:     10px;
  --container:  1400px;
  --gap:        64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 56px; height: 68px; border-bottom: 3px solid var(--accent); }
.site-logo { font-family: 'Montserrat', sans-serif; font-size: 1.45rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; text-decoration: none; white-space: nowrap; }
.site-logo span { color: var(--accent); }
.main-navigation { display: flex; align-items: center; }
.main-navigation ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.main-navigation ul li a { color: #cbd5e1; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; padding: 8px 16px; transition: color .2s; display: block; }
.main-navigation ul li a:hover, .main-navigation ul li.current-menu-item a { color: var(--accent); }
.mobile-search-wrap { display: none; }
.nav-search-toggle { background: transparent; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; color: #94a3b8; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, color .2s; flex-shrink: 0; margin-left: 16px; }
.nav-search-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-search-dropdown { display: none; position: absolute; top: 71px; right: 56px; background: #1e293b; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px; z-index: 200; min-width: 340px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.nav-search-dropdown.open { display: block; }
.nav-search-form { display: flex; }
.nav-search-input { flex: 1; padding: 11px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-right: none; border-radius: 7px 0 0 7px; color: #fff; font-size: 13px; font-family: 'Montserrat', sans-serif; outline: none; }
.nav-search-input:focus { border-color: var(--accent); }
.nav-search-input::placeholder { color: #475569; }
.nav-search-btn { padding: 0 16px; background: var(--accent); border: none; border-radius: 0 7px 7px 0; color: #fff; cursor: pointer; display: flex; align-items: center; transition: background .2s; }
.nav-search-btn:hover { background: var(--accent-dk); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; justify-content: center; align-items: center; width: 40px; height: 40px; background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* BUTTONS */
.btn { display: inline-block; padding: 13px 28px; background: var(--accent); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.4px; border: 2px solid var(--accent); border-radius: 7px; cursor: pointer; text-decoration: none; transition: background .2s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.3); color: #fff; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); box-shadow: none; }
.btn-white { background: #fff; color: var(--accent); border: 2px solid #fff; }
.btn-white:hover { background: #f1f5f9; border-color: #f1f5f9; color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #1e293b; border-color: #1e293b; }

/* HERO — orange bg, white text */
.hero { background: var(--accent); color: #fff; padding: 140px 56px 120px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; min-height: 640px; }
.hero::before { content: ''; position: absolute; top: -200px; right: -100px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: 30%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,0,0,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 28px; }
.hero h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 1.1; font-weight: 800; margin-bottom: 8px; color: #fff; letter-spacing: -1.5px; }
.hero h1 em { color: rgba(255,255,255,0.75); font-style: italic; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.8; margin-bottom: 40px; max-width: 520px; font-weight: 400; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 88px var(--gap); background: var(--paper); }
.section-alt { background: var(--surface); }
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 48px; line-height: 1.2; letter-spacing: -0.5px; }

/* CATEGORIES */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.cat-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 18px; text-align: center; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; cursor: pointer; display: block; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(249,115,22,0.1); color: var(--ink); }
.cat-icon { font-size: 2rem; margin-bottom: 12px; }
.cat-name { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.2px; }

/* POSTS */
.posts-section { background: var(--surface); }
.posts-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: 0 20px 56px rgba(0,0,0,0.08); transform: translateY(-4px); }
.post-thumb { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.post-thumb-placeholder { width: 100%; aspect-ratio: 16/8; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--surface); }
.post-body { padding: 28px; }
.post-tag { display: inline-block; padding: 3px 10px; background: #fff7ed; color: var(--accent); font-size: 0.65rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 4px; margin-bottom: 12px; border: 1px solid #fed7aa; }
.post-tag a { color: var(--accent); }
.post-title { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1.3; margin-bottom: 10px; color: var(--ink); letter-spacing: -0.3px; }
.post-title a { color: inherit; transition: color .2s; }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 0.87rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; font-weight: 400; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.post-meta .author { font-weight: 700; color: var(--ink); }
.post-meta .dot { opacity: .35; }

/* Archive */
.archive-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; padding: 56px 0; }
.archive-header { text-align: center; padding: 80px var(--gap) 40px; border-bottom: 1.5px solid var(--border); }
.archive-header h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.archive-header p { color: var(--muted); font-size: 1rem; }
.sidebar-posts { display: flex; flex-direction: column; gap: 14px; }
.mini-post { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; align-items: flex-start; transition: box-shadow .2s, border-color .2s; }
.mini-post:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); border-color: var(--accent); }
.mini-thumb { width: 76px; height: 76px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-title { font-weight: 700; font-size: 0.85rem; line-height: 1.4; margin-bottom: 6px; }
.mini-title a { color: var(--ink); transition: color .2s; }
.mini-title a:hover { color: var(--accent); }
.mini-meta { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.pagination { padding: 40px var(--gap); text-align: center; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 7px; font-size: 0.85rem; font-weight: 600; border: 1.5px solid var(--border); color: var(--muted); transition: all .2s; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ABOUT ME — black bg, text left, round image right */
.pbv-about-section { background: #000; padding: 88px var(--gap); }
.pbv-about-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center; }
.pbv-about-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block; }
.pbv-about-heading { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 20px; }
.pbv-about-heading em { color: var(--accent); font-style: italic; }
.pbv-about-body { font-size: 0.97rem; line-height: 1.85; color: #94a3b8; font-weight: 400; margin-bottom: 32px; max-width: 560px; }
.pbv-about-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: var(--accent); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 700; border: 2px solid var(--accent); border-radius: 7px; text-decoration: none; transition: background .2s, transform .15s; letter-spacing: 0.3px; }
.pbv-about-btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); color: #fff; }
.pbv-about-image-wrap { display: flex; align-items: center; justify-content: center; position: relative; }
.pbv-about-image-wrap::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.pbv-about-img { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent); position: relative; z-index: 1; display: block; }
.pbv-about-img-placeholder { width: 300px; height: 300px; border-radius: 50%; background: #1e293b; border: 4px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; z-index: 1; color: #fff; }

/* START HERE */
.pbv-start-section { background: var(--ink); padding: 80px var(--gap); border-top: 3px solid var(--accent); }
.pbv-start-header { text-align: center; margin-bottom: 48px; }
.pbv-start-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pbv-start-h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.5px; }
.pbv-start-h2 em { color: var(--accent); font-style: italic; }
.pbv-start-sub { font-size: 0.9rem; color: #64748b; max-width: 480px; margin: 0 auto; line-height: 1.7; }
.pbv-start-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; max-width: 1100px; margin: 0 auto; }
.pbv-start-block { border-radius: 12px; padding: 24px; border: 1.5px solid #1e293b; background: #111827; display: flex; flex-direction: column; gap: 10px; text-decoration: none; position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.pbv-start-block:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.pbv-start-featured { border-color: var(--accent) !important; background: #1a1208; }
.pbv-start-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 100px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; width: fit-content; }
.pbv-badge-orange { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.pbv-badge-green  { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.pbv-badge-blue   { background: rgba(14,165,233,0.12); color: #38bdf8; border: 1px solid rgba(14,165,233,0.25); }
.pbv-start-row1 { display: flex; align-items: center; gap: 10px; }
.pbv-start-icon { font-size: 1.4rem; }
.pbv-start-title { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 800; color: #f1f5f9; line-height: 1.25; letter-spacing: -0.2px; }
.pbv-start-desc { font-size: 0.8rem; color: #475569; line-height: 1.65; }
.pbv-start-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 9px 18px; border-radius: 7px; font-size: 0.78rem; font-weight: 700; font-family: 'Montserrat', sans-serif; cursor: pointer; text-decoration: none; transition: all .15s; border: none; width: fit-content; }
.pbv-btn-orange { background: var(--accent); color: #fff; }
.pbv-btn-orange:hover { background: var(--accent-dk); color: #fff; transform: translateY(-1px); }
.pbv-btn-ghost-green { background: transparent; color: #64748b; border: 1.5px solid #1e293b; }
.pbv-btn-ghost-green:hover { border-color: #34d399; color: #34d399; }
.pbv-btn-ghost-blue { background: transparent; color: #64748b; border: 1.5px solid #1e293b; }
.pbv-btn-ghost-blue:hover { border-color: #38bdf8; color: #38bdf8; }

/* NEWSLETTER */
.newsletter-bar { background: var(--surface); border-top: 1.5px solid var(--border); border-bottom: 1.5px solid var(--border); padding: 56px var(--gap); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-bar h3 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
.newsletter-bar p { color: var(--muted); font-size: 0.9rem; }
.newsletter-form { display: flex; flex-shrink: 0; }
.newsletter-form input[type="email"] { padding: 13px 18px; border: 1.5px solid var(--border); border-right: none; border-radius: 7px 0 0 7px; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; outline: none; width: 260px; background: #fff; transition: border-color .2s; }
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form button { border-radius: 0 7px 7px 0; padding: 13px 24px; white-space: nowrap; }

/* FOOTER */
.site-footer { background: var(--ink); color: #94a3b8; padding: 72px var(--gap) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .site-logo { margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #64748b; font-size: 0.85rem; font-weight: 500; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 28px; font-size: 0.8rem; color: #334155; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #334155; font-size: 0.78rem; font-weight: 500; transition: color .2s; }
.footer-legal a:hover { color: var(--accent); }

/* SOCIAL FOLLOW */
.pbv-follow-section { padding: 48px var(--gap); background: var(--paper); }
.pbv-follow-us { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 28px 28px 22px; }
.pbv-follow-heading { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink); margin: 0 0 18px 0; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.pbv-social-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pbv-social-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 16px 8px 14px; border-radius: 10px; text-decoration: none; font-size: 0.68rem; font-weight: 700; color: #64748b; background: #fff; border: 1.5px solid var(--border); transition: all .2s; text-align: center; }
.pbv-social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(249,115,22,0.3); }
.pbv-social-link svg { transition: transform .2s; }
.pbv-social-link:hover svg { transform: scale(1.1); }

/* SINGLE POST — light grey bg, orange header */
.single-page-bg { background: var(--surface); min-height: 100vh; }
.single-post-header { background: var(--accent); padding: 56px var(--gap) 48px; color: #fff; }
.single-post-header-inner { max-width: var(--container); margin: 0 auto; }
.single-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.75); font-weight: 500; margin-bottom: 20px; flex-wrap: wrap; }
.single-breadcrumb a { color: rgba(255,255,255,0.75); transition: color .2s; }
.single-breadcrumb a:hover { color: #fff; }
.bc-sep { opacity: .5; }
.bc-current { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.single-cat-tag { display: inline-block; padding: 3px 12px; background: rgba(255,255,255,0.2); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 4px; border: 1px solid rgba(255,255,255,0.3); margin-bottom: 16px; }
.single-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px; color: #fff; }
.single-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.8); font-weight: 500; flex-wrap: wrap; }
.meta-dot { opacity: .5; }
.single-layout-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 32px; max-width: var(--container); margin: 0 auto; padding: 40px var(--gap) 60px; align-items: start; }
.single-main { background: var(--card); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 48px; min-width: 0; }
.single-divider { border: none; border-top: 1.5px solid var(--border); margin: 28px 0; }
.single-featured-img { margin-bottom: 32px; }
.single-featured-img img { border-radius: var(--radius); width: 100%; }
.single-post-body { font-size: 1rem; line-height: 1.85; color: #334155; font-weight: 400; }
.single-post-body p { margin-bottom: 22px; }
.single-post-body h2, .single-post-body h3, .single-post-body h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ink); margin: 40px 0 14px; line-height: 1.25; letter-spacing: -0.3px; }
.single-post-body h2 { font-size: 1.55rem; }
.single-post-body h3 { font-size: 1.25rem; }
.single-post-body h4 { font-size: 1.05rem; }
.single-post-body ul, .single-post-body ol { padding-left: 24px; margin-bottom: 22px; }
.single-post-body li { margin-bottom: 8px; }
.single-post-body a { color: var(--accent); font-weight: 500; }
.single-post-body img { border-radius: var(--radius); margin: 28px 0; max-width: 100%; }
.single-post-body blockquote { border-left: 4px solid var(--accent); padding: 18px 26px; margin: 28px 0; background: #fff7ed; border-radius: 0 8px 8px 0; font-style: italic; color: var(--muted); }
.single-tags { margin-top: 40px; padding-top: 24px; border-top: 1.5px solid var(--border); }
.tags-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-right: 6px; }
.single-post-nav { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1.5px solid var(--border); gap: 24px; flex-wrap: wrap; }
.post-nav-link { color: var(--ink); font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 700; flex: 1; min-width: 0; transition: color .2s; line-height: 1.4; }
.post-nav-link:hover { color: var(--accent); }
.next-link { text-align: right; }

/* SIDEBAR — sticky, light grey boxes */
.single-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-box { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px; }
.sidebar-box-title { font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 800; color: var(--ink); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }
.rec-post-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.rec-post-item:last-child { border-bottom: none; }
.rec-post-item:hover .rec-post-title { color: var(--accent); }
.rec-thumb-wrap { flex-shrink: 0; width: 68px; height: 68px; border-radius: 7px; overflow: hidden; background: var(--surface); }
.rec-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--surface); }
.rec-post-content { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.rec-post-cat { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.rec-post-title { font-size: 0.82rem; font-weight: 700; color: var(--ink); line-height: 1.4; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec-post-meta { font-size: 0.68rem; color: var(--muted); }
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li { border-bottom: 1px solid var(--border); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.85rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.sidebar-cat-list li a:hover { color: var(--accent); }
.sidebar-cat-list li a span { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.sb-nl-box { background: var(--ink); border-radius: 12px; padding: 22px 18px 18px; text-align: center; position: relative; overflow: hidden; }
.sb-nl-box::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: rgba(249,115,22,0.12); border-radius: 50%; }
.sb-nl-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.sb-nl-title { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 800; color: #f8fafc; margin: 0 0 8px 0; line-height: 1.3; position: relative; z-index: 1; }
.sb-nl-sub { font-size: 0.78rem; color: #94a3b8; margin: 0 0 16px 0; line-height: 1.5; position: relative; z-index: 1; }
.sb-nl-form { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.sb-nl-input { width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.07); color: #f8fafc; font-size: 0.82rem; font-family: 'Montserrat', sans-serif; outline: none; transition: border-color .2s; }
.sb-nl-input::placeholder { color: #64748b; }
.sb-nl-input:focus { border-color: var(--accent); }
.sb-nl-btn { width: 100%; padding: 11px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-size: 0.85rem; font-weight: 700; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: background .2s; }
.sb-nl-btn:hover { background: var(--accent-dk); }
.sb-nl-note { font-size: 0.68rem; color: #475569; margin: 8px 0 0 0; position: relative; z-index: 1; }
.aff-banner-block { position: relative; background: #fff7ed; border: 2px solid #fed7aa; border-radius: 12px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.aff-banner-badge { position: absolute; top: -10px; left: 14px; background: var(--accent); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }
.aff-banner-img-link { flex-shrink: 0; }
.aff-banner-inline-img { width: 80px; height: auto; border-radius: 6px; object-fit: contain; }
.aff-banner-body { flex: 1; }
.aff-banner-label { display: block; font-weight: 800; font-size: 0.88rem; margin-bottom: 4px; }
.aff-banner-desc { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; display: block; }
.sidebar-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sidebar-social-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 6px; border-radius: 8px; text-decoration: none; font-size: 0.6rem; font-weight: 700; color: #64748b; background: var(--surface); border: 1.5px solid var(--border); transition: all .2s; text-align: center; }
.sidebar-social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.sidebar-social-link svg { width: 16px; height: 16px; }
#comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.single-comments-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap) 60px; }
.single-post-content { max-width: 860px; margin: 0 auto; padding: 48px var(--gap); }
.comments-area { max-width: 860px; margin: 0 auto; padding: 0 var(--gap) 60px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
  :root { --gap: 40px; }
  .single-layout-wrap { grid-template-columns: 1fr 300px; }
  .pbv-about-inner { grid-template-columns: 1fr 300px; gap: 56px; }
  .pbv-about-img, .pbv-about-img-placeholder { width: 260px; height: 260px; }
}
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: 1fr; }
  .sidebar-posts { grid-template-columns: repeat(2, 1fr); display: grid; }
  .single-layout-wrap { grid-template-columns: 1fr; padding: 24px 24px 48px; }
  .single-sidebar { position: static; }
  .pbv-start-grid { grid-template-columns: 1fr; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pbv-about-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .pbv-about-image-wrap { justify-content: center; }
  .pbv-about-body { max-width: 100%; }
}
@media (max-width: 768px) {
  :root { --gap: 20px; }
  .site-header { padding: 0 20px; }
  .main-navigation { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; border-bottom: 2px solid var(--accent); padding: 16px 0; }
  .main-navigation.is-open { display: flex; }
  .main-navigation ul { flex-direction: column; }
  .main-navigation ul li a { padding: 12px 24px; font-size: 0.82rem; }
  .mobile-search-wrap { display: block; padding: 12px 24px; }
  .mobile-search-input { width: 100%; padding: 10px 14px; border-radius: 7px 0 0 7px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-family: 'Montserrat', sans-serif; }
  .mobile-search-btn { padding: 10px 16px; background: var(--accent); border: none; border-radius: 0 7px 7px 0; color: #fff; font-weight: 600; cursor: pointer; }
  .nav-search-toggle { display: none; }
  .menu-toggle { display: flex; }
  .nav-search-dropdown { right: 0; left: 0; top: 68px; border-radius: 0; }
  .hero { padding: 80px 24px 60px; min-height: auto; }
  .section { padding: 56px 20px; }
  .archive-header { padding: 56px 20px 32px; }
  .newsletter-bar { padding: 40px 20px; flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input[type="email"] { border-right: 1.5px solid var(--border); border-radius: 7px 7px 0 0; width: 100%; border-bottom: none; }
  .newsletter-form button { border-radius: 0 0 7px 7px; }
  .site-footer { padding: 48px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 14px; padding: 20px 0 24px; }
  .footer-legal { justify-content: center; }
  .pbv-follow-section { padding: 32px 20px; }
  .pbv-social-icons { grid-template-columns: repeat(3, 1fr); }
  .single-main { padding: 24px 20px; }
  .single-post-header { padding: 40px 20px 36px; }
  .single-comments-wrap { padding: 0 20px 40px; }
  .pagination { padding: 32px 20px; }
  .pbv-start-section { padding: 56px 20px; }
  .pbv-about-section { padding: 64px 20px; }
  .pbv-about-img, .pbv-about-img-placeholder { width: 220px; height: 220px; }
  .archive-grid { padding: 32px 0; grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .posts-grid, .sidebar-posts { grid-template-columns: 1fr; display: flex; flex-direction: column; }
}

/* ============================================================
   GLOBAL PAGE CONSISTENCY — Match single-post style on ALL pages
   Added to ensure every page type (archive, category, tag,
   search, static pages, 404) shares the same look as single posts.
   ============================================================ */

/* 1. Global page background — light grey like single post pages */
body {
  background: var(--surface) !important;
}

/* 2. Generic page/archive orange hero header — mirrors .single-post-header */
.page-header,
.archive-page-header,
.search-header,
.error-404-header {
  background: var(--accent);
  padding: 56px var(--gap) 48px;
  color: #fff;
}
.page-header-inner,
.archive-page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.page-header h1,
.archive-page-header h1,
.search-header h1,
.error-404-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #fff;
}
.page-header p,
.archive-page-header p,
.search-header p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.7;
}

/* 3. White content card — matches .single-main, used on pages & archives */
.page-content-card,
.entry-content-wrap,
.static-page-main {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 48px;
  min-width: 0;
}

/* 4. Two-column layout wrapper for pages with sidebar — mirrors .single-layout-wrap */
.page-layout-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gap) 60px;
  align-items: start;
}

/* 5. WordPress default content classes — apply card/bg styling globally */
.site-main,
#primary {
  min-height: 60vh;
}

/* Static Pages (page.php) */
body.page .entry-content,
body.page .entry-header + .entry-content {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 48px;
}
body.page .entry-header {
  background: var(--accent);
  padding: 56px var(--gap) 48px;
  color: #fff;
}
body.page .entry-header h1.entry-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 0;
}
body.page .entry-title { color: #fff; }

/* 6. Archive / Blog / Category / Tag / Author / Search header — orange like single post */
body.blog .archive-header,
body.archive .archive-header,
body.category .archive-header,
body.tag .archive-header,
body.author .archive-header,
body.date .archive-header,
body.search-results .archive-header,
body.search .archive-header {
  background: var(--accent);
  border-bottom: none;
  padding: 56px var(--gap) 48px;
}
body.blog .archive-header h1,
body.archive .archive-header h1,
body.category .archive-header h1,
body.tag .archive-header h1,
body.author .archive-header h1,
body.search-results .archive-header h1,
body.search .archive-header h1 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
body.blog .archive-header p,
body.archive .archive-header p,
body.category .archive-header p,
body.tag .archive-header p,
body.author .archive-header p,
body.search-results .archive-header p,
body.search .archive-header p {
  color: rgba(255,255,255,0.82);
}

/* 7. Search results — archive-grid needs proper wrap (handled in search.php) */

/* 8. Archive post cards — match the single-post card style */
.archive-grid .post-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.archive-grid .post-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* 9. 404 Error page — orange header, card body */
body.error404 .error-404 {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 64px 48px;
  text-align: center;
  max-width: 680px;
  margin: 48px auto;
}
body.error404 .error-404 .page-header {
  background: none;
  padding: 0 0 24px 0;
}
body.error404 .error-404 .page-header h1 {
  color: var(--ink);
  font-size: 4rem;
  font-weight: 800;
}

/* 10. Breadcrumb — consistent with single post breadcrumb style on all pages */
.breadcrumb,
.breadcrumbs,
.yoast-breadcrumb,
nav.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a,
.breadcrumbs a,
.yoast-breadcrumb a {
  color: var(--muted);
  transition: color .2s;
}
.breadcrumb a:hover,
.breadcrumbs a:hover,
.yoast-breadcrumb a:hover { color: var(--accent); }

/* On orange-bg headers, override breadcrumb to white */
.single-post-header .breadcrumb,
.page-header .breadcrumb,
body.archive .archive-header .breadcrumb,
body.category .archive-header .breadcrumb {
  color: rgba(255,255,255,0.75);
}
.single-post-header .breadcrumb a,
.page-header .breadcrumb a,
body.archive .archive-header .breadcrumb a {
  color: rgba(255,255,255,0.75);
}
.single-post-header .breadcrumb a:hover,
.page-header .breadcrumb a:hover {
  color: #fff;
}

/* 11. Post entry content typography — consistent across page types */
body.page .entry-content p,
body.single .entry-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 22px;
}
body.page .entry-content h2,
body.single .entry-content h2 { font-size: 1.55rem; }
body.page .entry-content h3,
body.single .entry-content h3 { font-size: 1.25rem; }
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 14px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
body.page .entry-content a,
body.single .entry-content a { color: var(--accent); font-weight: 500; }
body.page .entry-content blockquote,
body.single .entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 18px 26px;
  margin: 28px 0;
  background: #fff7ed;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--muted);
}
body.page .entry-content ul,
body.page .entry-content ol { padding-left: 24px; margin-bottom: 22px; }
body.page .entry-content li { margin-bottom: 8px; }

/* ============================================================
   RESPONSIVE — Global page consistency
   ============================================================ */
@media (max-width: 1024px) {
  .page-layout-wrap { grid-template-columns: 1fr; padding: 24px 24px 48px; }
}
@media (max-width: 768px) {
  .page-content-card,
  .entry-content-wrap,
  .static-page-main { padding: 24px 20px; }
  body.page .entry-content { padding: 24px 20px; }
  body.page .entry-header { padding: 40px 20px 36px; }
  .page-layout-wrap { padding: 20px 20px 40px; }
}

/* ============================================================
   AUTHOR BIO BOX — single.php, after post content
   ============================================================ */
.author-bio-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--ink);
  border-radius: 12px;
  padding: 28px;
  margin-top: 40px;
}
.author-bio-avatar {
  flex-shrink: 0;
}
.author-bio-img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 3px solid var(--accent) !important;
  display: block !important;
  object-fit: cover !important;
}
.author-bio-content {
  flex: 1;
  min-width: 0;
}
.author-bio-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px 0;
}
.author-bio-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.author-bio-description {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 14px 0;
}
.author-bio-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: 0.2px;
}
.author-bio-link:hover {
  color: var(--accent-dk);
}

/* Mobile: stack avatar + content vertically */
@media (max-width: 600px) {
  .author-bio-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .author-bio-label,
  .author-bio-description {
    text-align: center;
  }
  .author-bio-link {
    justify-content: center;
  }
}

/* ============================================================
   PAGE.PHP — Full-width, no sidebar, wider container
   ============================================================ */
.page-full-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px var(--gap) 60px;
}
.page-full-main {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 48px;
  min-width: 0;
}
.page-comments-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gap) 60px;
}

/* Wider on large screens where 900px feels narrow */
@media (min-width: 1200px) {
  .page-full-wrap,
  .page-comments-wrap {
    max-width: 1100px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .page-full-wrap,
  .page-comments-wrap {
    padding: 24px 24px 48px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-full-wrap,
  .page-comments-wrap {
    padding: 20px 16px 40px;
  }
  .page-full-main {
    padding: 24px 18px;
  }
}
