.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, #662200, #ff7f2a); /* پس‌زمینه تیره‌تر + نارنجی متوسط */
  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 #ff7f2a;
  position: relative;
}

.latest-post-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 10px 25px rgba(255, 187, 51, 0.5); /* افکت نارنجی شفاف */
  border-color: #ffbb33;
}

.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: #fff8e7; /* متن روشن با کنتراست بالا */
  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: #ffbb33;  /* لینک روشن */
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #ff6600; /* لینک هنگام هاور */
}

.post-info {
  font-size: 0.85rem;
  color: #eee;
  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: #ffbb33; /* آیکون با رنگ روشن */
}

.post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff8e7;
  margin-top: auto;
}

/* ====== 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, #ffbb33, #ff7f2a);
    color: #fff8e7 !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(255, 187, 51, 0.4);
}

.area-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 187, 51, 0.6);
    background: linear-gradient(90deg, #ff7f2a, #662200);
    color: #fff8e7 !important;
}

/* ====== AREA BUTTON (SQUARE VERSION) ====== */
.area-btn-square {
    display: inline-block;
    background: linear-gradient(90deg, #ffbb33, #ff7f2a);
    color: #fff8e7 !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(255, 187, 51, 0.4);
}

.area-btn-square:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 187, 51, 0.6);
    background: linear-gradient(90deg, #ff7f2a, #662200);
    color: #fff8e7 !important;
}

