/* Blog Cards Section */
.blog-cards-section {
  padding: 48px 0 32px 0;
  background: #f7faff;
}
.blog-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1976d2;
  margin-bottom: 32px;
  text-align: center;
}
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 18px;
  justify-items: center;
}
.blog-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(30,60,120,0.13), 0 2px 12px rgba(25,118,210,0.08);
  border: 2px solid #e3e9f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 420px;
  width: 100%;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s, background 0.22s;
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: 0 16px 48px rgba(25,118,210,0.18), 0 4px 18px rgba(30,60,120,0.13);
  border-color: #1976d2;
  background: rgba(255,255,255,0.98);
  transform: translateY(-8px) scale(1.035);
}
.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #e3e9f7;
}
.blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-title {
  font-size: 1.22rem;
  font-weight: 900;
  color: #1976d2;
  margin: 0 0 10px 0;
  text-align: left;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(25,118,210,0.07);
}
.blog-card-meta {
  color: #888;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.blog-card-summary {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: left;
}
.blog-card-long {
  color: #333;
  font-size: 1.01rem;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: left;
  background: #f3f6fb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.77,0,.18,1), opacity 0.4s cubic-bezier(.77,0,.18,1);
}
.blog-card-long.show {
  max-height: 2000px;
  opacity: 1;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 6px;
}
.blog-card-toggle-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 7px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  align-self: flex-end;
  transition: background 0.2s;
}
.blog-card-toggle-btn:hover {
  background: #1251a3;
}
@media (max-width: 1100px) {
  .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .blog-cards-grid { grid-template-columns: 1fr; gap: 18px 0; }
  .blog-card { border-radius: 14px; min-height: 120px; }
  .blog-card-content { padding: 12px; }
}
html[dir="rtl"] .blog-card-title,
html[dir="rtl"] .blog-card-summary,
html[dir="rtl"] .blog-card-long {
  text-align: right;
  direction: rtl;
}
.section-divider {
  border: none;
  border-top: 2px solid #e3e9f7;
  margin: 48px auto 36px auto;
  width: 90%;
  max-width: 900px;
  opacity: 0.85;
}
