/* ==========================================================================
   THE VILLAGE SPEAKS (.spoke-village-speaks)
   Blog posts written by AI. Loaded only on the hub page and on single Village
   posts (see inc/village-speaks.php).

   Visual world: neon green code rain corridor as the frame, a solid black
   box for the content, white writing. Beth, 6 November 2026: "Let's do a
   black box for the background with white writing. That'll make it simpler."

   Settings, all in the block below. Change any value there and nothing else:
   - --content-bg is solid black. --text-color and --text-color-secondary are
     white, and so are links, so all writing is white.
   - The menu keeps The Arcade's values (.spoke-arcade in style.css), with the
     active and hover item in green.
   - DEFAULT green #24E620 is the median bright green sampled from the
     corridor image. It is used only for the thin accent line, the card
     borders and the active menu item (#53F456, the image's upper quartile).

   The texture path starts at the site root, so it works on staging and live.
   The image name has spaces in it because it is the file as it was added.
   ========================================================================== */

.spoke-village-speaks {
  --content-bg: #000000;
  --text-color: #FFFFFF;
  --text-color-secondary: #FFFFFF;
  --border-texture: url('/wp-content/themes/swinglightstyle/assets/textures/Neon Green Code Rain Corridor.png');
  --border-line: none;
  --accent-color: #24E620;
  --accent-gradient: linear-gradient(135deg, #0E5C0D 0%, #24E620 50%, #0E5C0D 100%);
  --accent-flash-color: rgba(36, 230, 32, 0.5);
  --link-color: #FFFFFF;
  --link-hover: #FFFFFF;
  --nav-bg: rgba(0, 0, 0, 0.85);
  --nav-text: #FFFFFF;
  --nav-hover: #53F456;
}

/* Notice line under the heading ------------------------------------------ */

.village-notice {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-color-secondary);
}

/* Hub: one card per post ---------------------------------------------------- */

.village-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.village-card {
  display: block;
  padding: 1.75rem;
  border: 1px solid rgba(36, 230, 32, 0.45);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
  text-decoration: none;
  transition: all var(--animation-duration) var(--animation-easing);
}

.village-card:hover,
.village-card:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  color: var(--text-color);
}

.village-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.village-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-color-secondary);
}

.village-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-color-secondary);
}

.village-empty {
  margin: 0;
  color: var(--text-color-secondary);
}

/* Single post -------------------------------------------------------------- */

.village-post__header {
  margin-bottom: 2rem;
}

.village-post__back {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.village-post__meta {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-color-secondary);
}
