/*
Theme Name: InkPress
Author: Md Naeem Ahmed Opu
Description: InkPress is a clean, editorial blog theme for writers, journalists, and content creators. It features a magazine-style hero banner, grid and list post layouts, a full-width page template, a magazine home template with per-category sections, a responsive sidebar, featured images, reading time, author bio box, related posts, breadcrumb navigation, and threaded comments. Built to WordPress coding standards and fully translation-ready.
Version: 2.0.3
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inkpress
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'DM Sans', 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'Courier New', monospace;

  --clr-bg:        #faf9f7;
  --clr-surface:   #ffffff;
  --clr-border:    #e8e4dc;
  --clr-muted:     #9b8f82;
  --clr-body:      #2d2926;
  --clr-heading:   #1a1714;
  --clr-accent:    #c0392b;
  --clr-accent-dk: #96201a;
  --clr-tag-bg:    #f0ede8;
  --clr-nav-bg:    #1a1714;
  --clr-nav-text:  #f5f0e8;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);

  --max-w:      1180px;
  --content-w:  760px;
  --sidebar-w:  300px;
  --gap:        2rem;
  --section-gap: 4rem;

  --transition: 0.2s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-body);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-dk); }
p { margin: 0 0 1.25rem; }
ul, ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--clr-heading);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

.entry-title a {
  color: var(--clr-heading);
  transition: color var(--transition);
}
.entry-title,
.entry-title a,
.entry-header .entry-title,
.page-title {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
}
.entry-title a:hover { color: var(--clr-accent); }

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.site-container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--gap) calc(var(--gap) * 1.5);
  align-items: start;
  padding: var(--section-gap) 0;
}

.layout-full-width {
  padding: var(--section-gap) 0;
}

.site-main { min-width: 0; }

/* ============================================
   TOP BAR
   ============================================ */
.site-top-bar {
  background: var(--clr-accent);
  color: #fff;
  font-size: .75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 0;
  text-align: center;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--clr-nav-bg);
  color: var(--clr-nav-text);
  border-bottom: 3px solid var(--clr-accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 68px;
  gap: 1.5rem;
}

.site-branding {
  flex-shrink: 0;
  padding: 1rem 0;
  order: 1;
}

/* .header-actions is placed before .primary-navigation in the markup so
   keyboard focus flows from the hamburger button into the opened menu;
   `order` restores the original branding / nav / actions visual layout. */
.header-actions { order: 3; }
.primary-navigation { order: 2; }

.site-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}
.site-title a {
  color: var(--clr-nav-text);
  letter-spacing: -.01em;
}
.site-title a:hover { color: var(--clr-accent); }
.site-title span { color: var(--clr-accent); }

.site-tagline {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* ============================================
   PRIMARY NAVIGATION
   ============================================ */
.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .25rem;
}

.primary-navigation li { position: relative; }

.primary-navigation a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: .6rem .9rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* Sub-menus */
.primary-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--clr-nav-bg);
  min-width: 180px;
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--clr-accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0;
  padding: .4rem 0;
  z-index: 200;
}
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu { display: flex; }
.primary-navigation .sub-menu a { padding: .5rem 1rem; border-radius: 0; }
/* Submenu also opens via JS .is-open (keyboard nav) */
.primary-navigation li.menu-item-has-children > .sub-menu.is-open { display: flex; }
/* Submenu toggle button (keyboard users) */
.submenu-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: .25rem .4rem;
  line-height: 1;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}
.submenu-toggle:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: .5rem;
  font-size: 1.5rem;
  line-height: 1;
}

/* ============================================
   HERO / FEATURED BANNER
   ============================================ */
