/* === Calder N. Halden — The Noise Beneath the Flesh === */
/* Inherits structure from author-base.css */
@import url("/assets/css/author-base.css");

/* -------------------------------------------------
   BLOG COLOR + VARIABLE OVERRIDES
------------------------------------------------- */
:root {
  --blog-accent: #00747a;      /* MirrorDrown deep teal */
  --blog-gradient: linear-gradient(180deg, #00747a00 0%, #00747acc 60%, #00747af0 100%);
}

/* -------------------------------------------------
   HERO
------------------------------------------------- */
.blog-hero {
  background: #000;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: clamp(220px, 32vh, 400px);
  overflow: hidden;
}

.blog-hero .banner {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(.95) contrast(1.02);
}

.blog-hero .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.8) 100%);
}

.blog-hero .overlay h1 {
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--gold);
  text-shadow: 0 0 16px rgba(0,0,0,.85);
  margin: 0;
}

.blog-hero .overlay p.tag {
  margin-top: 0.4rem;
  font-family: "Unica One", sans-serif;
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--blog-accent);
  text-shadow: 0 0 6px #000;
}

/* -------------------------------------------------
   BODY TYPOGRAPHY
------------------------------------------------- */
.page.blog .copy {
  max-width: 72ch;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 1.03rem;
  color: var(--ink);
}

.page.blog .copy h1,
.page.blog .copy h2,
.page.blog .copy h3 {
  color: var(--blog-accent);
  margin-top: 2.4rem;
  text-shadow: 0 0 8px rgba(0,0,0,.35);
}

