@charset "UTF-8";
/* Styling for the blog overview page and individual blog posts */

/* Blog overview */
.blog-page {
  padding: 2rem;
  background-color: #111;
  color: #fff;
  font-family: 'Anton', sans-serif;
}

.blog-hero {
  text-align: center;
  margin-top: 6rem; /* account for sticky header */
  margin-bottom: 2rem;
}

.blog-hero h1 {
  font-size: 3rem;
  font-family: 'Bebas Neue', sans-serif;
  color: #e53935;
  margin-bottom: 0.5rem;
}

.blog-hero p {
  font-size: 1.2rem;
  color: #ccc;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.blog-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #3399ff;
  margin: 1rem;
}

.blog-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.4;
  flex-grow: 1;
  margin: 0 1rem 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.blog-card a.read-more {
  display: inline-block;
  margin: 0 1rem 1rem;
  color: #e53935;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: bold;
}

.blog-card a.read-more:hover {
  text-decoration: underline;
}

/* Blog post pages */
.blog-post-page {
  padding: 2rem;
  background-color: #111;
  color: #fff;
  /* Headings remain in Anton/Bebas fonts but body text will use Open Sans */
  font-family: 'Anton', sans-serif;
}

.blog-post-header {
  text-align: center;
  margin-top: 6rem; /* offset for sticky header */
  margin-bottom: 1.5rem;
}

.blog-post-header h1 {
  font-size: 3rem;
  font-family: 'Bebas Neue', sans-serif;
  color: #e53935;
}

.blog-post-header p {
  font-size: 1rem;
  color: #ccc;
  margin-top: 0.5rem;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #ccc;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.blog-post-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  color: #3399ff;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.blog-post-content p {
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.blog-post-cta {
  text-align: center;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #1e1e1e;
  border-radius: 8px;
}

.blog-post-cta h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: #e53935;
  margin-bottom: 0.5rem;
}

.blog-post-cta p {
  color: #ccc;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

/* Footer logo sizing: ensure the logo in the footer is smaller and consistent */
.footer-logo img {
  /* Reduce footer logo size further */
  max-width: 35px;
  width: 100%;
  height: auto;
}