/*
Theme Name: Pleidou
Theme URI: https://www.pleidou.com
Author: Pleidou
Description: Starter theme for the Pleidou online radio station. Recreates the current landing page (radio embed, interactive dot canvas, newsletter signup) as a base to build the rest of the site on.
Version: 2.4.0
Text Domain: pleidou
*/

:root {
  --pleidou-bg: #dfe0dc;
  --pleidou-black: #000000;
  --pleidou-green: #17c692;
  --pleidou-grey-dot: #b0b2ac;
  --pleidou-fg-on-bg: #1a1a1a;
  --pleidou-fg-on-black: #ffffff;
  --pleidou-muted: #8a8a8a;
  --pleidou-border: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--pleidou-bg);
  color: var(--pleidou-fg-on-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

body.pleidou-home {
  overflow-x: hidden;
}

a {
  color: inherit;
}

#pleidou-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  cursor: crosshair;
}

.pleidou-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.pleidou-logo img {
  max-width: 286px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pleidou-player-frame {
  width: 100%;
  max-width: 460px;
  background: var(--pleidou-black);
  border: 2px solid var(--pleidou-green);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pleidou-player-frame iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 7px;
  display: block;
}

.pleidou-player-fallback {
  font-size: 0.78rem;
  color: var(--pleidou-muted);
  margin-top: 0.6rem;
}

.pleidou-youtube-frame {
  width: 100%;
  max-width: 460px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--pleidou-green);
  background: var(--pleidou-black);
}

.pleidou-youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pleidou-hint {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--pleidou-muted);
  text-transform: uppercase;
}

/* Newsletter — full-bleed black wrapper */
.pleidou-newsletter-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--pleidou-black);
  color: var(--pleidou-fg-on-black);
  padding: 4.5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.pleidou-newsletter {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.pleidou-newsletter h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.pleidou-newsletter p {
  font-size: 0.9rem;
  color: #c9c9c9;
  margin: 0 0 1.8rem;
}

.pleidou-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.pleidou-form label.field-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8a8a8;
  margin-bottom: 0.35rem;
}

.pleidou-form input[type="text"],
.pleidou-form input[type="email"] {
  width: 100%;
  background: transparent;
  border: 1px solid var(--pleidou-border);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  color: var(--pleidou-fg-on-black);
  font-size: 0.9rem;
  outline: none;
}

.pleidou-form input::placeholder {
  color: #777;
}

.pleidou-form input:focus {
  border-color: var(--pleidou-green);
}

.pleidou-form button {
  margin-top: 0.4rem;
  background: var(--pleidou-green);
  color: #04231a;
  border: none;
  border-radius: 4px;
  padding: 0.85rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.pleidou-form button:hover {
  filter: brightness(1.05);
}

.pleidou-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.pleidou-form-message {
  font-size: 0.8rem;
  min-height: 1.1em;
}

.pleidou-form-message[data-state="ok"] {
  color: #7bd88f;
}

.pleidou-form-message[data-state="error"] {
  color: #e08585;
}

.pleidou-recaptcha-disclosure {
  font-size: 0.68rem;
  line-height: 1.5;
  color: #888;
  margin-top: 1rem;
}

.pleidou-recaptcha-disclosure a {
  color: #aaa;
  text-decoration: underline;
}

.pleidou-recaptcha-disclosure a:hover {
  color: var(--pleidou-green);
}

/* Footer — black, two columns */
.pleidou-footer-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--pleidou-black);
  color: #9a9a9a;
  padding: 3rem 1.5rem 2rem;
}

.pleidou-footer-columns {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pleidou-footer-col-left {
  display: flex;
  align-items: center;
}

.pleidou-footer-col-left img {
  max-width: 125px;
  height: auto;
}

.pleidou-footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  text-align: right;
}

.pleidou-upload-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pleidou-green);
  color: #04231a;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid var(--pleidou-green);
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  box-shadow: 0 4px 18px rgba(23, 198, 146, 0.28);
}

.pleidou-upload-link:hover {
  background: transparent;
  color: var(--pleidou-fg-on-black);
}

