/* =========================================
   JERICHO YORK — GHOST THEME
   ========================================= */

/* -----------------------------------------
   1. RESET & BASE
----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #0a0a0a;
  color: #d4d0c8;
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------
   2. TYPOGRAPHY
----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: #f0ece0;
}

p {
  margin-bottom: 1.5rem;
}

/* -----------------------------------------
   3. NAVIGATION
----------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #f0ece0;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.site-nav .nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.site-nav .nav li a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #a09a8e;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: color 0.2s;
  text-transform: uppercase;
}

.site-nav .nav li a:hover {
  color: #f0ece0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.search-toggle {
  background: none;
  border: none;
  color: #a09a8e;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-toggle:hover {
  color: #f0ece0;
}

.btn-signin {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a09a8e;
  transition: color 0.2s;
}

.btn-signin:hover {
  color: #f0ece0;
}

.btn-subscribe {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #f0ece0;
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-subscribe:hover {
  background: #fff;
  color: #0a0a0a;
}

/* -----------------------------------------
   4. HOME HERO
----------------------------------------- */
.home-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
}

.hero-image-default {
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,1) 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #f0ece0;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.hero-description {
  font-size: 0.95rem;
  color: #8a8478;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -----------------------------------------
   5. SECTIONS & LABELS
----------------------------------------- */
.section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5650;
  margin-bottom: 1.5rem;
  padding-top: 3rem;
}

/* -----------------------------------------
   6. FEATURED GRID
----------------------------------------- */
.featured-section {
  background: #0a0a0a;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.featured-card {
  display: flex;
  flex-direction: column;
}

.featured-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-card-image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  margin-bottom: 1rem;
}

.featured-card-image-empty {
  background: linear-gradient(135deg, #1a1a1a, #111);
}

.featured-card-title {
  font-size: 0.95rem;
  color: #f0ece0;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.featured-card-excerpt {
  font-size: 0.82rem;
  color: #7a7570;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.featured-card-date {
  font-size: 0.75rem;
  color: #4a4642;
  letter-spacing: 0.04em;
}

.featured-card-link:hover .featured-card-title {
  color: #fff;
}

/* -----------------------------------------
   7. TAG SHOWCASE
----------------------------------------- */
.tag-showcase {
  background: #0a0a0a;
  padding-bottom: 0;
}

.tag-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 340px;
}

.tag-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #111;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  overflow: hidden;
}

.tag-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  transition: background 0.3s;
}

.tag-card:hover .tag-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.1) 100%);
}

.tag-card-content {
  position: relative;
  z-index: 2;
}

.tag-card-name {
  font-size: 1.2rem;
  color: #f0ece0;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.tag-card-description {
  font-size: 0.8rem;
  color: #8a8478;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.tag-card-cta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0ece0;
  border-bottom: 1px solid rgba(240,236,224,0.3);
  padding-bottom: 0.1rem;
}

.tag-showcase-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1.25rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* -----------------------------------------
   8. RECENT POSTS
----------------------------------------- */
.recent-section {
  padding-bottom: 4rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recent-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: start;
}

.recent-card-image {
  width: 120px;
  height: 80px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  flex-shrink: 0;
}

.recent-card-image-empty {
  background: linear-gradient(135deg, #1a1a1a, #111);
}

.recent-card-image-link {
  display: block;
  flex-shrink: 0;
}

.recent-card-title {
  font-size: 1.05rem;
  color: #f0ece0;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.recent-card-title:hover,
.recent-card a:hover .recent-card-title {
  color: #fff;
}

.recent-card-excerpt {
  font-size: 0.85rem;
  color: #7a7570;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.recent-card-meta {
  font-size: 0.75rem;
  color: #4a4642;
  letter-spacing: 0.04em;
}

/* -----------------------------------------
   9. PAGINATION
----------------------------------------- */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a7570;
}

.pagination-prev, .pagination-next {
  transition: color 0.2s;
}

.pagination-prev:hover, .pagination-next:hover {
  color: #f0ece0;
}

/* -----------------------------------------
   10. POST / ARTICLE PAGE
----------------------------------------- */
.post-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  margin-top: 60px;
}

.post-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,1) 100%);
}

.post-article:not(:has(.post-hero)) .post-header {
  margin-top: 60px;
  padding-top: 4rem;
}

.post-header {
  background: #0a0a0a;
  padding: 2.5rem 0 3rem;
}

.post-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.post-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8478;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(138,132,120,0.3);
  padding-bottom: 0.15rem;
  transition: color 0.2s;
}

