/* blogcontent.css */

/* Main container for the blog post */
.blog-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f8f9fa;
  font-family: Arial, sans-serif;
}

/* Blog card layout */
.blog-card {
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
}

/* Blog header */
.blog-header {
  text-align: center;
}

.blog-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.blog-meta {
  font-size: 14px;
  color: #888;
}

.blog-meta span {
  margin-right: 10px;
}

/* Featured Image */
.blog-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Blog Content */
.blog-content {
  line-height: 1.6;
  font-size: 18px;
  color: #333;
}

/* Responsive Video Container */
.blog-content figure.media {
  width: 100%;
  position: relative;

  margin: 20px 0;
}

.blog-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Headings in Content */
.blog-content h2, .blog-content h3 {
  color: #333;
  margin-top: 20px;
}

.blog-content h2 {
  font-size: 28px;
}

.blog-content h3 {
  font-size: 24px;
}

/* Paragraphs */
.blog-content p {
  margin-bottom: 15px;
}

/* Center Images in Content */
.blog-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  border-radius: 8px;
}

/* Links */
.blog-content a {
  color: #007bff;
  text-decoration: none;
}

.blog-content a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Blockquotes */
.blog-content blockquote {
  padding: 15px 20px;
  background-color: #f9f9f9;
  border-left: 4px solid #007bff;
  color: #555;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
      font-size: 26px;
  }
  .blog-content {
      font-size: 16px;
  }
  .blog-content iframe {
      height: 300px;
  }
}

@media (max-width: 576px) {
  .blog-title {
      font-size: 22px;
  }
  .blog-content iframe {
      height: 250px;
  }
}