.pleidou-upload-sub {
  font-size: 0.9rem;
  color: #ffffff;
}

.pleidou-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
}

.pleidou-social {
  display: flex;
  gap: 0.9rem;
}

.pleidou-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.85;
}

.pleidou-social a:hover {
  opacity: 1;
  border-color: var(--pleidou-green);
}

.pleidou-social-icons {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.pleidou-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pleidou-fg-on-black);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pleidou-social-icons a:hover {
  border-color: var(--pleidou-green);
  color: var(--pleidou-green);
}

.pleidou-footer-copy {
  font-size: 0.72rem;
  color: #6f6f6f;
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  .pleidou-footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pleidou-footer-col-left {
    justify-content: center;
  }
  .pleidou-footer-col-right {
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pleidou-canvas {
    display: none;
  }
}

/* Music upload page */
.pleidou-page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
}

.pleidou-page-card {
  width: 100%;
  max-width: 480px;
  background: var(--pleidou-black);
  color: var(--pleidou-fg-on-black);
  border-radius: 10px;
  padding: 2.5rem;
  border: 2px solid var(--pleidou-green);
}

.pleidou-page-card h1 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.pleidou-page-card p.intro {
  color: #c9c9c9;
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.pleidou-page-card .pleidou-form input[type="file"] {
  color: #c9c9c9;
  font-size: 0.82rem;
}

.pleidou-page-card textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--pleidou-border);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  color: var(--pleidou-fg-on-black);
  font-size: 0.9rem;
  font-family: inherit;
  min-height: 90px;
  resize: vertical;
}

.pleidou-back-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--pleidou-muted);
  text-decoration: none;
}

.pleidou-back-link:hover {
  color: var(--pleidou-fg-on-bg);
}

/* File/link toggle on the upload page */
.pleidou-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--pleidou-border);
  border-radius: 999px;
  padding: 4px;
}

.pleidou-toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a8a8a8;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.pleidou-toggle-btn.is-active {
  background: var(--pleidou-green);
  color: #04231a;
}

/* Honeypot field — invisible to real visitors, but present in the DOM
   (not display:none, which some bots specifically skip) so simple bots
   that fill in every field trip it. */
.pleidou-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.pleidou-max-size-note {
  font-size: 0.72rem;
  color: #888;
  margin: 0.4rem 0 0;
}

.pleidou-upload-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 0.9rem;
}

.pleidou-upload-progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.pleidou-upload-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--pleidou-upload-progress, 0%);
  background: var(--pleidou-green);
  border-radius: 999px;
  transition: width 0.15s ease;
}

.pleidou-upload-progress-label {
  font-size: 0.75rem;
  color: #c9c9c9;
  min-width: 2.6em;
  text-align: right;
}

.pleidou-consent-field {
  border: 1px solid var(--pleidou-border);
  border-radius: 6px;
  padding: 0.9rem 1rem;
}

.pleidou-consent-field label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: #c9c9c9;
  line-height: 1.4;
}

.pleidou-consent-field input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--pleidou-green);
  flex-shrink: 0;
}

/* Sticky site header — logo + mini live player, nav below.
   Shown on every page except the front page. */
.pleidou-sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pleidou-black);
  color: var(--pleidou-fg-on-black);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.pleidou-sticky-header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
}

