/* blog-style.css - Professional Blog Styling for MAAC Midnapore */

body {
  background: #f7f7fa;
  color: #222;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.blog-header {
  background: #181818;
  color: #fff;
  padding: 2.5rem 0 2rem 0;
  text-align: center;
  border-bottom: 4px solid #d4af37;
}
.blog-header img {
  max-width: 120px;
  margin-bottom: 1rem;
}
.blog-title {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.blog-subtitle {
  font-size: 1.15rem;
  color: #ffd700;
  font-weight: 500;
}

.blog-post.featured {
  background: #fffbe7;
  border: 2px solid #ffe082;
  box-shadow: 0 4px 24px rgba(212,175,55,0.07);
  border-radius: 16px;
  margin: 2.5rem 0 2rem 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: box-shadow 0.2s;
}
.blog-post:hover {
  box-shadow: 0 6px 24px rgba(212,175,55,0.13);
}
.blog-post img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
.blog-post-content {
  padding: 2rem 2rem 1.5rem 2rem;
}
.blog-post-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #181818;
  letter-spacing: 0.5px;
}
.blog-post-meta {
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 1.1rem;
}
.blog-post-desc {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.read-more {
  color: #d4af37;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}
.read-more:hover {
  text-decoration: underline;
}

.blog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  max-width: none;
  margin: 0 0 3rem 0;
  padding: 0 0.5vw;
}
@media (max-width: 900px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-post-content {
    padding: 1.2rem 1.2rem 1rem 1.2rem;
  }
}

/* Table and FAQ styling */
.blog-post-desc table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.blog-post-desc th, .blog-post-desc td {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  text-align: left;
}
.blog-post-desc th {
  background: #f5f5f5;
  color: #222;
  font-weight: 700;
}
.blog-post-desc ol {
  margin-left: 1.2em;
  margin-bottom: 1.2em;
}
.blog-post-desc h3 {
  color: #d4af37;
  margin-top: 1.7em;
  margin-bottom: 0.7em;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .blog-header img { max-width: 80px; }
  .blog-title { font-size: 1.5rem; }
  .blog-post_title { font-size: 1.1rem; }
  .blog-post-content { padding: 0.8rem; }
  .blog-list { gap: 1.2rem; }
}

#threejs-canvas {
  width: 100%;
  height: 260px;
  background: linear-gradient(90deg,#fffbe7 60%,#ffe082 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #ffe082;
}

.blog-post.featured .blog-post-content {
  margin-top: 0;
}