.hero-banner {
  background: var(--clr-heading);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-featured {
  position: relative;
  overflow: hidden;
  grid-row: span 2;
}
.hero-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-featured:hover img { transform: scale(1.03); }

.hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.hero-featured-content { max-width: 480px; }
.hero-featured-content .entry-title a { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.hero-featured-content .entry-title a:hover { color: var(--clr-accent); }

.hero-secondary {
  display: flex;
  flex-direction: column;
}

.hero-secondary-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-secondary-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-secondary-item:hover img { transform: scale(1.04); }
.hero-secondary-item:last-child { border-bottom: none; }

.hero-secondary-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.hero-secondary-overlay .entry-title { font-size: 1.05rem; margin: 0; }
.hero-secondary-overlay .entry-title a { color: #fff; }
.hero-secondary-overlay .entry-title a:hover { color: var(--clr-accent); }

/* ============================================
   POST META & CATEGORY BADGES
   ============================================ */
.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--clr-muted);
  margin-bottom: .75rem;
}

.cat-badge {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 3px;
  line-height: 1.5;
}
.cat-badge:hover { background: var(--clr-accent-dk); color: #fff; }

.entry-meta .sep { color: var(--clr-border); }

/* ============================================
   POST CARDS — GRID LAYOUT
   ============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.posts-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.post-card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--clr-tag-bg);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-body .entry-title { font-size: 1.15rem; margin-bottom: .5rem; }
.post-card-body .entry-excerpt {
  font-size: .9rem;
  color: var(--clr-muted);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: .03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.read-more::after { content: '→'; }
.read-more:hover { gap: .55rem; color: var(--clr-accent-dk); }

/* ============================================
   POST CARDS — LIST LAYOUT
   ============================================ */
.posts-list { display: flex; flex-direction: column; gap: 1.5rem; }

.post-list-item {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: box-shadow var(--transition);
}
.post-list-item:hover { box-shadow: var(--shadow-md); }

.post-list-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--clr-tag-bg);
}
.post-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-list-item:hover .post-list-thumb img { transform: scale(1.05); }

.post-list-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.post-list-body .entry-title { font-size: 1.3rem; margin-bottom: .5rem; }
.post-list-body .entry-excerpt { font-size: .9rem; color: var(--clr-muted); margin-bottom: 1rem; flex: 1; }

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-heading h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-heading);
  white-space: nowrap;
  margin: 0;
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--clr-border);
}
.section-heading.accent-bar { border-left: 4px solid var(--clr-accent); padding-left: .75rem; }
.section-heading.accent-bar::after { display: none; }

/* ============================================
   SINGLE POST LAYOUT
   ============================================ */
.single-post-wrap {
  max-width: var(--content-w);
}

.entry-header { margin-bottom: 2rem; }

.entry-header .entry-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.entry-header .entry-meta { font-size: .875rem; }

.entry-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.entry-featured-image img { width: 100%; }

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.5rem; }
.entry-content blockquote {
  border-left: 4px solid var(--clr-accent);
  background: var(--clr-tag-bg);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--clr-heading);
}
.entry-content code {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--clr-tag-bg);
  padding: .15em .4em;
  border-radius: 3px;
  border: 1px solid var(--clr-border);
}
.entry-content pre {
  background: var(--clr-heading);
  color: #e0d9cc;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.entry-content pre code {
  background: none;
  border: none;
  font-size: .9rem;
  color: inherit;
  padding: 0;
}
.entry-content img { border-radius: var(--radius-sm); }

/* Content links must be underlined (posts, excerpts, comments, text widgets) */
.entry-content a,
.entry-summary a,
.comment-content a,
.widget_text a,
.textwidget a {
  text-decoration: underline;
}
.entry-content a:hover,
.entry-summary a:hover,
.comment-content a:hover,
.widget_text a:hover,
.textwidget a:hover {
  text-decoration: none;
}

/* Post Tags */
.entry-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--clr-border); }
.entry-tags span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--clr-muted); margin-right: .5rem; }
.tag-pill {
  display: inline-block;
  background: var(--clr-tag-bg);
  border: 1px solid var(--clr-border);
  color: var(--clr-body);
  font-size: .8rem;
  padding: .2rem .65rem;
  border-radius: 99px;
  margin: .25rem .15rem;
  transition: background var(--transition), border-color var(--transition);
}
.tag-pill:hover { background: var(--clr-border); color: var(--clr-heading); }

