@import url("https://fonts.googleapis.com/css2?family=Gilda+Display&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&display=swap");
.blog-hero {
  height: 70vh;
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  margin-bottom: 0;
}
.blog-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.blog-hero .container {
  position: relative;
  z-index: 2;
}
.blog-hero__titulo {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
}
@media (max-width: 768px) {
  .blog-hero__titulo {
    font-size: 42px;
  }
}
.blog-hero__subtexto {
  color: #fff;
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.blog-filters {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 100px;
  z-index: 100;
}
@media (max-width: 768px) {
  .blog-filters {
    top: 80px;
    padding: 20px 0;
  }
}
.blog-filters .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 768px) {
  .blog-filters .container {
    flex-direction: column;
    align-items: stretch;
  }
}
.blog-filters .category-nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.blog-filters .category-nav .filter-btn {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}
.blog-filters .category-nav .filter-btn:hover {
  background: #eee;
  color: #000;
}
.blog-filters .category-nav .filter-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}
.blog-filters .blog-search {
  position: relative;
  flex: 0 0 300px;
}
@media (max-width: 768px) {
  .blog-filters .blog-search {
    flex: 1;
  }
}
.blog-filters .blog-search input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 14px;
}
.blog-filters .blog-search input:focus {
  outline: none;
  border-color: #000000;
}
.blog-filters .blog-search i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.blog-content {
  padding: 80px 0;
  background-color: #fcfcfc;
}
@media (max-width: 992px) {
  .blog-content {
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .blog-content {
    padding: 40px 0;
  }
}
.blog-content .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 992px) {
  .blog-content .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .blog-content .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card__img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card__img .category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  color: #000;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2;
}
.blog-card__info {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__titulo {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #000;
  transition: color 0.3s ease;
  text-decoration: none;
}
.blog-card__titulo:hover {
  color: #000000;
}
.blog-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card .btn-read-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s ease;
}
.blog-card .btn-read-more i {
  font-size: 10px;
  color: #000000;
}
.blog-card .btn-read-more:hover {
  gap: 15px;
  color: #000000;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.1);
}

.single-post-page .blog-single-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.single-post-page .blog-single-hero .breadcrumb {
  color: #fff;
}
.single-post-page .blog-single-hero .breadcrumb a {
  color: #fff;
}
.single-post-page .blog-single-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}
.single-post-page .blog-single-hero .container {
  position: relative;
  z-index: 2;
}
.single-post-page .blog-single-hero__meta {
  display: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.single-post-page .blog-single-hero__titulo {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  max-width: 800px;
}
@media (max-width: 768px) {
  .single-post-page .blog-single-hero__titulo {
    font-size: 32px;
  }
}
.single-post-page .post-content-flexible {
  padding: 80px 0;
  background: #fff;
}
@media (max-width: 992px) {
  .single-post-page .post-content-flexible {
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .single-post-page .post-content-flexible {
    padding: 40px 0;
  }
}
.single-post-page .post-content-flexible .flexible-block {
  margin-bottom: 50px;
}
.single-post-page .post-content-flexible .flexible-block:last-child {
  margin-bottom: 0;
}
.single-post-page .post-content-flexible .block-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}
.single-post-page .post-content-flexible .block-text h2,
.single-post-page .post-content-flexible .block-text h3,
.single-post-page .post-content-flexible .block-text h4 {
  color: #000;
  margin: 40px 0 20px;
  font-weight: 800;
}
.single-post-page .post-content-flexible .block-text p {
  margin-bottom: 25px;
}
.single-post-page .post-content-flexible .block-text blockquote {
  padding: 40px;
  background: #f9f9f9;
  border-left: 4px solid #000000;
  font-style: italic;
  font-size: 22px;
  margin: 40px 0;
  color: #000;
}
.single-post-page .post-content-flexible .block-image.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.single-post-page .post-content-flexible .block-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.single-post-page .post-content-flexible .block-image .image-caption {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #999;
  font-style: italic;
}
.single-post-page .post-navigation-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
}
.single-post-page .post-navigation-footer .btn-back-blog {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 35px;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
}
.single-post-page .post-navigation-footer .btn-back-blog i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.single-post-page .post-navigation-footer .btn-back-blog:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.single-post-page .post-navigation-footer .btn-back-blog:hover i {
  transform: translateX(-5px);
}
.single-post-page .blog-related-section {
  padding: 40px 0 80px;
  background: #fcfcfc;
  border-top: 1px solid #eee;
}
.single-post-page .blog-related-section .section-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 40px;
  text-align: center;
}
.single-post-page .blog-related-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 992px) {
  .single-post-page .blog-related-section .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .single-post-page .blog-related-section .blog-grid {
    grid-template-columns: 1fr;
  }
}