.veil-chronicles-hero {
  min-height: 360px;
  background:
    linear-gradient(rgba(5, 5, 12, 0.45), rgba(5, 5, 12, 0.85)),
    url('/wp-content/uploads/blog-veil-hero-1.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.veil-chronicles-overlay {
  max-width: 900px;
  color: #f4ecff;
}

.veil-chronicles-overlay h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(173, 112, 255, 0.75);
}

.veil-chronicles-overlay p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #ddd4f2;
}

.veil-chronicles-wrap {
  background: #070711;
  color: #eee8ff;
  padding: 60px 20px;
}

.veil-chronicles-intro {
  max-width: 850px;
  margin: 0 auto 45px;
  text-align: center;
}

.veil-chronicles-intro h2 {
  color: #c9a7ff;
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.veil-chronicles-intro p {
  color: #cfc6e8;
  font-size: 1.05rem;
  line-height: 1.7;
}

.veil-post-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* Query Loop styling */
.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wp-block-post {
  background: linear-gradient(145deg, #11111f, #090912);
  border: 1px solid rgba(183, 139, 255, 0.28);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 0 20px rgba(93, 53, 145, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wp-block-post:hover {
  transform: translateY(-6px);
  border-color: rgba(203, 166, 255, 0.7);
  box-shadow: 0 0 28px rgba(156, 93, 255, 0.42);
}

.wp-block-post-title a {
  color: #e9ddff;
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: #ffffff;
}

.wp-block-post-excerpt {
  color: #cfc6e8;
}

.wp-block-post-date {
  color: #9f8bc7;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}
/* HERO */

.veil-hero {
    position: relative;
    height: 400px;
    background-image:
        linear-gradient(rgba(8,8,15,.35), rgba(8,8,15,.75)),
        url('wp-content/uploads/theveil.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.veil-hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veil-hero-content {
    text-align: center;
    max-width: 850px;
    padding: 20px;
}

.veil-hero-content h1 {
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 20px;
}

.veil-hero-content p {
    color: #e3d8ff;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* MAIN CONTENT */

.veil-content-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}
.veil-subtitle {
    color: #c9b4ff;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 15px;
}

.veil-introduction-card {
    background: #12121c;
    border: 1px solid #2f2640;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.veil-introduction-card h2 {
    color: #c5a8ff;
    margin-bottom: 20px;
}

.veil-introduction-card p {
    color: #ddd;
    line-height: 1.8;
}

.veil-dispatch-section h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #c5a8ff;
}

/* QUERY LOOP CARDS */

.wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wp-block-post {
    background: #12121c;
    border: 1px solid #2f2640;
    border-radius: 16px;
    overflow: hidden;
    transition: all .3s ease;
}

.wp-block-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(146,95,255,.35);
}

.wp-block-post-featured-image img {
    width: 100%;
}

.wp-block-post-title {
    padding: 15px 20px 0;
}

.wp-block-post-title a {
    color: #fff;
    text-decoration: none;
}

.wp-block-post-excerpt,
.wp-block-post-date {
    padding: 0 20px 15px;
}

@media(max-width:900px) {
    .wp-block-post-template {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:600px) {
    .wp-block-post-template {
        grid-template-columns: 1fr;
    }

    .veil-hero-content h1 {
        font-size: 2.8rem;
    }
}
.chronicles-page {
  background:
    radial-gradient(circle at top left, rgba(126, 78, 255, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(72, 133, 255, 0.16), transparent 35%),
    #060610;
  color: #eee8ff;
}

/* HERO */

.chronicles-hero {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(rgba(5, 5, 14, 0.25), rgba(5, 5, 14, 0.88)),
    url('/wp-content/uploads/ultra_wide_cinematic_fantasy_landscape_at_night_a.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  overflow: hidden;
  border-bottom: 1px solid rgba(190, 150, 255, 0.35);
}

.chronicles-hero::before,
.chronicles-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 113, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.chronicles-hero::before {
  top: -180px;
  left: -120px;
}

.chronicles-hero::after {
  bottom: -220px;
  right: -100px;
}

.chronicles-hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 18, 0.72), transparent 45%, rgba(6, 6, 18, 0.35)),
    radial-gradient(circle at 52% 50%, rgba(132, 87, 255, 0.22), transparent 45%);
}

.chronicles-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 34px;
  border: 1px solid rgba(202, 170, 255, 0.32);
  background: rgba(8, 8, 20, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 22px;
  box-shadow: 0 0 35px rgba(119, 71, 255, 0.32);
}

.chronicles-kicker {
  color: #c7a7ff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.chronicles-hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin: 0 0 18px;
  text-shadow: 0 0 20px rgba(180, 132, 255, 0.85);
}

.chronicles-hero p {
  color: #e4dcff;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* INTRO */

.chronicles-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 40px;
}

.chronicles-card {
  background: linear-gradient(145deg, rgba(19, 18, 34, 0.96), rgba(9, 9, 18, 0.96));
  border: 1px solid rgba(184, 143, 255, 0.28);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 0 24px rgba(91, 54, 158, 0.22);
  transition: all 0.28s ease;
}

.chronicles-card:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 183, 255, 0.75);
  box-shadow: 0 0 32px rgba(149, 95, 255, 0.42);
}

.chronicles-card.featured {
  text-align: center;
  margin-bottom: 34px;
  padding: 44px;
}

.veil-symbol {
  display: block;
  color: #d7c2ff;
  font-size: 3rem;
  margin-bottom: 12px;
  text-shadow: 0 0 18px rgba(177, 124, 255, 0.8);
}

.chronicles-card h2,
.chronicles-card h3 {
  color: #d4bbff;
  margin-bottom: 14px;
}

.chronicles-card p {
  color: #d8d1ea;
  line-height: 1.75;
}

.chronicles-decor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* POSTS */

.chronicles-posts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
  color: #c9a7ff;
}

.section-heading h2 {
  color: #ffffff;
  font-size: 2.3rem;
  margin: 0;
}

.section-heading span {
  color: #9f75ff;
  text-shadow: 0 0 14px rgba(159, 117, 255, 0.85);
}

/* QUERY LOOP POST CARDS */

.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wp-block-post {
  background: linear-gradient(145deg, #11111f, #080812);
  border: 1px solid rgba(184, 143, 255, 0.28);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(91, 54, 158, 0.2);
  transition: all 0.28s ease;
}

.wp-block-post:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 183, 255, 0.75);
  box-shadow: 0 0 30px rgba(149, 95, 255, 0.4);
}