.page.blog .copy a {
  color: var(--blog-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}

.page.blog .copy a:hover {
  color: var(--gold);
}

/* -------------------------------------------------
   META LINE
------------------------------------------------- */
.meta-line {
  font-family: "Unica One", sans-serif;
  font-size: 0.85rem;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 1.2rem;
  text-align: center;
}
.meta-line em {
  color: var(--blog-accent);
  font-style: normal;
}

/* -------------------------------------------------
   BUTTONS / ACCENTS
------------------------------------------------- */
.btn[data-accent="blog"] {
  background: var(--blog-accent);
  color: var(--bg-0);
  box-shadow: 0 0 12px color-mix(in srgb, var(--blog-accent) 40%, transparent);
}
.btn[data-accent="blog"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px color-mix(in srgb, var(--blog-accent) 60%, transparent);
}

/* -------------------------------------------------
   FOOTER VARIANT
------------------------------------------------- */
footer.site-footer.blog-footer {
  background: linear-gradient(180deg, #0d0d0f 0%, #050506 100%);
  border-top: 1px solid #111;
}

/* -------------------------------------------------
   RESPONSIVE
------------------------------------------------- */
@media (max-width: 820px) {
  .blog-hero { height: clamp(190px, 36vh, 360px); }
  .blog-hero .overlay h1 { font-size: clamp(28px, 6vw, 42px); }
}

/* -------------------------------------------------
   BUTTON COLOR CHANGE
------------------------------------------------- */
.btn[data-accent="blog"] {
  background: var(--blog-accent);
  color: #000 !important;                     /* readable by default */
  box-shadow: 0 0 12px color-mix(in srgb, var(--blog-accent) 40%, transparent);
}

.btn[data-accent="blog"]:hover,
.btn[data-accent="blog"]:focus-visible {
  color: var(--gold) !important;              /* gold on hover/focus */
  transform: translateY(-1px);
  box-shadow: 0 0 16px color-mix(in srgb, var(--blog-accent) 60%, transparent);
  outline: none;
}
.blog-subtitle {
  margin: 10px auto 14px;
  font-family: "Unica One", sans-serif;
  letter-spacing: .08em;
  color: var(--archive-blue); /* #00747a */
}

/* readable default, gold on hover (you can keep this if already added) */
.btn[data-accent="blog"] { color:#000 !important; }
.btn[data-accent="blog"]:hover,
.btn[data-accent="blog"]:focus-visible { color: var(--gold) !important; }

.blog-breadcrumb { margin: 6px auto 8px; }
.back-link{
  display:inline-block;
  font-family:"Unica One",sans-serif;
  letter-spacing:.08em;
  color: var(--archive-blue);
  text-decoration:none;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background: rgba(0,116,122,.08);
  transition: color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.back-link:hover,
.back-link:focus-visible{
  color: var(--gold);
  box-shadow:0 0 12px color-mix(in srgb, var(--archive-blue) 35%, transparent);
  transform: translateY(-1px);
  outline:none;
}

.blog-nav{ margin: 0 auto 10px; }
.blog-nav .nav-link{
  font-family:"Unica One",sans-serif;
  letter-spacing:.08em;
  color: var(--archive-blue);
  text-decoration:none;
  padding:4px 6px;
}
.blog-nav .nav-link:hover{ color: var(--gold); }
.blog-nav .dot{ color: var(--muted); padding:0 4px; }

/* Title link in the summary row */
.post-link-title{
  color: var(--ink);
  text-decoration: none;
}
.post-link-title:hover,
.post-link-title:focus{
  color: var(--gold);
  text-decoration: underline;
}

/* Right-aligned date */
.post-date{
  float: right;
  color: #aaa;
}

/* Excerpt + Read link */
.excerpt{ margin:.5rem 0 0.25rem; }
.read-row{ text-align:center; margin: .4rem 0 0; }
.read-post{
  font-family:"Unica One",sans-serif;
  letter-spacing:.06em;
  text-decoration:none;
  color: var(--archive-blue);
}
.read-post:hover,
.read-post:focus{ color: var(--gold); }

/* Make the whole card clickable without visual clutter */
.faq-item{ position: relative; }
.faq-panel{ position: relative; }
.stretched-link{
  position:absolute; inset:0;
  z-index: 1;
  text-indent:-9999px; /* hide text */
  overflow:hidden;
}

/* Reader note form layout */
.reader-note { margin-top: 2rem; margin-bottom: 1.5rem; }

.reader-note .note-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.reader-note .note-form.two-col { grid-template-columns: 1fr 1fr; }
.reader-note .note-form .span-2 { grid-column: 1 / -1; }

.reader-note .note-form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: .02em;
}

.reader-note .note-form input[type="text"],
.reader-note .note-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .6rem .75rem;
  border: 1px solid #333;        /* matches your dark theme */
  background: #0f0f10;
  color: #eee;
  border-radius: 8px;
}

.reader-note .note-form textarea { min-height: 10rem; }

/* keep captcha tidy on narrow screens */
.reader-note .note-form .g-recaptcha {
  transform-origin: left top;
  margin-top: 4px;
}

/* button spacing */
.reader-note .note-form .btn { margin-top: .25rem; }

/* hide honeypot */
.reader-note .note-form .hp { display:none !important; }

/* Link Tree for Blod Posts */
.archive-tree { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid #2a2a2a; }
.archive-tree .h6 { margin-bottom: .5rem; color: #7fd0c7; letter-spacing: .06em; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 20px;
}
.archive-year-title { margin: .25rem 0 .25rem; font-weight: 600; color: #e0b84a; }
.archive-months { list-style: none; margin: 0; padding: 0; }
.archive-months li { margin: .15rem 0; }
.archive-months a { text-decoration: none; }
.archive-months .count { opacity: .7; }

.subscribe-callout {
  text-align: center;
  margin: 2.5rem auto;
  max-width: 700px;
}
.subscribe-callout h2 {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  text-shadow: 0 0 10px #000;
  margin-bottom: .5rem;
}
.subscribe-callout p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
  color: var(--ink);
}
.subscribe-callout .btn-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* ===== Pinned Manifesto Panel ===== */
.pinned-manifesto {
  margin: 1.8rem 0 2.6rem;
  padding: 1px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255,120,180,.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0,116,122,.45), transparent 60%);
}

.pinned-manifesto .pinned-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  border-radius: 20px;
  padding: 20px 20px 22px;
  background: radial-gradient(circle at top left, #181018, #0b0b10);
  box-shadow: 0 18px 40px rgba(0,0,0,.75);
}

.pinned-image {
  flex: 0 0 320px;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
}

.pinned-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pinned-text {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pinned-kicker {
  margin: 0 0 .4rem;
  font-family: "Unica One", sans-serif;
  letter-spacing: .18em;
  font-size: .78rem;
  text-transform: uppercase;
  color: #ff7aa8; /* echoes the Calder Bare pink */
}

.pinned-text h2 {
  margin: .1rem 0 .6rem;
  font-size: 1.5rem;
  color: var(--ink);
}

.pinned-text h2 a {
  color: inherit;
  text-decoration: none;
}

.pinned-text h2 a:hover,
.pinned-text h2 a:focus-visible {
  color: var(--gold);
}

.pinned-summary {
  margin: .4rem 0 .9rem;
  color: var(--muted);
}

.pinned-cta .btn {
  margin-top: .3rem;
}

/* Stack image over text on small screens */
@media (max-width: 820px) {
  .pinned-manifesto .pinned-inner {
    flex-direction: column;
  }
  .pinned-image {
    flex: 1 1 auto;
  }
}

.note-policy {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  color: #9aa0a6; /* muted */
  max-width: 42rem;
  margin: 0.25rem 0 1.25rem;
}

/* Memorandum should read as integrated, not a boxed sidebar */
.threnna-memo{
  border-left: 0 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.threnna-memo .memo-meta{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .95rem;
  line-height: 1.5;
  opacity: .95;
}

.threnna-memo .memo-stamp{
  display:inline-block;
  margin-top:.75rem;
  padding:.25rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}

.threnna-signature{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
}

.threnna-signature-text{
  flex: 1 1 auto;
  min-width: 0;
}

.threnna-signature-portrait{
  flex: 0 0 auto;
  width: 140px;       /* hard cap */
  max-width: 140px;   /* prevents global img rules from blowing it up */
  height: auto;
  border-radius: 8px;
  opacity: 0.95;
  display: block;
}

/* HARD STOP: Threnna memorandum signature portrait */
.threnna-memo img.threnna-signature-portrait,
.threnna-memo table img{
  width: 140px !important;
  max-width: 140px !important;
  height: auto !important;
  display: block;
  border-radius: 8px;
  opacity: 0.95;
}

.threnna-memo table{
  width: 100%;
  table-layout: fixed;
}

.threnna-memo table td:last-child{
  width: 160px; /* keeps the image column from expanding */
}

.editor-signature.evan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  gap: 1.5rem;
}

.editor-signature.evan .sig-text {
  font-family: var(--body-font);
  font-size: 0.95rem;
  opacity: 0.9;
}

.editor-signature.evan .sig-image img {
  max-width: 110px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(0,0,0,0.35);
}
