:root {
  --accent: #a855f7;
}

/* =========================
   BASE RESET / DEFAULTS
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #000;
  color: #f5f5f5;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  margin: 0 0 0.75em;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  color: #a855f7; /* Accent purple */
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  max-width: 70ch;
}

a {
  color: #a855f7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   LAYOUT HELPERS
========================= */

.wrap {
  max-width: 1100px;
  padding: 2rem 1.25rem;
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

/* =========================
   HEADER / NAV
========================= */

header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  display: block;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.site-tagline {
  font-size: 0.95rem;
  opacity: 0.85;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  font-weight: 500;
}

/* =========================
   HERO
========================= */

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-actions a {
  padding: 0.6rem 1.25rem;
  border: 1px solid #a855f7;
  border-radius: 4px;
  font-weight: 600;
}

.hero-actions a:hover {
  background: #a855f7;
  color: #000;
}

/* =========================
   CARDS / STORIES
========================= */

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

.cards article {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.cards h3 {
  margin-top: 0;
}

.meta {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =========================
   FORMS
========================= */

form {
  max-width: 600px;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

input,
select,
textarea,
button {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1.25rem;
  border-radius: 4px;
  border: none;
  font-family: inherit;
}

input,
select,
textarea {
  background: #111;
  color: #fff;
}

button {
  background: #a855f7;
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.85;
}

/* =========================
   ACCESSIBILITY
========================= */

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #a855f7;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
/* =========================
WP Stories Style
========================= */
/* Auto-feed list (Stories page) */
.feed {
  margin-top: 24px;
}

.feed-status {
  opacity: 0.85;
}

.feed-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feed-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.feed-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}

.feed-title a {
  color: var(--accent);
  text-decoration: none;
}

.feed-title a:hover {
  text-decoration: underline;
}

.feed-excerpt {
  margin: 0;
  max-width: 70ch;
  opacity: 0.92;
  line-height: 1.55;
}

.feed-meta {
  margin: 6px 0 0;
  white-space: nowrap;
  opacity: 0.8;
  font-size: 14px;
}

.feed-dot {
  margin: 0 10px;
  opacity: 0.7;
}

@media (max-width: 820px) {
  .feed-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .feed-meta {
    white-space: normal;
  }
	/* Story feed titles */
/* Story feed titles */
.feed-title a,
.feed-title a:visited {
  color: var(--accent) !important;
  text-decoration: none;
}

.feed-title a:hover {
  text-decoration: underline;
}