.post-tag:hover {
  color: #f0ece0;
}

.post-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #f0ece0;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.post-excerpt {
  font-size: 1.05rem;
  color: #8a8478;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.post-meta {
  font-size: 0.8rem;
  color: #5a5650;
  letter-spacing: 0.05em;
}

.post-meta-divider {
  margin: 0 0.5rem;
}

/* -----------------------------------------
   11. ARTICLE BODY CONTENT
----------------------------------------- */
.post-content-wrap {
  padding: 3rem 0 4rem;
  background: #0a0a0a;
  overflow-x: hidden;
}

.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #c4c0b8;
}

.post-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: #f0ece0;
  font-weight: 400;
}

.post-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: #f0ece0;
  font-weight: 400;
}

.post-content p {
  margin-bottom: 1.65rem;
}

.post-content a {
  color: #d4d0c8;
  border-bottom: 1px solid rgba(212,208,200,0.35);
  transition: color 0.2s, border-color 0.2s;
}

.post-content a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.post-content blockquote {
  border-left: 2px solid #3a3630;
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  color: #8a8478;
  font-size: 1.1rem;
}

.post-content img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

.post-content figure {
  margin: 2rem 0;
}

.post-content figcaption {
  font-size: 0.8rem;
  color: #5a5650;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.post-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 3rem 0;
}

.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.65rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content pre {
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.85rem;
  margin: 2rem 0;
}

.post-content code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.88em;
  background: rgba(255,255,255,0.06);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.post-content pre code {
  background: none;
  padding: 0;
}

/* -----------------------------------------
   12. AUTHOR SECTION
----------------------------------------- */
.post-author-section {
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}

.post-author-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.author-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.author-avatar {
  width: 140px;
  height: 140px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1a1a;
}

.author-avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #5a5650;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 1rem;
  color: #f0ece0;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.author-name:hover {
  color: #fff;
}

.author-bio {
  font-size: 0.88rem;
  color: #7a7570;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.author-socials {
  display: flex;
  gap: 1rem;
}

.author-social-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5650;
  border-bottom: 1px solid rgba(90,86,80,0.4);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.author-social-link:hover {
  color: #f0ece0;
  border-color: rgba(240,236,224,0.4);
}

/* -----------------------------------------
   13. TAG ARCHIVE PAGE
----------------------------------------- */
.tag-archive-header {
  position: relative;
}

.tag-archive-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  margin-top: 60px;
  background-size: cover;
  background-position: center;
  background-color: #111;
}

.tag-archive-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,1) 100%);
}

.tag-archive-header .post-header-inner {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.tag-archive-description {
  font-size: 0.9rem;
  color: #7a7570;
  margin-top: 0.5rem;
  font-style: italic;
}

/* -----------------------------------------
   14. FOOTER
----------------------------------------- */
.site-footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 0;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4642;
  transition: color 0.2s;
}

.footer-social:hover {
  color: #a09a8e;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-right span {
  font-size: 0.78rem;
  color: #3a3632;
  letter-spacing: 0.04em;
}

.footer-subscribe {
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
}

/* -----------------------------------------
   15. RESPONSIVE
----------------------------------------- */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .site-nav {
    display: none;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .tag-showcase-grid {
    grid-template-columns: 1fr;
  }

  .tag-card {
    min-height: 200px;
  }

  .recent-card {
    grid-template-columns: 90px 1fr;
    gap: 1rem;
  }

  .recent-card-image {
    width: 90px;
    height: 60px;
  }

  .post-hero {
    height: 45vh;
    min-height: 280px;
  }

  .author-card {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }
}

/* -----------------------------------------
   16. GHOST KOENIG EDITOR CARD STYLES
   Required by Ghost for proper content rendering
----------------------------------------- */

/* Wide images */
.kg-width-wide {
  position: relative;
  width: min(85vw, 1100px);
  margin-left: calc(50% - min(42.5vw, 550px));
  margin-right: calc(50% - min(42.5vw, 550px));
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Full width images */
.kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Image cards */
.kg-image-card {
  margin: 2rem 0;
}

.kg-image-card img {
  margin: 0 auto;
}

/* Gallery card */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 724px;
  width: 100%;
  margin: 2rem 0;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 4px;
  margin-bottom: 4px;
  width: 100%;
}

