.latest-posts-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
}

.latest-post-col {
  flex: 1 1 calc(33.333% - 1rem);
  box-sizing: border-box;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

@media (max-width: 991px) {
  .latest-post-col {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 576px) {
  .latest-post-col {
    flex: 1 1 100%;
  }
}

.latest-post-card {
  background: linear-gradient(145deg, #0a1b33, #064da7); /* خیلی تیره + برند آبی */
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #064da7;
  position: relative;
}

.latest-post-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 10px 25px rgba(35, 127, 243, 0.5); /* آبی شفاف برند */
  border-color: #237ff3;
}

.post-image {
  max-height: 200px;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(0.8); /* کمی تاریک‌تر برای تضاد */
}

.latest-post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 1rem 1.25rem;
  color: #e0e0f0; /* متن روشن روی بک‌گراند تیره */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  text-align: center;
}

.post-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.post-title a {
  color: #237ff3;  /* رنگ برند روشن */
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #064da7; /* رنگ برند تیره */
}

.post-info {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
}

.post-info .fa {
  color: #237ff3; /* رنگ برند */
}

.post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
  margin-top: auto;
}















<style>
/* ====== AREA BUTTON STYLE (Optimised Version) ====== */

.area-btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Button Base */
.area-btn {
    display: inline-block;
    background: linear-gradient(90deg, #237ff3, #064da7);
    color: #fff !important;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(35, 127, 243, 0.4);
}

/* Hover Effect */
.area-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(35, 127, 243, 0.6);
    background: linear-gradient(90deg, #064da7, #237ff3);
    color: #e6a524 !important;
}
</style>











<style>
/* ====== AREA BUTTON (SQUARE VERSION) ====== */

.area-btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Button Base - Square */
.area-btn-square {
    display: inline-block;
    background: linear-gradient(90deg, #237ff3, #064da7);
    color: #fff !important;
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 0; /* بدون گردی لبه‌ها */
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(35, 127, 243, 0.4);
}

/* Hover Effect */
.area-btn-square:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(35, 127, 243, 0.6);
    background: linear-gradient(90deg, #064da7, #237ff3);
    color: #e6a524 !important;
}
</style>