.pleidou-sticky-header-logo {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.pleidou-sticky-header-logo img {
  height: 100px;
  width: auto;
  display: block;
}

/* Floating live player — fixed, independent of the header, visible while
   scrolling. Compact bottom-right by default; becomes a larger right-center
   panel on wide screens where it won't overlap page content. */
.pleidou-floating-player {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 95;
  width: 200px;
  background: #161616;
  border: 2px solid var(--pleidou-green);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(23, 198, 146, 0.25), 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  line-height: 0;
}

.pleidou-floating-player iframe {
  width: 100%;
  height: 120px;
  border: 0;
  display: block;
}

@media (min-width: 900px) {
  .pleidou-floating-player {
    top: 200px;
    bottom: auto;
    right: 0;
    transform: none;
    width: 240px;
    border-radius: 10px 0 0 10px;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .pleidou-floating-player iframe {
    height: 140px;
  }
}

@media (min-width: 1300px) {
  .pleidou-floating-player {
    width: 260px;
  }
  .pleidou-floating-player iframe {
    height: 150px;
  }
}

.pleidou-sticky-header-nav {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1.75rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pleidou-header-search {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.4rem 0.25rem 0.9rem;
  gap: 0.4rem;
}

.pleidou-header-search input[type="search"] {
  background: transparent;
  border: none;
  outline: none;
  color: var(--pleidou-fg-on-black);
  font-size: 0.8rem;
  width: 130px;
}

.pleidou-header-search input[type="search"]::placeholder {
  color: #888;
}

.pleidou-header-search button {
  background: transparent;
  border: none;
  color: #bbb;
  display: flex;
  align-items: center;
  padding: 0.35rem;
  cursor: pointer;
  border-radius: 50%;
}

.pleidou-header-search button:hover {
  color: var(--pleidou-green);
}

.pleidou-site-nav-list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.pleidou-site-nav-list a {
  text-decoration: none;
  font-size: 1.07rem;
  font-weight: 600;
  color: #d8d8d8;
  letter-spacing: 0.02em;
}

.pleidou-site-nav-list a:hover {
  color: var(--pleidou-green);
}

#pleidou-main.is-loading {
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

/* Standard content pages/posts */
.pleidou-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}

.pleidou-content article + article {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pleidou-content h1.entry-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.pleidou-content h2.entry-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}

.pleidou-content h2.entry-title a {
  color: var(--pleidou-fg-on-bg);
  text-decoration: none;
}

.pleidou-content h2.entry-title a:hover {
  color: var(--pleidou-green);
}

.pleidou-entry-meta {
  font-size: 0.78rem;
  color: var(--pleidou-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.pleidou-entry-thumb {
  margin: 0 0 1.75rem;
  border-radius: 8px;
  overflow: hidden;
}

.pleidou-entry-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.pleidou-entry-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #2a2a2a;
}

.pleidou-entry-content p {
  margin: 0 0 1.3rem;
}

.pleidou-entry-content h2,
.pleidou-entry-content h3 {
  margin: 2rem 0 0.8rem;
  font-weight: 800;
}

.pleidou-entry-content a {
  color: var(--pleidou-fg-on-bg);
  text-decoration: underline;
  text-decoration-color: var(--pleidou-green);
  text-decoration-thickness: 2px;
}

.pleidou-entry-content blockquote {
  margin: 1.75rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--pleidou-green);
  color: #4a4a4a;
  font-style: italic;
}

.pleidou-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.pleidou-entry-content ul,
.pleidou-entry-content ol {
  padding-left: 1.3rem;
  margin: 0 0 1.3rem;
}

.pleidou-page-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 1.5rem 0 0.5rem;
}

.pleidou-archive-intro {
  font-size: 0.85rem;
  color: var(--pleidou-muted);
  margin-bottom: 2.5rem;
}

.pleidou-pagination {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}

.pleidou-pagination a,
.pleidou-pagination span {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--pleidou-border-light, rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  text-decoration: none;
  color: var(--pleidou-fg-on-bg);
}

.pleidou-pagination .current {
  background: var(--pleidou-green);
  border-color: var(--pleidou-green);
  color: #04231a;
  font-weight: 700;
}

.pleidou-search-form {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 2.5rem;
}

.pleidou-search-form input[type="search"] {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 0.9rem;
  background: #fff;
}

.pleidou-search-form button {
  background: var(--pleidou-black);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.pleidou-404 {
  text-align: center;
  padding: 5rem 1.5rem;
}

.pleidou-404 h1 {
  font-size: 4rem;
  margin: 0;
  color: var(--pleidou-green);
}

@media (max-width: 640px) {
  .pleidou-sticky-header-top {
    padding: 0.75rem 1.25rem;
  }
  .pleidou-sticky-header-logo img {
    height: 70px;
  }
  .pleidou-sticky-header-nav {
    padding: 0.6rem 1.25rem 0.85rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  .pleidou-site-nav-list {
    gap: 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pleidou-header-search {
    position: static;
    transform: none;
    width: 100%;
  }
  .pleidou-header-search input[type="search"] {
    width: 100%;
  }
}

/* Content width modifiers */
.pleidou-content--wide {
  max-width: 1000px;
}

.pleidou-content--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Archive / search header */
.pleidou-archive-header {
  margin-bottom: 2.5rem;
}

.pleidou-archive-header .pleidou-page-title span {
  color: var(--pleidou-green);
}

.pleidou-archive-description {
  color: var(--pleidou-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Post grid / cards (archive, search) */
.pleidou-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pleidou-post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.pleidou-post-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pleidou-post-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.pleidou-post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pleidou-post-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}

.pleidou-post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.35rem 0 0.6rem;
}

.pleidou-post-card-excerpt {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.pleidou-post-card:hover .pleidou-post-card-title {
  color: var(--pleidou-green);
}

/* Single post navigation */
.pleidou-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
}

.pleidou-post-nav a {
  text-decoration: none;
  color: var(--pleidou-fg-on-bg);
}

.pleidou-post-nav a:hover {
  color: var(--pleidou-green);
}

.pleidou-post-nav-next {
  text-align: right;
  margin-left: auto;
}

.pleidou-entry-tags {
  font-size: 0.8rem;
  color: var(--pleidou-muted);
  margin-top: 2rem;
}

/* Comments */
.pleidou-comments {
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pleidou-comments-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.pleidou-comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.pleidou-comment-list li {
  margin-bottom: 1.5rem;
}

.pleidou-comment-list .comment-body {
  background: #fff;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
}

.pleidou-comment-list .comment-author .fn {
  font-weight: 700;
  font-style: normal;
  font-size: 0.9rem;
}

.pleidou-comment-list .comment-meta {
  font-size: 0.75rem;
  color: var(--pleidou-muted);
  margin-bottom: 0.5rem;
}

.pleidou-comment-list .comment-content p {
  font-size: 0.9rem;
  margin: 0.4rem 0;
}

.pleidou-comment-form textarea {
  width: 100%;
  min-height: 120px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
}

.pleidou-comment-form p {
  margin: 0 0 1rem;
}

.pleidou-comment-submit {
  background: var(--pleidou-green);
  color: #04231a;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Substack-style newsletter layout (blog index + archives) */
.pleidou-newsletter-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.pleidou-archive-list {
  display: flex;
  flex-direction: column;
}

.pleidou-archive-row {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pleidou-archive-row:first-child {
  padding-top: 0;
}

.pleidou-archive-row-link {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}

.pleidou-archive-row-thumb {
  flex: 0 0 140px;
  width: 140px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #e4e4e0;
}

.pleidou-archive-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pleidou-archive-row-body {
  flex: 1;
  min-width: 0;
}

.pleidou-archive-row-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.3rem 0 0.5rem;
  line-height: 1.35;
}

.pleidou-archive-row:hover .pleidou-archive-row-title {
  color: var(--pleidou-green);
}

.pleidou-archive-row-excerpt {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

/* Sticky subscribe sidebar */
.pleidou-newsletter-sidebar {
  position: sticky;
  top: 140px;
}

.pleidou-sidebar-subscribe {
  background: var(--pleidou-black);
  color: var(--pleidou-fg-on-black);
  border-radius: 10px;
  padding: 2rem 1.75rem;
}

.pleidou-sidebar-subscribe h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.pleidou-sidebar-subscribe p {
  font-size: 0.85rem;
  color: #c9c9c9;
  margin: 0 0 1.5rem;
}

@media (max-width: 860px) {
  .pleidou-newsletter-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pleidou-newsletter-sidebar {
    position: static;
    order: -1;
  }
  .pleidou-archive-row-thumb {
    flex-basis: 96px;
    width: 96px;
  }
}
