.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.blog-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.blog-card .blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card .blog-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card .blog-card-image:hover img {
  transform: scale(1.05);
}
.blog-card .blog-card-content {
  padding: 1.5rem;
}
.blog-card .blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.blog-card .blog-card-tag {
  padding: 0.25rem 0.625rem;
  background: rgba(247, 147, 26, 0.2);
  color: #F7931A;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.blog-card .blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.blog-card:hover .blog-card-title {
  color: #F7931A;
}
.blog-card .blog-card-excerpt {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-post {
  color: white;
}

.blog-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}
@media (max-width: 768px) {
  .blog-header {
    padding: 2rem 1rem;
  }
}

.blog-breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.blog-breadcrumb a:hover {
  color: #F7931A;
}
.blog-breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.5rem;
}

.blog-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .blog-title {
    font-size: 1.875rem;
  }
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.blog-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-meta .meta-item svg {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.7;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-tags .tag {
  padding: 0.375rem 0.875rem;
  background: rgba(247, 147, 26, 0.15);
  color: #F7931A;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-featured-image {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.blog-featured-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  color: white;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.blog-content h1 {
  font-size: 2rem;
}
.blog-content h2 {
  font-size: 1.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}
.blog-content h3 {
  font-size: 1.375rem;
}
.blog-content h4 {
  font-size: 1.125rem;
}
.blog-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}
.blog-content a {
  color: #F7931A;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.blog-content a:hover {
  border-color: #F7931A;
}
.blog-content strong {
  color: white;
  font-weight: 600;
}
.blog-content ul, .blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}
.blog-content ul li, .blog-content ol li {
  margin-bottom: 0.625rem;
  line-height: 1.7;
}
.blog-content ul {
  list-style: disc;
}
.blog-content ul ul {
  list-style: circle;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.blog-content ol {
  list-style: decimal;
}
.blog-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #F7931A;
  border-radius: 0 0.5rem 0.5rem 0;
}
.blog-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 1.125rem;
}
.blog-content code {
  background: rgba(0, 0, 0, 0.4);
  color: #F7931A;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: "SF Mono", "Monaco", "Inconsolata", monospace;
}
.blog-content pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
}
.blog-content pre code {
  background: none;
  color: white;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}
.blog-content table th, .blog-content table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-content table th {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: 600;
}
.blog-content table td {
  color: rgba(255, 255, 255, 0.7);
}
.blog-content table tr:hover td {
  background: rgba(255, 255, 255, 0.05);
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}
.blog-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

.blog-cta {
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 1.5rem;
  text-align: center;
}
.blog-cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}
.blog-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}
.blog-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.blog-cta .cta-buttons a {
  display: inline-block;
}
.blog-cta .cta-buttons a img {
  height: 3rem;
}

.blog-related {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.blog-related h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}
.blog-related .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .blog-related .related-grid {
    grid-template-columns: 1fr;
  }
}
.blog-related .related-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-related .related-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}
.blog-related .related-card img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
}
.blog-related .related-card .related-card-content {
  padding: 1rem;
}
.blog-related .related-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-related .related-card .related-date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-newsletter {
  background: rgba(0, 0, 0, 0.3);
  padding: 4rem 1.5rem;
  text-align: center;
}
.blog-newsletter h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}
.blog-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}
.blog-newsletter .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.blog-newsletter .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}
.blog-newsletter .social-links a:hover {
  background: #F7931A;
  color: white;
}
.blog-newsletter .social-links a svg {
  width: 1.5rem;
  height: 1.5rem;
}
