/* =========================
   LIVING NOVELS – GLOBAL STYLES
   ========================== */

/* --- Base --- */

body {
  background-color: #0e0f0d;        /* near-black */
  color: #d9d0c3;                   /* warm off-white */
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f2e9dd;
  text-rendering: geometricPrecision;
  text-shadow: none;
}

/* Links */

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

a:hover,
a:focus {
  color: #e1cf9a;
  text-decoration: underline;
}

/* =========================
   BUTTONS (Kadence + core)
   ========================== */

.wp-element-button,
.kt-btn,
.kt-blocks-button,
button,
input[type="submit"] {
  background: transparent;
  border: 1px solid #c5b081;
  color: #c5b081;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease-out;
}

.wp-element-button:hover,
.kt-btn:hover,
.kt-blocks-button:hover,
button:hover,
input[type="submit"]:hover {
  background: rgba(197, 176, 129, 0.12);
  border-color: #e1cf9a;
  color: #e1cf9a;
  text-decoration: none;
}

/* If you have a “filled” button variant */
.ln-btn--filled {
  background: #c5b081;
  color: #141210;
  border-color: #c5b081;
}

.ln-btn--filled:hover {
  background: #e1cf9a;
  border-color: #e1cf9a;
  color: #141210;
}

/* =========================
   HERO (HOMEPAGE – MOCKUP 3)
   ========================== */

.ln-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
}

.ln-hero .ln-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.ln-hero h1 {
  font-size: clamp(2.8rem, 3.8vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.ln-hero .ln-hero__subtitle {
  font-size: 1.1rem;
  color: #b9afa1;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.ln-hero .ln-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* =========================
   “WHAT IS LIVING NOVELS?” SECTION
   ========================== */

.ln-intro {
  padding: 5rem 0;
  background-color: #F5F4F0; /* Updated bone background */
}

.ln-intro .ln-intro__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.ln-intro h2 {
  font-size: clamp(2.1rem, 2.7vw, 3rem);
  margin-bottom: 1.5rem;
}

.ln-intro p {
  color: #e2dbd0; /* Slightly lighter for better clarity */
}

/* =========================
   CHARACTER GRID (HOMEPAGE)
   ========================== */

.ln-characters {
  padding: 4.5rem 0 5.5rem;
}

.ln-characters__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.ln-character-card {
  background: #141210;
  border-radius: 1.5rem;
  padding: 1.8rem 1.8rem 2rem;
  border: 1px solid rgba(197, 176, 129, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.ln-character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(225, 207, 154, 0.7);
}

.ln-character-card img {
  border-radius: 1.2rem;
  display: block;
  width: 100%;
  height: auto;
}

.ln-character-card h3 {
  font-size: 1.5rem;
  margin: 0.3rem 0 0.4rem;
}

.ln-character-card .ln-character__tagline {
  font-size: 0.95rem;
  color: #b3a99c;
}

.ln-character-card .ln-character__meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8a8174;
}

.ln-character-card .ln-character__actions {
  margin-top: 1.4rem;
}

/* =========================
   PARCHMENT BAND
   ========================== */

.ln-parchment {
  background-color: #d3bfa5;
  color: #201b17;
  padding: 4rem 0;
}

.ln-parchment .ln-parchment__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ln-parchment h2,
.ln-parchment p {
  color: #201b17;
}

.ln-parchment h2 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.ln-parchment p {
  font-size: 1.05rem;
}

/* =========================
   BLOG / STORY STRIP
   ========================== */

.ln-blog {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ln-blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.8rem;
}

.ln-blog__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8a8174;
  margin-bottom: 0.6rem;
}

.ln-blog__title {
  font-size: 1.6rem;
}

/* =========================
   RESPONSIVE TWEAKS
   ========================== */

@media (max-width: 1024px) {
  .ln-characters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ln-blog__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .ln-hero {
    padding: 4.5rem 0 3.5rem;
  }

  .ln-hero .ln-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .ln-characters__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ln-parchment {
    padding: 3rem 1.5rem;
  }
}