.kg-gallery-image {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Embed / bookmark cards */
.kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

.kg-bookmark-card {
  width: 100%;
  margin: 2rem 0;
}

.kg-bookmark-container {
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.kg-bookmark-container:hover {
  border-color: rgba(255,255,255,0.2);
}

.kg-bookmark-content {
  padding: 1.25rem;
  flex: 1;
}

.kg-bookmark-title {
  font-size: 0.95rem;
  color: #f0ece0;
  margin-bottom: 0.4rem;
}

.kg-bookmark-description {
  font-size: 0.82rem;
  color: #7a7570;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #5a5650;
}

.kg-bookmark-icon {
  width: 16px;
  height: 16px;
}

.kg-bookmark-thumbnail {
  width: 160px;
  flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video card */
.kg-video-card {
  margin: 2rem 0;
}

/* Toggle card */
.kg-toggle-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
}

.kg-toggle-heading-text {
  color: #f0ece0;
  font-size: 1rem;
}

/* Callout card */
.kg-callout-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  margin: 2rem 0;
}

.kg-callout-emoji {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Audio card */
.kg-audio-card {
  margin: 2rem 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1rem;
}

/* Product card */
.kg-product-card {
  margin: 2rem 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1.5rem;
}

/* Header card */
.kg-header-card {
  padding: 4rem 2rem;
  text-align: center;
  background: #111;
  margin: 2rem 0;
}

.kg-header-card h2 {
  font-size: 2rem;
  color: #f0ece0;
  margin-bottom: 1rem;
}

/* Post header when no feature image */
.post-header-no-image {
  margin-top: 60px;
  padding-top: 4rem;
}

/* -----------------------------------------
   17. PAYWALL / SUBSCRIBER GATE
----------------------------------------- */
.gh-post-upgrade-cta {
  background: #111 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 4px !important;
  padding: 3rem 2rem !important;
  text-align: center !important;
  margin: 2rem 0 !important;
}

.gh-post-upgrade-cta h2,
.gh-post-upgrade-cta-content h2 {
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  color: #f0ece0 !important;
  margin-bottom: 1.5rem !important;
}

.gh-post-upgrade-cta a,
.gh-post-upgrade-cta-content a {
  display: inline-block !important;
  background: #f0ece0 !important;
  color: #0a0a0a !important;
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 3px !important;
  border: none !important;
  margin-bottom: 1rem !important;
  transition: background 0.2s !important;
}

.gh-post-upgrade-cta a:hover,
.gh-post-upgrade-cta-content a:hover {
  background: #fff !important;
}

.gh-post-upgrade-cta p,
.gh-post-upgrade-cta-content p {
  color: #5a5650 !important;
  font-size: 0.85rem !important;
  margin-top: 0.75rem !important;
}

.gh-post-upgrade-cta p a,
.gh-post-upgrade-cta-content p a {
  background: none !important;
  color: #8a8478 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  border-bottom: 1px solid rgba(138,132,120,0.3) !important;
  border-radius: 0 !important;
}

.gh-post-upgrade-cta p a:hover,
.gh-post-upgrade-cta-content p a:hover {
  color: #f0ece0 !important;
  background: none !important;
  border-color: rgba(240,236,224,0.4) !important;
}

/* Tag hero overlaid content */
.tag-archive-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.tag-archive-hero-content .section-label {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: #f0ece0;
  padding-top: 0;
  margin-bottom: 0.5rem;
}

.tag-archive-hero-content .tag-archive-description {
  color: #8a8478;
  font-style: italic;
  margin-top: 0;
}

/* Page title to match post title styling - overridden below */

.page-article .post-header {
  background: #0a0a0a;
  padding: 2.5rem 0 3rem;
}

.page-article .post-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-article .post-content-wrap {
  padding: 3rem 0 4rem;
  background: #0a0a0a;
  overflow-x: hidden;
}

.page-article .post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-article:not(:has(.post-hero)) .post-header {
  margin-top: 60px;
  padding-top: 4rem;
}

/* Page title overlaid on hero image */
.post-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 2.5rem 2rem;
  max-width: 100%;
}

.post-hero-title .post-title {
  max-width: 760px;
  margin: 0 auto;
}

/* Page hero — shorter than posts to distinguish pages from editorial content */
.page-article .post-hero {
  height: 38vh !important;
  min-height: 240px !important;
  max-height: 360px !important;
}

/* Page title — slightly smaller than post titles */
.page-article .post-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
  color: #f0ece0 !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif !important;
}

/* Secondary Footer Navigation — inline in footer bar */
.footer-secondary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
}

.footer-secondary-nav ul li a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a5650;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-secondary-nav ul li a:hover {
  color: #f0ece0;
}
