body {
  font-family: "cairo";
}

.custom-header {
  background-image: url(https://dev12.toplinedev.com/teebarab/wp-content/uploads/2026/03/6e1b98a1941ce4ed78f8d60c166ba8165ec11207-1.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.custom-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #111111;
  opacity: 85%;
}

.mcode-full-width-header .site-header {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mcode-full-width-header .site-header .ast-container {
  max-width: 100% !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.mcode-full-width-header .custom-archive-header {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 450px;
  display: flex;
  align-items: center;
}

@media (max-width: 992px) {
  .mcode-full-width-header .custom-archive-header {
    min-height: 250px;
  }
}

.mcode-full-width-header .site-content .ast-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: block;
}

.mcode-full-width-header .site-content .ast-container h1 {
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 9;
  font-size: 24px;
}

.mcode-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding-block: 40px;
}

.mcode-items-card {
  border: 1px solid #f0f0f0;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
}

.mcode-items-card:hover {
  border-color: #b08d57;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mcode-items-grid article.mcode-grid-item {
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  text-align: center;
}

.mcode-items-grid article.mcode-grid-item .item-thumbnail {
  height: 250px;
  margin-bottom: 16px;
}

.mcode-items-grid article.mcode-grid-item .item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  display: grid;
  gap: 11px;
}

.item-info span {
  margin-bottom: 20px;
  display: inline-block;
  color: #ba8e10;
}

.item-info h3 {
  font-size: 20px;
  font-weight: 600;
}

.archive-filter-tabs {
  text-align: center;
  margin-bottom: 40px;
}

.filter-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.filter-list li {
  padding: 10px 25px;
  background: #fff;
  border: 1px solid #eee;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  color: #555;
}

.filter-list li.active,
.filter-list li:hover {
  background: #b08d57; /* اللون الذهبي */
  color: #fff;
  border-color: #b08d57;
}

/* لإخفاء العناصر عند الفلترة */
.filter-item {
  transition: opacity 0.4s ease-in-out;
}

.filter-item.hidden {
  display: none;
}
