@import url("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@800&display=swap");
body {
  font-family: "Tajawal", sans-serif;
}
.container {
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.ul {
  list-style: disc;
  margin: 0;
  margin-left: 20px;
}
.mb-8 {
  margin-bottom: 20px;
}
.text-2xl {
  font-size: 1.5rem;
}
.font-bold {
  font-weight: bold;
}
.text-blue-900 {
  color: #1e3a8a;
}
.text-gray-700 {
  color: #4a5568;
}
.leading-loose {
  line-height: 1.8;
}
.list-disc {
  list-style-type: disc;
}
.list-inside {
  padding-right: 20px;
}

.mt-4 {
  margin-top: 16px;
}

.text-right {
  text-align: right;
}

.icon {
  margin-right: 8px;
  color: #1e3a8a;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: right;
}
.th {
  background-color: #f2f2f2;
  font-weight: bold;
}
.th:first-child {
  width: 30%;
}
/* guidelines */
.split-box {
  display: flex;
  width: 100%;
  height: auto;
  background-color: #f2f2f2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.short-box {
  flex: 1;
  background-color: #07B9AD;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
}

.long-box {
  flex: 14;
  background-color: #F0F8F8;
  color: #4a5568;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  box-sizing: border-box;
  text-align: right;
  direction: rtl;
}

.long-box p {
  margin: 0;
  line-height: 1.8;
}

.custom-details {
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-details summary {
  font-weight: bold;
  font-size: 14px;
  color: #1e3a8a;
  cursor: pointer;
  margin-bottom: 10px;
}

.custom-details summary:hover {
  color: #0056b3;
}

.custom-details ol {
  padding-left: 20px;
  margin-top: 10px;
}

.custom-details ol li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: #333;
}

/* editorial-board */

.editorial-board {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.board-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

.board-period {
  flex: 0 0 20%;
  background-color: #07B9AD;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.board-details {
  flex: 1;
  background-color: #F0F8F8;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.8;
}

.board-details p {
  margin: 0 0 10px;
}

.board-details ul {
  padding-left: 20px;
  margin: 0;
  list-style-type: disc;
}

.board-details ul li {
  margin-bottom: 5px;
}

.spacer {
  height: 5px;
}


/* Templates */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.download-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.icon img {
  width: 50px;
  height: 50px;
}

.details h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #007BFF;
  text-align: center;
}

.details p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

.download-btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: #07B9AD;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .downloads {
      grid-template-columns: 1fr;
  }
}