 /*****************************************
  JOURNAL STYLES (BLOG STYLES)
  ******************************************/
  
  /* Journal hero */
  .journal-hero {
    color: #FFFFFF;
    padding: 5rem 2rem 0;
    max-width: 960px;
    margin: 0 auto;
}
  
  .journal-title {
    font-family: 'She Lost Her Mind Serif', serif;
    font-size: 6.25rem;
    font-weight: 300;
    margin: 0;
  }
  
  /* .journal-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    max-width: 640px;
    margin: 0 auto;
  } */

  /* Blog grid wrapper */
.journal-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 2rem 4rem;
    max-width: 960px;
    margin: 0 auto;
}

.journal-posts-grid .pagination {
  text-align: center;
  margin: 4rem 0 2rem;
}

.journal-posts-grid .pagination ul {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.journal-posts-grid .pagination li a,
.journal-posts-grid .pagination li span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.journal-posts-grid .pagination li a:hover {
  background: #dd0a8b;
  border-color: #dd0a8b;
  color: #fff;
}

.journal-posts-grid .pagination .current {
  background: #dd0a8b;
  border-color: #dd0a8b;
  font-weight: bold;
}

/* Each blog post card */
.journal-post {
    display: flex;
    gap: 2rem;
    background-color: #111;
    overflow: hidden;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: white;
}

.journal-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.card-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

/* Thumbnail */
.card-thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.journal-post:hover .card-thumb img {
  transform: scale(1.05);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.card-category {
    padding: 0px 8px;
    width: fit-content;
    border-radius: 12px;
    background: #DD0A8B;
    margin-bottom: 16px;
}

/* Title */
.card-title {
  font-family: 'Ppmori', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: #fff;
}

/* Excerpt */
.card-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #AAA;
  /* display: none; */
}


@media screen and (max-width: 780px) {
  /* .card-title {font-size: 1.25rem;} */

  .card-link {
    flex-direction: column;
  }
  .card-thumb {
    aspect-ratio: 3 / 2;
    max-width: 100%;
  }
  .card-content {
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 640px) {
  .journal-posts-grid {
    padding: 1rem;
  }
  
  .journal-hero {
    padding: 4rem 1rem 0;
  }
  
  .journal-title {
    font-size: 3rem;
  }
  
  .journal-subtitle {
    font-size: 1.05rem;
  }
  
  .card-title {
    font-size: 1.5rem;
  }
  
  .card-excerpt {
    font-size: 1rem;
  }
}


/* Article wrapper */
.single-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: left;
}

/* Header */
.article-header {
  text-align: left;
  margin-bottom: 2rem;
}

.article-title {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 1rem 0 2rem 0;
}

.article-meta {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

/* Featured image */
.article-featured-image {
  margin: 2rem 0 3rem;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Content body */
.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
}

.article-content h1,
.article-content h2, 
.article-content h3,
.article-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: white;
  line-height: 1.25;
}

.article-content h1 {
  font-size: 3rem;
}
.article-content h2 {
  font-size: 2.5rem;
}
.article-content h3 {
  font-size: 2rem;
}
.article-content h4 {
  font-size: 1.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #ccc;
  font-size: 1.125rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ccc;
  list-style: outside;
}

.article-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  font-style: italic;
  margin: 2rem 0;
}

.article-content blockquote p {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  
}

.article-content .is-type-video iframe {
  aspect-ratio: 3 / 2;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.wp-block-separator {
  border: none;
  border-top: 2px solid #333;
}

/* Footer */
.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.post-tags {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

@media screen and (max-width: 640px) {
  .single-article {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .article-title {
    font-size: 2.5rem;
  }
  .article-content h1 {
    font-size: 2.5rem;
  }
  .article-content h2 {
    font-size: 2rem;
  }
  .article-content h3 {
    font-size: 1.5rem;
  }
}