html[dir="rtl"] i {
  transform: rotateY(180deg);
}

.container4 {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.article-hero {
  background: linear-gradient(135deg, #982224, #451519, #4d7cb1);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.container4 h1{
    font-size: 2rem;
}

.cta-btn {
  margin-top: 20px;
  color: yellow;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  background-color: transparent;
  font-size: 16px;
}

.features {
  padding: 40px 0;
  text-align: center;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}


.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  margin: 10px 0;
  max-width: 600px;
}

.feature-item i.gradient-icon {
  background: linear-gradient(135deg, #982224, #4d7cb1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
  margin-top: 4px;
}

.feature-item .text-content {
  display: flex;
  flex-direction: column;
  justify-items: flex-start;
  align-items: flex-start;
}

.feature-item h4 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  color: #555;
}


.featured-article {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("assets/ar-1.jpg");
  background-size: cover;
  padding: 150px 20px;
  background-position: center;
  text-align: center;
  color: #fff;
}

.featured-article h2{
  font-size: 2rem;
}

.featured-article a{
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
  font-weight: bold;
}

.articles-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 90px;
}

.card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
}

.card p {
  padding: 0 15px;
  font-size: 0.9rem;
  color: #333;
}

.card .read-more {
  display: block;
  padding: 15px;
  color: #451519;
  font-weight: bold;
  text-decoration: none;
}

.more-posts {
  text-align: center;
  padding: 20px 0;
}

.more-posts button {
  border: none;
  display: flex;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #982224, #4d7cb1);
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  border-radius: 0.5rem;
  font-weight: bold;
  user-select: none;
  gap: 0.75rem;
  box-shadow: 0 4px 6px -1px #4d7cb131, 0 2px 4px -1px #4d7cb117;
  justify-self: center;
  transition: all 0.6s ease;
}

.more-posts button:hover {
  box-shadow: 0 10px 15px -3px #4d7cb14f, 0 4px 6px -2px #4d7cb117;
}

.more-posts button:focus,
.more-posts button:active {
  opacity: 0.85;
  box-shadow: none;
}

.newspaper-section {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 1200px;
      margin: auto;
    }

    .column-left {
      flex: 2;
      min-width: 300px;
    }

    .column-right {
      flex: 1.2;
      min-width: 250px;
    }

    .image-box {
      width: 100%;
      height: auto;
      margin-bottom: 15px;
    }

    .image-box img {
      width: 100%;
      height: auto;
      border-radius: 6px;
    }

    .text-box {
      border-radius: 6px;
      margin-bottom: 20px;
      color: #451519;
    }

    @media (max-width: 768px) {
      .newspaper-section {
        flex-direction: column;
        padding: 20px;
      }

      .column-left,
      .column-right {
        flex: 1 1 100%;
      }

      .articles-grid .grid{
        padding: 20px 10px;
      }

      .more-posts{
        padding: 10px 0px;
      }

      .feature-item p{
        text-align: left;
        font-size: 12px;
      }

      .features-list{
        display: unset;
      }
    }