h1,h2,h3,h4,h5 {
    margin-top: 2rem;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  margin-bottom: 1.5rem;
  background: #f9fafb;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* Image Styles for Blog Posts */
.blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* First image floats left */
.blog-image-left {
    float: left;
    margin: 1rem 2rem 1rem 0;
    max-width: 720px;
    width: 100%;
}

/* Second image floats right */
.blog-image-right {
    float: right;
    margin: 1rem 0 1rem 2rem;
    max-width: 720px;
    width: 100%;
}
.blog-image-frame {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.75rem 0.5rem 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.blog-image-frame:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.blog-image-caption {
    display: block;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #4a5568;
    margin-top: 0.75rem;
    padding: 0 0.5rem 0.25rem 0.5rem;
    font-style: normal;
}
.blog-image-caption strong {
    color: #dc2626;
    font-weight: 600;
}
.zoom-frame:hover img {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}
.zoom-frame img {
    transition: transform 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
}
/* Clear floats after images */
.image-clear {
    clear: both;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin: 36px;
  max-width: 630px;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}
.author-box img {
  border-radius: 50%;
  max-width: 90px;
}
.author-box h3 {
  margin: 0 0 5px 0;
}
/* Responsive image adjustments */
@media (max-width: 768px) {
    .blog-image-left,
    .blog-image-right {
        float: none;
        margin: 1.5rem auto;
        display: block;
        max-width: 100%;
    }
}

/* If you want full-width images */
.blog-image-full {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
}

/* For 720px wide images */
.blog-image-720 {
    max-width: 720px;
    width: 100%;
    margin: 2rem auto;
    display: block;
}
.center {
    text-align: center;
}
.center-align {
    display: flex;
    justify-content: center;
    align-items: center;
}