/* Author Box */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-accent);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2.5rem;
}
.author-avatar { flex-shrink: 0; }
.author-avatar img { width: 64px; height: 64px; border-radius: 50%; }
.author-info .author-name { font-weight: 700; font-family: var(--font-serif); margin-bottom: .25rem; }
.author-info p { font-size: .9rem; color: var(--clr-muted); margin: 0; }

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.nav-post {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: box-shadow var(--transition);
}
.nav-post:hover { box-shadow: var(--shadow-md); }
.nav-post .nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-muted); font-weight: 600; margin-bottom: .3rem; }
.nav-post .nav-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--clr-heading); }
.nav-post:hover .nav-title { color: var(--clr-accent); }
.nav-post.nav-next { text-align: right; }

/* ============================================
   COMMENTS
   ============================================ */
.comments-area { margin-top: 2.5rem; }
.comments-title { font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--clr-border); }

.comment-list { list-style: none; padding: 0; margin: 0; }
.comment {
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.comment-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.comment-meta img { border-radius: 50%; }
.comment-author-name { font-weight: 700; font-size: .95rem; }
.comment-date { font-size: .8rem; color: var(--clr-muted); }

/* Comment form */
.comment-form-wrap { margin-top: 2rem; }
.comment-form-wrap h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.comment-form .form-row { margin-bottom: 1rem; }
.comment-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--clr-body);
  transition: border-color var(--transition);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  background: var(--clr-surface);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .7rem 1.75rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--clr-accent-dk); transform: translateY(-1px); }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar { position: sticky; top: 88px; }

.widget {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.widget:last-child { margin-bottom: 0; }

.widget-title {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin: 0 0 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--clr-border);
}

/* Recent posts widget */
.widget-recent-posts { list-style: none; padding: 0; margin: 0; }
.widget-recent-posts li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .65rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.widget-recent-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-post-thumb { flex-shrink: 0; width: 64px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; background: var(--clr-tag-bg); }
.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-info .widget-post-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--clr-heading);
  line-height: 1.4;
  display: block;
  margin-bottom: .25rem;
  transition: color var(--transition);
}
.widget-post-info .widget-post-title:hover { color: var(--clr-accent); }
.widget-post-info .widget-post-date { font-size: .75rem; color: var(--clr-muted); }

/* Categories widget */
.widget-categories { list-style: none; padding: 0; margin: 0; }
.widget-categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: .9rem;
}
.widget-categories li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-categories a { color: var(--clr-body); }
.widget-categories a:hover { color: var(--clr-accent); }
.widget-categories .count {
  background: var(--clr-tag-bg);
  color: var(--clr-muted);
  font-size: .75rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 99px;
}

/* Search widget */
.widget-search-form { display: flex; gap: .5rem; }
.widget-search-form input {
  flex: 1;
  padding: .6rem .9rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--clr-body);
  transition: border-color var(--transition);
}
.widget-search-form input:focus { outline: none; border-color: var(--clr-accent); }
.widget-search-form button {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  cursor: pointer;
  font-size: .9rem;
  transition: background var(--transition);
}
.widget-search-form button:hover { background: var(--clr-accent-dk); }

/* Tags cloud widget */
.tags-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Newsletter widget */
.widget-newsletter { background: var(--clr-heading); border-color: var(--clr-heading); }
.widget-newsletter .widget-title { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.15); }
.widget-newsletter p { font-size: .875rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.widget-newsletter input {
  width: 100%;
  padding: .65rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .875rem;
  margin-bottom: .6rem;
}
.widget-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.widget-newsletter input:focus { outline: none; border-color: var(--clr-accent); background: rgba(255,255,255,.12); }
.btn-subscribe {
  width: 100%;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .7rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-subscribe:hover { background: var(--clr-accent-dk); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .5rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--clr-body);
  background: var(--clr-surface);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pagination a:hover { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.pagination .current { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }
.pagination .dots { background: none; border-color: transparent; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--clr-heading);
  color: rgba(255,255,255,.75);
  margin-top: var(--section-gap);
}

.footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-widget .footer-widget-title {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 1.25rem;
}

.footer-about .site-title-footer {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  display: block;
  margin-bottom: .75rem;
}
.footer-about .site-title-footer span { color: var(--clr-accent); }
.footer-about p { font-size: .875rem; line-height: 1.7; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-links li:last-child { border-bottom: none; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--clr-accent); }

.footer-social { display: flex; gap: .65rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--clr-accent); color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--clr-accent); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: .75rem 0;
  font-size: .82rem;
  color: var(--clr-muted);
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 2rem;
}
.breadcrumbs a { color: var(--clr-muted); }
.breadcrumbs a:hover { color: var(--clr-accent); }
.breadcrumbs span { margin: 0 .35rem; color: var(--clr-border); }

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--clr-heading) 0%, #2d1f1b 100%);
  color: #fff;
  padding: 3rem 0;
  margin-bottom: 2.5rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.page-hero .page-hero-sub { color: rgba(255,255,255,.55); font-size: .9rem; }

