/* ============================================
   UNEQUIVOCALLY AMBIGUOUS — GHOST THEME v2
   Design: V8 + Red Accent + Lavender Poems
   ============================================ */

/* --- TOKENS --- */
:root {
  --bg:           #f5f5f7;
  --surface:      #eaeaed;
  --border:       #d8d8dc;
  --text:         #111111;
  --text-muted:   #111111;
  --text-light:   #111111;
  --accent:       #6b8fd4;
  --accent-dark:  #4a6eb4;
  --accent-cta:   #fe6565;
  --accent-cta-dark: #e84545;
  --accent-secondary: #6b8fd4;
  --accent-poems: #bda9e4;
  --white:        #ffffff;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --radius:       14px;
  --radius-sm:    6px;
  --max-width:    860px;
  --read-width:   640px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  background: var(--accent-cta);
  color: var(--white);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}

.nav-links .nav-cta:hover { background: var(--accent-cta-dark); color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}

.nav-mobile a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-mobile.open { display: flex; }

/* --- SECTION LABEL --- */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

/* --- FEATURED POST --- */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 44px;
}

.featured-img-link { display: block; }

.featured-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  object-fit: cover;
}

.featured-img-placeholder {
  aspect-ratio: 4/3;
  background: var(--border);
  border-radius: 10px;
}

.featured-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 18px;
  transition: background 0.15s;
}

.featured-tag:hover { background: var(--accent-dark); }

.featured-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.featured-title a { transition: color 0.15s; }
.featured-title a:hover { color: var(--accent); }

.featured-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- POST GRID --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.post-card { overflow: hidden; }
.post-card-link { display: block; }

.post-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.post-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card-img-placeholder {
  position: absolute;
  inset: 0;
  background: var(--accent);
}

.post-card-link:hover .post-card-img { transform: scale(1.04); }

.post-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.15) 55%, transparent 100%);
}

.post-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  z-index: 1;
}

.post-card-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}

.post-card-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #f5f5f7;
  margin-bottom: 6px;
}

.post-card-date {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}

/* --- META DOT --- */
.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
  flex-shrink: 0;
}

/* --- POST PAGE --- */
.post-header {
  max-width: var(--read-width);
  margin: 0 auto;
  padding: 52px 0 32px;
  text-align: left;
}

.post-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  background: var(--accent-cta);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 20px;
  transition: background 0.15s;
}

.post-tag:hover { background: var(--accent-cta-dark); }

.post-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.post-subtitle {
  font-size: 18px;
  color: #111111;
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
}

.post-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- FEATURE IMAGE — natural dimensions --- */
.post-feature-img-wrap {
  margin-bottom: 44px;
}

.post-feature-img {
  width: 100%;
  max-width: 812px;
  margin: 0 auto;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.post-feature-img-caption {
  max-width: 812px;
  margin: 10px auto 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* --- POST BODY --- */
.post-body {
  max-width: var(--read-width);
  margin: 0 auto;
  padding-bottom: 48px;
}

.gh-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 24px;
}

.gh-content p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin-right: 8px;
  margin-top: 6px;
  color: var(--accent-secondary);
}

.gh-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}

.gh-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin: 36px 0 12px;
}

.gh-content hr {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 40px 0;
}

.gh-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 32px 0;
  font-style: italic;
  color: #111111;
}

.gh-content ul, .gh-content ol {
  margin: 0 0 24px 24px;
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}

.gh-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gh-content img {
  border-radius: var(--radius-sm);
  margin: 32px auto;
  height: auto;
}

/* --- POST DIVIDER --- */
.post-divider {
  max-width: var(--read-width);
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-divider-line { flex: 1; height: 0.5px; background: var(--border); }
.post-divider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-secondary); }

/* --- POST FOOTER --- */
.post-footer {
  max-width: var(--read-width);
  margin: 0 auto;
  padding: 32px 0 48px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.post-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-avatar-initials {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.author-name { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.author-bio { font-size: 12px; color: var(--text-muted); }

.post-share { display: flex; gap: 10px; flex-shrink: 0; }

.share-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  color: #111111;
  transition: border-color 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
}

.share-btn:hover { border-color: #aaa; color: var(--text); }

.share-btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.share-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

/* --- RELATED POSTS --- */
.related-posts { margin-bottom: 40px; }

/* --- ESSAYS ARCHIVE PAGE --- */
.archive-header {
  padding: 52px 0 32px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 0;
}

.archive-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.archive-desc {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 560px;
  line-height: 1.6;
}

/* --- CATEGORY NAV --- */
.category-nav {
  display: flex;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.category-pill {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.15s;
}

.category-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.category-pill-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* --- ESSAYS LIST --- */
.essays-list { margin-bottom: 60px; }

.essay-row {
  border-bottom: 0.5px solid var(--border);
}

.essay-row-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  transition: opacity 0.15s;
}

.essay-row-link:hover { opacity: 0.75; }

.essay-row-left { flex: 1; }

.essay-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
}

.essay-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.essay-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

.essay-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.essay-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.essay-meta {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* --- VIDEO PAGE --- */
.videos-list {
  padding: 16px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.video-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 0.5px solid var(--border);
}

.video-item:last-child { border-bottom: none; }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.video-desc {
  font-size: 15px;
  color: #111111;
  line-height: 1.7;
  margin-bottom: 16px;
}

.video-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* --- TAG PAGE --- */
.tag-header {
  padding: 52px 0 36px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 40px;
}

.tag-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.tag-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.tag-description {
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
}

.no-posts {
  font-size: 16px;
  color: var(--text-muted);
  padding: 40px 0;
  font-style: italic;
}

/* --- PAGE --- */
.page-header {
  padding: 52px 0 36px;
  max-width: var(--read-width);
}

.page-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 18px;
  color: #111111;
  font-style: italic;
}

.page-feature-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 44px;
  height: auto;
}

.page-body {
  max-width: var(--read-width);
  margin: 0 auto;
  padding-bottom: 60px;
}

/* --- SUBSCRIPTION CONFIRMED BANNER --- */
.subscribe-confirmed-banner {
  background: var(--accent);
  padding: 20px 24px;
  text-align: center;
  position: relative;
  z-index: 200;
}

.subscribe-confirmed-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.subscribe-confirmed-title {
  font-size: 15px;
  font-weight: 500;
  color: #f5f5f7;
  margin-bottom: 0;
  font-style: normal;
}

.subscribe-confirmed-body {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
  font-style: italic;
  max-width: 480px;
}

.subscribe-confirmed-close {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #f5f5f7;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.subscribe-confirmed-close:hover {
  background: rgba(255,255,255,0.15);
}

/* --- SUBSCRIBE BAND --- */
.subscribe-band {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin: 36px 0 48px;
  border: 0.5px solid var(--border);
}

.subscribe-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 14px;
}

