/* Blog + generic page styles. Uses the tokens from site-base.css (same as the original home page). */
.site-main { min-height: 60vh; }
.container.narrow { max-width: 800px; }

/* Hero band (dark, like the site hero) */
.page-hero {
  background: var(--black);
  padding: 170px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,114,.4), transparent);
}
.page-hero .eyebrow { display: inline-block; margin-bottom: 20px; text-decoration: none; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.post-hero h1 { max-width: none; font-size: clamp(30px, 4.2vw, 52px); }
.page-hero-sub { color: rgba(255,255,255,.5); font-weight: 300; font-size: 16px; line-height: 1.75; max-width: 560px; margin-top: 22px; }
.post-meta { margin-top: 26px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.45); display: flex; flex-wrap: wrap; gap: 10px; }
.post-meta .dot { color: var(--gold); }

/* Listing */
.blog-listing { padding: 90px 0 140px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.cat-pills a {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  color: var(--dark-mid); border: 1px solid var(--gray-light); padding: 10px 18px; background: var(--white);
  transition: border-color .3s, color .3s, background .3s;
}
.cat-pills a:hover { border-color: var(--gold); color: var(--gold-dim); }
.cat-pills a.on { background: var(--dark); border-color: var(--dark); color: var(--gold); }
.bc { display: flex; flex-direction: column; }
.bc-img { display: block; overflow: hidden; }
.bc-ph { display: block; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--dark), var(--dark-light)); }
.bc h3 a { color: inherit; text-decoration: none; }
.bc-body { display: flex; flex-direction: column; flex: 1; }
.bc-body .bc-link { margin-top: auto; }
.no-posts { color: var(--gray-mid); text-align: center; padding: 60px 0; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-light); background: var(--white); color: var(--dark-mid);
  font-size: 12px; letter-spacing: 1px; text-decoration: none; transition: .3s;
}
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold-dim); }
.pagination .page-numbers.current { background: var(--dark); border-color: var(--dark); color: var(--gold); }
.pagination .screen-reader-text { position: absolute; left: -9999px; }

/* Single post */
.post-wrap { background: var(--white); padding: 0 0 90px; }
.post-cover { margin: -40px 0 56px; position: relative; z-index: 2; box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.post-wrap .container > .entry-content:first-child, .page-hero + .post-wrap { padding-top: 70px; }
.entry-content { font-size: 17px; line-height: 1.9; color: var(--dark-mid); font-weight: 300; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--serif); font-weight: 400; color: var(--dark); line-height: 1.25; letter-spacing: -.01em; margin-top: 2.2em; }
.entry-content h2 { font-size: clamp(26px, 3vw, 34px); }
.entry-content h3 { font-size: clamp(21px, 2.4vw, 26px); }
.entry-content h4 { font-size: 19px; }
.entry-content p { margin-bottom: 0; }
.entry-content a { color: var(--gold-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(160,120,64,.4); }
.entry-content a:hover { color: var(--gold); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .5em 0; }
.entry-content li::marker { color: var(--gold); }
.entry-content img { max-width: 100%; height: auto; display: block; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 12px; color: var(--gray-mid); margin-top: 10px; letter-spacing: .5px; }
.entry-content blockquote {
  border-left: 2px solid var(--gold); margin-left: 0; padding: 6px 0 6px 28px;
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.6; color: var(--dark);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--gray-light); padding: 12px 10px; text-align: left; }
.entry-content th { font-weight: 600; color: var(--dark); }
.entry-content hr { border: 0; height: 1px; background: var(--gray-light); margin: 3em 0; }
.entry-content .wp-block-button__link { background: var(--gold); color: var(--black); border-radius: 0; text-decoration: none; letter-spacing: 2px; text-transform: uppercase; font-size: 11px; font-weight: 600; padding: 15px 34px; }
.post-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { font-size: 12px; color: var(--gray-mid); text-decoration: none; border: 1px solid var(--gray-light); padding: 6px 12px; }
.post-tags a:hover { color: var(--gold-dim); border-color: var(--gold); }
.post-cta { margin-top: 64px; background: var(--black); padding: 52px 44px; text-align: center; border-top: 2px solid var(--gold); }
.post-cta h3 { font-family: var(--serif); font-weight: 400; color: var(--white); font-size: clamp(24px, 3vw, 32px); margin: 14px 0 10px; }
.post-cta p { color: rgba(255,255,255,.5); font-weight: 300; margin-bottom: 28px; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.page-hero .post-cta-actions { justify-content: flex-start; }
.post-disclaimer { margin-top: 28px; font-size: 12px; color: var(--gray-mid); text-align: center; }
.related { padding: 100px 0 120px; }

/* Header is always solid on blog/generic pages (no hero image behind it) */
header.solid { background: rgba(8,8,7,.96); backdrop-filter: blur(16px); border-bottom-color: rgba(212,175,114,.15); }
body.admin-bar header#hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar header#hdr { top: 46px; } }

/* Elementor pages: let sections run full width under the fixed header */
.is-elementor { padding-top: 80px; }

@media (max-width: 900px) {
  .page-hero { padding: 130px 0 64px; }
  .blog-listing { padding: 60px 0 90px; }
  .entry-content { font-size: 16px; }
  .post-cover { margin: -24px 0 36px; }
  .post-cta { padding: 40px 24px; }
}