/* ============================================
   404 PAGE
   ============================================ */
.not-found-wrap { text-align: center; padding: var(--section-gap) 0; }
.not-found-code { font-family: var(--font-serif); font-size: 8rem; font-weight: 700; color: var(--clr-border); line-height: 1; }
.not-found-wrap h1 { margin-top: -.5rem; }
.not-found-wrap p { color: var(--clr-muted); max-width: 400px; margin: 0 auto 2rem; }

/* ============================================
   UTILITY
   ============================================ */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-muted { color: var(--clr-muted); }
.mt-0 { margin-top: 0; }
.no-thumb { background: var(--clr-tag-bg); display: flex; align-items: center; justify-content: center; color: var(--clr-border); font-size: 2rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 280px 200px; }
  .hero-secondary { flex-direction: row; }
}

@media (max-width: 768px) {
  :root { --gap: 1.25rem; }

  .primary-navigation {
    display: block;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-nav-bg);
    z-index: 300;
    padding: .5rem 0 1rem;
    pointer-events: none;
  }
  .primary-navigation.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .primary-navigation ul { flex-direction: column; }
  .primary-navigation .sub-menu { position: static; border: none; padding-left: 1rem; }
  .nav-toggle { display: block; }

  .posts-grid { grid-template-columns: 1fr; }
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-thumb { aspect-ratio: 16/9; }
  .hero-grid { min-height: auto; }
  .hero-secondary { flex-direction: column; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .post-navigation { grid-template-columns: 1fr; }
  .nav-post.nav-next { text-align: left; }
}

@media (max-width: 480px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   HEADER ACTIONS (search toggle + hamburger)
   ============================================ */
.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.header-search-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: color var(--transition), background var(--transition);
}
.header-search-toggle:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  width: 38px;
  height: 38px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Slide-down search bar */
.header-search-bar {
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .75rem 0;
}
.header-search-bar .widget-search-form input {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.header-search-bar .widget-search-form input::placeholder { color: rgba(255,255,255,.45); }
.header-search-bar .widget-search-form input:focus {
  background: rgba(255,255,255,.15);
  border-color: var(--clr-accent);
}

/* Footer newsletter inline styles via class */
.footer-newsletter-form input {
  margin-bottom: .6rem;
}
.footer-bottom-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}
.footer-bottom-nav a { color: rgba(255,255,255,.4); font-size: .8rem; }
.footer-bottom-nav a:hover { color: var(--clr-accent); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
}

/* ============================================
   SCROLLED HEADER STATE (set by JS)
   ============================================ */