.wp-block-post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.wp-block-post-title,
.wp-block-post-date,
.wp-block-post-excerpt {
  padding-left: 22px;
  padding-right: 22px;
}

.wp-block-post-title a {
  color: #ffffff;
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: #d7c2ff;
}

.wp-block-post-date {
  color: #9f8bc7;
  font-size: 0.9rem;
}

.wp-block-post-excerpt {
  color: #d8d1ea;
  padding-bottom: 22px;
}

/* MOBILE */

@media (max-width: 900px) {
  .chronicles-decor-grid,
  .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }

  .chronicles-hero {
    min-height: 360px;
  }
}

@media (max-width: 650px) {
  .chronicles-decor-grid,
  .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .chronicles-hero-content {
    padding: 24px;
  }
}
.dispatch-email-preview {
  max-width: 720px;
  margin: 40px auto;
  background: #111;
  color: #f4ead7;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.65);
}

.dispatch-email-header img {
  width: 100%;
  display: block;
}

.dispatch-email-body {
  padding: 36px 32px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.dispatch-email-body h1,
.dispatch-email-body h2,
.dispatch-email-body h3 {
  color: #d4af37;
  text-align: center;
}

.dispatch-email-body a {
  color: #d4af37;
  font-weight: 700;
}

.dispatch-email-footer {
  text-align: center;
  padding: 28px 32px 36px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255,255,255,0.03);
}

.dispatch-email-footer img {
  max-width: 220px;
  height: auto;
  margin-bottom: 12px;
}