.blog-hero {
  text-align: center;
}
[dir=rtl] .blog-hero, .rtl .blog-hero {
  text-align: right;
}

.blog-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #20d3ee;
  padding: 0.5rem 1rem;
  background: rgba(32, 211, 238, 0.1);
  border: 1px solid rgba(32, 211, 238, 0.2);
  border-radius: 50px;
}

.blog-title {
  color: #1a1a1a;
}
body.dark-mode .blog-title {
  color: #ffffff;
}

.section-header h2 {
  color: #1a1a1a;
}
body.dark-mode .section-header h2 {
  color: #ffffff;
}

.view-all-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #20d3ee;
  text-decoration: none;
}
.view-all-link:hover {
  color: #67e8f9;
}

.featured-post-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 250ms ease;
}
.featured-post-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.featured-post-card:hover .featured-post-image img {
  transform: scale(1.05);
}
body.dark-mode .featured-post-card {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .featured-post-card:hover {
  border-color: #2c555b;
}

.featured-post-image {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.post-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: #20d3ee;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}
[dir=rtl] .post-badge, .rtl .post-badge {
  left: auto;
  right: 1rem;
}

.featured-post-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.featured-post-title a:hover {
  color: #20d3ee;
}
body.dark-mode .featured-post-title a {
  color: #ffffff;
}

.read-more-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #20d3ee;
  text-decoration: none;
}

.post-list-item {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  align-items: center;
  transition: all 250ms ease;
}
.post-list-item:hover {
  border-color: #d1d5db;
}
.post-list-item:hover .post-list-arrow {
  background: #20d3ee;
  color: #fff;
}
body.dark-mode .post-list-item {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .post-list-item:hover {
  border-color: #2c555b;
}
[dir=rtl] .post-list-item, .rtl .post-list-item {
  flex-direction: row-reverse;
}

.post-list-image {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
}
.post-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #20d3ee;
  text-transform: uppercase;
}

.post-list-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.post-list-title a:hover {
  color: #20d3ee;
}
body.dark-mode .post-list-title a {
  color: #ffffff;
}

.post-list-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
  color: #9ca3af;
  transition: all 250ms ease;
}
body.dark-mode .post-list-arrow {
  background: #152629;
  color: #6b7280;
}
[dir=rtl] .post-list-arrow, .rtl .post-list-arrow {
  margin-left: 0;
  margin-right: auto;
}

.guide-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 250ms ease;
}
.guide-card:hover {
  border-color: #d1d5db;
}
body.dark-mode .guide-card {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .guide-card:hover {
  border-color: #2c555b;
}

.guide-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 211, 238, 0.1);
  border-radius: 0.5rem;
  color: #20d3ee;
  font-size: 1.125rem;
}

.guide-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.guide-title a:hover {
  color: #20d3ee;
}
body.dark-mode .guide-title a {
  color: #ffffff;
}

.docs-link-card {
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}
body.dark-mode .docs-link-card {
  background: #1a2c30;
  border-color: #234348;
}

.blog-newsletter {
  background: #f8f9fa;
}
body.dark-mode .blog-newsletter {
  background: #152629;
}

.newsletter-cta-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
}
body.dark-mode .newsletter-cta-card {
  background: #1a2c30;
  border-color: #234348;
}

[dir=rtl] .blog-page,
.rtl .blog-page {
  text-align: right;
}