.site-header.is-scrolled {
	box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

/* ============================================
   SITE-CONTENT WRAPPER
   ============================================ */
.site-content {
	min-height: 60vh;
}

/* ============================================
   HERO OVERLAY TEXT — light variant classes
   ============================================ */
.hero-title a {
	color: #fff;
}
.hero-title a:hover {
	color: var(--clr-accent);
}
.hero-meta {
	color: rgba(255,255,255,.65);
	font-size: .875rem;
}
.hero-badge {
	display: inline-block;
	margin-bottom: .4rem;
}

/* ============================================
   MAGAZINE SECTIONS (page template)
   ============================================ */
.magazine-sections {
	padding-top: 3rem;
}
.magazine-section {
	margin-bottom: 3.5rem;
}
.more-link-wrap {
	text-align: right;
	margin-top: 1rem;
}

/* ============================================
   FULL WIDTH CONTENT
   ============================================ */
.full-width-content {
	max-width: var(--content-w);
	margin: 0 auto;
}

/* ============================================
   RELATED POSTS
   ============================================ */
.related-posts {
	margin-top: 3rem;
}

/* ============================================
   RSS / SUBSCRIBE BUTTON
   ============================================ */
.btn-rss-feed {
	display: inline-block;
	background: var(--clr-accent);
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .03em;
	padding: .6rem 1.25rem;
	border-radius: var(--radius-sm);
	transition: background var(--transition);
}
.btn-rss-feed:hover {
	background: var(--clr-accent-dk);
	color: #fff;
}

/* Widget RSS CTA */
.widget-rss-cta p {
	font-size: .875rem;
	color: var(--clr-muted);
	margin-bottom: 1rem;
}

/* Footer newsletter desc */
.footer-newsletter-desc {
	font-size: .875rem;
	color: rgba(255,255,255,.6);
	margin-bottom: 1rem;
}

/* ============================================
   SIDEBAR WIDGET LISTS (renamed classes)
   ============================================ */
.widget-recent-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.widget-recent-item {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
	padding: .65rem 0;
	border-bottom: 1px solid var(--clr-border);
}
.widget-recent-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.widget-category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.widget-category-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .5rem 0;
	border-bottom: 1px solid var(--clr-border);
	font-size: .9rem;
}
.widget-category-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.widget-category-item a {
	color: var(--clr-body);
}
.widget-category-item a:hover {
	color: var(--clr-accent);
}

/* ============================================
   COMMENT STYLES (matching new callback markup)
   ============================================ */
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}
.comment {
	margin-bottom: 1rem;
}
.comment .comment-body {
	background: var(--clr-surface);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-md);
	padding: 1.25rem;
}
.comment .comment-meta {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: .85rem;
	flex-wrap: wrap;
}
.comment-author-avatar img {
	border-radius: 50%;
	display: block;
}
.comment-author-info {
	flex: 1;
}
.comment-author-name {
	display: block;
	font-weight: 700;
	font-size: .95rem;
	color: var(--clr-heading);
}
.comment-date {
	font-size: .78rem;
	color: var(--clr-muted);
}
.comment-reply-wrap {
	margin-left: auto;
}
.comment-reply-link {
	font-size: .8rem;
	font-weight: 600;
	color: var(--clr-accent);
}
.comment-reply-link:hover {
	color: var(--clr-accent-dk);
}
.comment-content p:last-child {
	margin-bottom: 0;
}
.comment-awaiting-moderation {
	font-style: italic;
	font-size: .875rem;
	color: var(--clr-muted);
	margin-top: .5rem;
	margin-bottom: 0;
}
.comment-form p {
	margin-bottom: 1rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .65rem 1rem;
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-sm);
	background: var(--clr-bg);
	font-family: var(--font-sans);
	font-size: .95rem;
	color: var(--clr-body);
	transition: border-color var(--transition);
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--clr-accent);
	background: var(--clr-surface);
}
.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}
.comment-form .comment-reply-title {
	font-size: 1.15rem;
	margin-bottom: 1.25rem;
}
.comment-form .required {
	color: var(--clr-accent);
}
.no-comments {
	color: var(--clr-muted);
	font-style: italic;
}
/* Children */
.comment-list .children {
	list-style: none;
	padding-left: 2rem;
	margin-top: .5rem;
}

/* ============================================
   SEARCH FORM (used by get_search_form())
   ============================================ */
.search-form {
	display: flex;
	gap: .5rem;
}
.search-form .search-field {
	flex: 1;
	padding: .6rem .9rem;
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-sm);
	background: var(--clr-bg);
	font-family: var(--font-sans);
	font-size: .9rem;
	color: var(--clr-body);
	transition: border-color var(--transition);
}
.search-form .search-field:focus {
	outline: none;
	border-color: var(--clr-accent);
	background: var(--clr-surface);
}
.search-form .search-submit {
	background: var(--clr-accent);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	padding: .6rem .9rem;
	cursor: pointer;
	font-size: .9rem;
	display: inline-flex;
	align-items: center;
	transition: background var(--transition);
}
.search-form .search-submit:hover {
	background: var(--clr-accent-dk);
}
/* Header search bar variant */
.header-search-bar .search-form .search-field {
	background: rgba(255,255,255,.1);
	border-color: rgba(255,255,255,.2);
	color: #fff;
}
.header-search-bar .search-form .search-field::placeholder {
	color: rgba(255,255,255,.45);
}
.header-search-bar .search-form .search-field:focus {
	background: rgba(255,255,255,.15);
	border-color: var(--clr-accent);
}

