/* ✅ إعدادات أساسية */
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Cairo', sans-serif;
  background: #f9f9f9;
  color: #222;
  margin: 0;
  padding: 0;
  direction: ltr;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  color: #222;
  line-height: 1.4;
}

.publish-date {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 25px;
}

.news-image-wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 25px;
}

.news-image {
  display: inline-block;
  max-width: 100%;
  max-height: 400px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  object-fit: contain;
  background: #fff;
  border: 1px solid #eee;
}

.news-content {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
  text-align: left;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  margin-bottom: 40px;
}

/* ✅ زر واتساب ثابت */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* ✅ شريط التصفح */
.breadcrumb {
  font-size: 16px;
  color: #555;
  margin: 25px auto 20px auto;
  max-width: 900px;
  padding: 0 15px;
  text-align: left;
}

.breadcrumb a {
  color: #d71920;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #222;
  font-weight: 600;
}
/* أزرار المشاركة */
.share-section {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.share-title {
    font-weight: 700;
    color: #2d3748;
    font-size: 1rem;
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.share-whatsapp { background-color: #25D366; }
.share-whatsapp:hover { background-color: #1ebe57; }

.share-facebook { background-color: #1877F2; }
.share-facebook:hover { background-color: #145dbf; }

.share-twitter { background-color: #000000; }
.share-twitter:hover { background-color: #333333; }

.share-copy { background-color: #718096; border: none; cursor: pointer; }
.share-copy:hover { background-color: #4a5568; }
/* قسم آخر الأخبار */
.related-news-section {
    margin-top: 60px;
    margin-bottom: 50px;
}

.related-title {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 25px;
    text-align: left;
    border-left: 4px solid #d71920;
    padding-left: 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.related-img-wrap {
    width: 100%;
    height: 140px;
    background: #f1f3f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-date {
    font-size: 0.8rem;
    color: #d71920;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}

.related-body h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}