 
  :root {
    --main-color: #928bbc;
    --accent-color: #6c63a8;
    --bg-color: #f5f5f5;
  }
  .news_16section {
    padding: 40px 20px;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(108, 99, 168, 0.07);
    background-color: var(--bg-color);
  }
  .news_16_section-header {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(.77,0,.18,1);
  }
  .news_16_section-header.animate-in {
    opacity: 1;
    transform: translateX(0);
  }
  .news_16_section-title-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .news_16_section-title-with-lines h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
  }
  .news_16_section-title-with-lines h2 span {
    color: var(--main-color);
  }
  .news_16_section-title-with-lines .news_16_line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--main-color);
    max-width: 60px;
    opacity: 0.6;
  }
  .news_16_cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
     justify-content: center; 
  }
  .news_16_news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.5s cubic-bezier(.77,0,.18,1);
  }
  .news_16_news-card:hover {
    transform: translateY(-5px);
  }
  .news_16_card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .news_16_date-box {
    position: absolute;
    top: -25px;
    left: 15px;
    background: #fff;
    color: var(--accent-color);
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }
  .news_16_date-box span {
    display: block;
    font-size: 20px;
  }
  .news_16_tag-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
  }
  .news_16_tag-icon {
    font-size: 16px;
    color: white;
  }
  .news_16_card-body {
    padding: 15px;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .news_16_card-body h3 {
    font-size: 16px;
    margin: 10px 0;
    color: #111;
  }
  .news_16_card-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
  }
  .news_16_read-more {
    display: inline-block;
    background: var(--main-color);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    align-self: start;
  }
  @media (min-width: 1024px) {
    .news_16_news-card {
      max-width: 470px;
    }
    .news_16_cards-container {
      justify-content: center;
    }
  }
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .animate-in {
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
  } 

  /* صفحه الاخبار */
.news_256container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.news_256container-vertical {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  max-width: 700px;
  margin: auto;
}

.news_256sidebar {
  width: 30%;
}

.news_256sidebar h2 {
  font-size: 24px;
  margin-bottom: 20px;
  border-right: 4px solid #928bbc;
  padding-right: 10px;
}

.news_256card {
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news_256card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news_256card p {
  padding: 10px;
  font-size: 16px;
}

.news_256main-card {
  width: 70%;
}

.news_256main-card img {
  width: 100%;
  border-radius: 8px;
  height: 400px;
  object-fit: cover;
}

.news_256main-card .news_256date {
  margin-top: 15px;
  color:#928bbc;
  font-weight: bold;
}

.news_256main-card .news_256desc {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .news_256container {
    flex-direction: column;
    gap: 0;
    padding: 10px;
  }
  .news_256main-card,
  .news_256sidebar {
    width: 100%;
  }
  .news_256main-card {
    margin-bottom: 30px;
  }
  .news_256container-vertical {
    align-items: center;
  }
  .news_256sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .news_256card.news_256small-card {
    width: 90%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .news_256container-vertical {
    padding: 5px;
    gap: 15px;
  }
  .news_256main-card {
    width: 100%;
  }
  .news_256sidebar {
    width: 100%;
    padding: 0;
  }
  .news_256card.news_256small-card {
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px 0;
  }
}