/* ============================================
   PAGE LINKS (multipage posts)
   ============================================ */
.page-links {
	margin: 1.5rem 0;
	font-size: .9rem;
	font-weight: 600;
}
.page-links a {
	display: inline-block;
	background: var(--clr-accent);
	color: #fff;
	padding: .2rem .6rem;
	border-radius: var(--radius-sm);
	margin: 0 .1rem;
}
.page-links a:hover {
	background: var(--clr-accent-dk);
}

/* ============================================
   NO RESULTS / NOT FOUND
   ============================================ */
.no-results,
.no-posts-found {
	padding: 3rem 0;
	text-align: center;
}
.no-results .page-title,
.no-posts-found h2 {
	margin-bottom: 1rem;
}
.no-results .search-form,
.no-posts-found .search-form {
	max-width: 480px;
	margin: 0 auto;
}
.error-404 .not-found-wrap {
	padding: 2rem 0;
}

/* ============================================
   FOOTER SOCIAL LIST
   ============================================ */
.footer-social-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: flex;
	gap: .65rem;
}
.footer-social-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
	color: rgba(255,255,255,.7);
	font-size: .95rem;
	transition: background var(--transition), color var(--transition);
}
.footer-social-list a:hover {
	background: var(--clr-accent);
	color: #fff;
}
/* Footer bottom nav container */
.footer-bottom-nav {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 1rem;
}
.footer-bottom-nav li {
	display: inline;
}
.footer-bottom-nav a {
	color: rgba(255,255,255,.4);
	font-size: .8rem;
}
.footer-bottom-nav a:hover {
	color: var(--clr-accent);
}
/* wp_nav_menu wraps in <nav> when container is set */
.footer-bottom > nav > ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 1rem;
}
.footer-bottom > nav > ul a {
	color: rgba(255,255,255,.4);
	font-size: .8rem;
}
.footer-bottom > nav > ul a:hover {
	color: var(--clr-accent);
}

/* ============================================
   SKIP LINK FOCUS STYLE
   ============================================ */
.screen-reader-text:focus {
	background: var(--clr-surface);
	border-radius: var(--radius-sm);
	box-shadow: 0 0 0 3px var(--clr-accent);
	clip: auto;
	clip-path: none;
	color: var(--clr-heading);
	display: block;
	font-size: .875rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	outline: none;
	padding: .75rem 1.25rem;
	position: fixed;
	top: 1rem;
	width: auto;
	z-index: 9999;
}

/* ============================================
   CUSTOM LOGO
   ============================================ */
.custom-logo-link {
	display: inline-block;
	line-height: 1;
}
.custom-logo {
	max-height: 60px;
	width: auto;
}

/* ============================================
   SITE TITLE — navigation toggle states
   ============================================ */
.site-header .site-title {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
}
.site-header .site-title a {
	color: var(--clr-nav-text);
	letter-spacing: -.01em;
}
.site-header .site-title a:hover {
	color: var(--clr-accent);
}
/* nav-toggle bar spans */
.nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: rgba(255,255,255,.8);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

/* ============================================================
   WORDPRESS REQUIRED CSS CLASSES
   ============================================================ */

/* Sticky posts */
.sticky {
	position: relative;
}
.sticky .post-card-body::before {
	content: '';
	display: block;
	width: 36px;
	height: 3px;
	background: var(--clr-accent);
	margin-bottom: .75rem;
	border-radius: 2px;
}

/* Comment by post author */
.bypostauthor > .comment .comment-author-name::after {
	content: ' \2713';
	font-size: .75em;
	color: var(--clr-accent);
	font-weight: 700;
}

