.literatureHistoryPage {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 30px 100px;
}

/* =========================
   BAŞLIQ
========================= */

.literatureHistoryHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 55px;
}

.headerLine {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: #d8cec3;
}

.literatureHistoryTitle {
  padding: 0 25px;
}

.literatureHistoryTitle h1 {
  margin: 0;

  color: #2f241d;

  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;

  text-align: center;
}

/* =========================
   MƏQALƏLƏRİN SİYAHISI
========================= */

.literatureHistoryList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================
   MƏQALƏ KARTI
========================= */

.literatureDocument {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 95px;

  padding: 18px 25px;

  background: #fff;

  border: 1px solid #e2dbd4;

  /* saytın qəhvəyi tonu */
  border-left: 4px solid #71350c;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* Hover */

.literatureDocument:hover {
  transform: translateX(5px);

  background: #fcfaf8;

  border-color: #cdbfaf;
  border-left-color: #71350c;

  box-shadow: 0 8px 25px rgba(113, 53, 12, 0.1);
}

/* =========================
   PDF / WORD İKONU
========================= */

.documentIcon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  margin-right: 22px;

  background: #f5eee6;

  border-radius: 6px;

  transition: background 0.25s ease;
}

.literatureDocument:hover .documentIcon {
  background: #eee2d5;
}

.documentIcon span {
  color: #71350c;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* WORD */

.documentIcon.word span {
  color: #4b3526;
}

/* =========================
   MƏQALƏ MƏLUMATLARI
========================= */

.documentInfo {
  flex: 1;
}

.documentInfo h3 {
  margin: 0 0 7px;

  color: #2f241d;

  font-size: 18px;
  font-weight: 600;

  line-height: 1.4;
}

.documentInfo p {
  margin: 0;

  color: #81756c;

  font-size: 14px;
}

/* =========================
   DOWNLOAD İKONU
========================= */

.documentArrow {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  color: #71350c;

  font-size: 22px;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

/* Hover */

.literatureDocument:hover .documentArrow {
  color: #4f2508;

  transform: translateY(2px);
}

/* =========================
   DOWNLOAD İKONU
========================= */

.downloadIcon {
  transition: transform 0.25s ease;
}

.literatureDocument:hover .downloadIcon {
  transform: translateY(3px);
}

/* =========================
   YÜKLƏNMƏ İKONU
========================= */

.loadingIcon {
  display: none;

  width: 20px;
  height: 20px;

  border: 2px solid #71350c;

  border-top-color: transparent;

  border-radius: 50%;

  animation: documentLoading 0.7s linear infinite;
}

@keyframes documentLoading {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .literatureHistoryPage {
    padding: 45px 18px 70px;
  }

  .literatureHistoryHeader {
    gap: 10px;

    margin-bottom: 35px;
  }

  .headerLine {
    max-width: 60px;
  }

  .literatureHistoryTitle {
    padding: 0 10px;
  }

  .literatureHistoryTitle h1 {
    font-size: 20px;
  }

  .literatureDocument {
    padding: 15px;
  }

  .documentIcon {
    width: 50px;
    height: 50px;

    margin-right: 15px;
  }

  .documentInfo h3 {
    font-size: 15px;
  }

  .documentInfo p {
    font-size: 13px;
  }

  .documentArrow {
    width: 35px;

    font-size: 20px;
  }
}
.downloadIcon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
