/* Blog2 Styles - for /blog2 posts and index. Compatible with material-kit.css */

.blog2-meta {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.blog2-meta span {
  display: inline-block;
}
.blog2-category, .category-tag {
  background: #e0f2f1;
  color: #00897b;
  border-radius: 4px;
  padding: 0.2em 0.7em;
  font-size: 0.95em;
  margin-left: 0.5em;
}

.blog2-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
}
.blog2-content h2, .blog2-content h3 {
  color: #00897b;
  font-weight: 700;
  margin-top: 2.5rem;
}

/* Inline Images */
.blog2-image {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: #fafafa;
  box-sizing: border-box;
}
.blog2-image img {
  width: 100%;
  display: block;
}
.blog2-image figcaption {
  font-size: 0.95rem;
  color: #666;
  background: #f5f5f5;
  padding: 0.7em 1em;
  text-align: center;
}
.blog2-image.full {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
}

/* Left/Right Images */
.blog2-image.left {
  float: left;
  margin: 0 2rem 1rem 0;
  max-width: 350px;
  width: 40%;
  min-width: 180px;
}
.blog2-image.right {
  float: right;
  margin: 0 0 1rem 2rem;
  max-width: 350px;
  width: 40%;
  min-width: 180px;
}

/* Image Grids */
.blog2-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
  justify-content: flex-start;
}
.blog2-image-grid .blog2-image {
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 320px;
  width: 100%;
}
.blog2-image-grid.grid-3 .blog2-image,
.blog2-image-grid.grid-2 .blog2-image {
  max-width: 320px;
}

/* Info Box */
.blog2-info {
  background: #e3f2fd;
  border-left: 5px solid #00897b;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  color: #1565c0;
  font-size: 1.05rem;
}

/* CTA Box */
.blog2-cta {
  background: linear-gradient(90deg,#00897b,#4db6ac);
  color: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  margin: 2.5rem 0;
  text-align: center;
}
.blog2-cta a {
  display: inline-block;
  background: #fff;
  color: #00897b;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.7em 2em;
  margin-top: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.blog2-cta a:hover {
  background: #e0f2f1;
}

/* Social Share */
.blog2-social {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: flex-start;
}
.blog2-social-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #00897b;
  transition: background 0.2s;
}
.blog2-social-btn.facebook { background: #1877f2; }
.blog2-social-btn.twitter { background: #1da1f2; }
.blog2-social-btn:hover { opacity: 0.9; }

/* Author Section */
.blog2-author {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0 1rem 0;
  padding: 2rem 1rem;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog2-author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00897b;
}
.blog2-author-info h3 {
  margin: 0 0 0.5rem 0;
  color: #00897b;
}

/* Related Posts */
.blog2-related {
  margin: 3rem 0 1rem 0;
}
.blog2-related-grid {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.blog2-related-card {
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex: 1 1 200px;
  max-width: 300px;
}
.blog2-related-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.blog2-related-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0.5rem;
}

/* Map Responsive */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  margin: 2rem 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

/* Blog Index Styles */
.blog-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.featured-posts, .latest-posts, .categories {
  margin-bottom: 2.5rem;
}
.featured-grid, .posts-grid, .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.featured-card, .post-card, .category-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex: 1 1 250px;
  max-width: 350px;
  min-width: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.featured-image, .post-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}
.featured-content, .post-content {
  padding: 1.2rem 1rem 1rem 1rem;
  flex: 1 1 auto;
}
.post-meta, .tags {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.tag {
  background: #e0f2f1;
  color: #00897b;
  border-radius: 4px;
  padding: 0.2em 0.7em;
  font-size: 0.95em;
}
.category-tag {
  margin-left: 0.5em;
}
.category-card {
  text-decoration: none;
  color: #222;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.5rem 1rem;
  flex: 1 1 180px;
  max-width: 220px;
  min-width: 120px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.category-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* Responsive */
@media (max-width: 900px) {
  .blog2-container { padding: 1rem 0.5rem; }
  .featured-grid, .posts-grid, .category-grid, .blog2-related-grid { gap: 1rem; }
  .blog2-image.left, .blog2-image.right {
    float: none;
    margin: 1rem 0;
    max-width: 100%;
    width: 100%;
    display: block;
  }
  .blog2-image-grid {
    flex-direction: column;
    gap: 1rem;
  }
  .blog2-image-grid .blog2-image {
    max-width: 100%;
    min-width: 120px;
  }
}
@media (max-width: 600px) {
  .blog2-hero-content { padding: 1rem; }
  .blog2-hero-title { font-size: 1.5rem; }
  .blog2-content { font-size: 1rem; }
  .featured-card, .post-card, .category-card { min-width: 100px; max-width: 100vw; }
  .blog2-image.left, .blog2-image.right {
    float: none;
    margin: 1rem 0;
    max-width: 100%;
    width: 100%;
    display: block;
  }
  .blog2-image-grid {
    flex-direction: column;
    gap: 0.5rem;
  }
  .blog2-image-grid .blog2-image {
    max-width: 100%;
    min-width: 80px;
  }
}

/* --- Blog2 Blog Index Card Enhancements (Overlay Category & Tag Spacing) --- */

.blog2-category-badge-bottom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.category-tag.blog2-category-badge {
  background: #00897b;
  color: #fff;
  font-size: 0.97em;
  padding: 0.32em 1.1em;
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0;
  pointer-events: none;
}
.card-header.card-header-image {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
.card-header.card-header-image img.img.img-raised {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: filter 0.2s;
  display: block;
}
.card-header.card-header-image a:hover img.img.img-raised {
  filter: brightness(0.93) saturate(1.08);
}
.card.card-plain.card-blog {
  margin-bottom: 2.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 1.2rem 0.7rem 1.2rem;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card.card-plain.card-blog:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-2px) scale(1.01);
}
.card-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #086788;
  line-height: 1.2;
}
.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
.card-title a:hover {
  color: #03bae4;
}
.post-meta.blog2-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
  font-size: 0.97em;
  color: #888;
  margin-bottom: 0.2rem;
  align-items: center;
}
.post-meta.blog2-meta-inline span,
.post-meta.blog2-meta-inline time {
  display: inline-flex;
  align-items: center;
  background: #f5f5f5;
  color: #888;
  border-radius: 4px;
  padding: 0.13em 0.7em;
  font-size: 0.97em;
  font-weight: 500;
  margin-bottom: 2px;
}
.blog2-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.1em;
  margin: 0.2em 0 0.5em 0;
}
.blog2-tags-row .tag {
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 3px;
  padding: 0.13em 0.9em;
  font-size: 0.97em;
  font-weight: 500;
  margin-right: 0;
}
.card-description.justifyText {
  color: #222;
  font-size: 1.0rem;
  margin: 0.3rem 0 0.7rem 0;
  line-height: 1.3;
  overflow: hidden;
}
.blog2-readmore-link {
  display: inline;
  color: #03bae4;
  font-weight: 600;
  font-size: 1em;
  margin-left: 0.5em;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.18s;
}
.blog2-readmore-link:hover {
  color: #086788;
  text-decoration: underline;
}
@media (max-width: 900px) {
  .card-header.card-header-image img.img.img-raised {
    height: 100%;
  }
  .card.card-plain.card-blog {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .card-header.card-header-image img.img.img-raised {
    height: 100%;
  }
  .card-title {
    font-size: 1.05rem;
  }
  .card.card-plain.card-blog {
    padding: 0.3rem 0.2rem 0.3rem 0.2rem;
  }
}
/* --- End Blog2 Blog Index Card Enhancements --- */ 