/* Block alignment */
.alignleft {
	float: left;
	margin: .25rem 1.5rem 1rem 0;
	max-width: 50%;
}
.alignright {
	float: right;
	margin: .25rem 0 1rem 1.5rem;
	max-width: 50%;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	clear: both;
}
.alignwide {
	margin-left: calc( -1 * var(--gap) );
	margin-right: calc( -1 * var(--gap) );
}
.alignfull {
	margin-left: calc( 50% - 50vw );
	margin-right: calc( 50% - 50vw );
	max-width: 100vw;
	width: 100vw;
}

/* Image captions */
.wp-caption {
	max-width: 100%;
	margin-bottom: 1.25rem;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
.wp-caption-text {
	font-size: .8rem;
	color: var(--clr-muted);
	font-style: italic;
	text-align: center;
	margin-top: .5rem;
	margin-bottom: 0;
	line-height: 1.5;
}

/* Gallery caption */
.gallery-caption {
	font-size: .8rem;
	color: var(--clr-muted);
	font-style: italic;
	display: block;
	margin-top: .35rem;
	line-height: 1.5;
}

/* WordPress gallery block */
.gallery {
	display: grid;
	gap: .75rem;
	margin-bottom: 1.5rem;
}
.gallery-item {
	overflow: hidden;
	border-radius: var(--radius-sm);
}
.gallery-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 600px) {
	.gallery-columns-3,
	.gallery-columns-4,
	.gallery-columns-5,
	.gallery-columns-6 { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive embeds (oEmbed / core/embed) */
.wp-block-embed {
	margin-bottom: 1.5rem;
}
.wp-block-embed__wrapper {
	position: relative;
	overflow: hidden;
}
.wp-has-aspect-ratio .wp-block-embed__wrapper {
	padding-bottom: 56.25%; /* 16:9 default */
}
.wp-embed-aspect-4-3 .wp-block-embed__wrapper { padding-bottom: 75%; }
.wp-embed-aspect-1-1 .wp-block-embed__wrapper { padding-bottom: 100%; }
.wp-has-aspect-ratio .wp-block-embed__wrapper iframe,
.wp-has-aspect-ratio .wp-block-embed__wrapper embed,
.wp-has-aspect-ratio .wp-block-embed__wrapper object,
.wp-has-aspect-ratio .wp-block-embed__wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ============================================================
   BLOCK STYLE VARIANTS (registered via register_block_style)
   ============================================================ */

/* Button — Outline */
.wp-block-button.is-style-inkpress-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: var(--clr-accent);
}
.wp-block-button.is-style-inkpress-outline .wp-block-button__link:hover {
	background: var(--clr-accent);
	color: #fff;
	border-color: var(--clr-accent);
}

/* Button — Ghost */
.wp-block-button.is-style-inkpress-ghost .wp-block-button__link {
	background: transparent;
	border: none;
	color: var(--clr-accent);
	padding-left: 0;
	padding-right: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.wp-block-button.is-style-inkpress-ghost .wp-block-button__link:hover {
	color: var(--clr-accent-dk);
}

/* Image — Framed */
.wp-block-image.is-style-inkpress-framed img {
	border: 4px solid var(--clr-border);
	padding: 6px;
	background: var(--clr-surface);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
}

/* Separator — Accent */
.wp-block-separator.is-style-inkpress-accent {
	border: none;
	border-top: 4px solid var(--clr-accent);
	max-width: 80px;
	margin-left: 0;
}

/* Quote — Editorial */
.wp-block-quote.is-style-inkpress-editorial {
	border-left: 4px solid var(--clr-accent);
	background: var(--clr-tag-bg);
	padding: 1.25rem 1.5rem;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.wp-block-quote.is-style-inkpress-editorial p {
	font-family: var(--font-serif);
	font-size: 1.2rem;
	font-style: italic;
	color: var(--clr-heading);
	margin-bottom: .5rem;
}
.wp-block-quote.is-style-inkpress-editorial cite {
	font-size: .85rem;
	color: var(--clr-muted);
}

/* ============================================================
   CUSTOM HEADER (add_theme_support custom-header)
   ============================================================ */
.custom-header {
	position: relative;
	overflow: hidden;
	background: var(--clr-heading);
}
.custom-header img,
.header-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
}

/* ============================================================
   CUSTOM BACKGROUND (add_theme_support custom-background)
   ============================================================ */
.custom-background {
	background-attachment: fixed;
}