.subscribe-band h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.subscribe-band p {
  font-size: 14px;
  color: #111111;
  line-height: 1.6;
  font-style: italic;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.subscribe-form { display: inline-flex; margin-top: 0; }

.sub-input {
  height: 46px;
  border: 1.5px solid #eaeaed;
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 18px;
  font-size: 13px;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  width: 260px;
  outline: none;
  transition: border-color 0.15s;
}

.sub-input:focus { border-color: var(--accent); }
.sub-input::placeholder { color: var(--text-light); }

.sub-btn {
  height: 46px;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  background: var(--accent-cta);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}

.sub-btn:hover { background: var(--accent-cta-dark); }

.subscribe-success {
  max-width: 420px;
  margin: 0 auto;
}

.subscribe-success-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  font-style: normal;
}

.subscribe-success-body {
  font-size: 14px;
  color: #111111;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0;
}

/* --- POEMS PAGE --- */
.poems-header {
  padding: 52px 0 40px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 0;
}

.poems-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  border-left: 4px solid var(--accent-poems);
  padding-left: 16px;
}

.poems-list {
  padding-bottom: 60px;
}

.poem-row {
  border-bottom: 0.5px solid var(--border);
}

.poem-row-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 22px 0;
  transition: opacity 0.15s;
}

.poem-row-link:hover { opacity: 0.6; }

.poem-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  font-style: italic;
}

.poem-title-bold {
  font-weight: 500;
  font-style: italic;
}

.poem-colon {
  font-weight: 500;
  font-style: italic;
}

.poem-subtitle-text {
  font-weight: 400;
  font-style: italic;
}

/* --- POETRY POST LAVENDER OVERRIDES --- */
body.poetry-post .post-tag {
  background: var(--accent-poems);
  color: #fff;
}

body.poetry-post .post-tag:hover {
  background: #a08ece;
}

body.poetry-post .gh-content p:first-of-type::first-letter {
  color: var(--accent-poems);
}

body.poetry-post .post-divider-dot {
  background: var(--accent-poems);
}

body.poetry-post .gh-content blockquote {
  border-left-color: var(--accent-poems);
}

body.poetry-post .gh-content a {
  color: var(--accent-poems);
}

body.poetry-post .section-label::after {
  background: var(--accent-poems);
  opacity: 0.3;
}

.fiction-title {
  border-left-color: var(--accent-poems);
}

/* --- FOOTER --- */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 36px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 24px;
}

.footer-brand {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
  padding-top: 2px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding-top: 16px;
  font-size: 11px;
  color: var(--text-light);
}

/* Hide Ghost's auto-injected excerpt inside post body — we render it manually in the header */
.gh-content .gh-content-excerpt,
.post-body > p.gh-content-excerpt,
.gh-content > p:first-child.kg-post-excerpt,
.gh-content > p.kg-excerpt,
.post-body .gh-content > p:first-of-type[data-excerpt],
.kg-post-excerpt { display: none; }

/* --- GHOST EDITOR CARD WIDTHS --- */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 32px auto;
  transform: translateX(calc(50% - 50vw * 0.85));
}

.kg-width-full {
  position: relative;
  width: 100vw;
  margin: 32px auto;
  transform: translateX(calc(50% - 50vw));
}

.kg-width-wide img,
.kg-width-full img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .featured-post { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .post-title { font-size: 28px; }
  .featured-title { font-size: 22px; }

  .video-item { grid-template-columns: 1fr; gap: 24px; }

  .subscribe-band { padding: 32px 24px; }
  .subscribe-band h3 { font-size: 22px; }
  .subscribe-form { flex-direction: column; width: 100%; max-width: 320px; }
  .sub-input { width: 100%; border-right: 1.5px solid #eaeaed; border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .sub-btn { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

  .post-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  .essay-row-link { flex-direction: column; gap: 12px; }
  .essay-row-right { flex-direction: row; align-items: center; width: 100%; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .category-nav { gap: 6px; }
}
