/*
Theme Name: Fohdron V2
Author: Zach Nordhof
Description: Full dark mode Gutenberg theme with styled blocks and patterns.
Version: 2.0
*/

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}

a {
    color: #a678f2;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

header, footer {
    background: #1e1e1e;
    padding: 20px;
    text-align: center;
}

.main-content {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

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

.card {
    background: #1d1d1d;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #a678f2;
}
.blog-archive {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.archive-heading {
  font-size: 2rem;
  color: #a678f2;
  margin-bottom: 40px;
  text-align: center;
}

/* BLOG ARCHIVE HEADING */
.wp-block-query-title,
.archive-heading {
  font-size: 2rem;
  color: #a678f2;
  margin-bottom: 40px;
  text-align: center;
}

/* BLOG POST ITEM */
.wp-block-post {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

/* FEATURED IMAGE */
.wp-block-post-featured-image img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

/* POST TITLE */
.wp-block-post-title {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: #ffffff;
}

/* EXCERPT */
.wp-block-post-excerpt {
  color: #cccccc;
  font-size: 1rem;
}

/* READ MORE */
.wp-block-read-more {
  margin-top: 12px;
  display: inline-block;
  color: #a678f2;
  font-weight: 500;
  text-decoration: underline;
}

/* TAGS / TERMS */
.wp-block-post-terms a {
  color: #a678f2;
  font-size: 0.9rem;
  margin-right: 8px;
  text-decoration: none;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
  .wp-block-post {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .wp-block-post-featured-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 16px;
  }
}
