/* ============================= */
/* DOCUMENT LIST CONTAINER */
/* ============================= */

.document-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}


/* ============================= */
/* DOCUMENT ITEM */
/* ============================= */

.document-item {
  display: block;
  padding: 22px;
  background: linear-gradient(180deg, #eaf6fb 0%, #ffffff 100%);
  border: 1px solid #e6edf2;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}


/* ============================= */
/* HOVER */
/* ============================= */

.document-item:hover {
  background: #e6f4fa;
  border-color: #cfe4ee;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}


/* ============================= */
/* ACTIVE */
/* ============================= */

.document-item:active {
  transform: translateY(-1px) scale(0.995);
}


/* ============================= */
/* ACCESSIBILITY */
/* ============================= */

.document-item:focus-visible {
  outline: 2px solid #00a3e0;
  outline-offset: 3px;
}


/* ============================= */
/* OVERLAY LINK */
/* ============================= */

.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* ============================= */
/* CONTENT */
/* ============================= */

.document-content {
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 100%;

  position: relative;
  z-index: 2;
  align-items: flex-start;
}

.document-download {
  position: relative;
  z-index: 3;
}


/* ============================= */
/* TITLE */
/* ============================= */

.document-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;

  margin-bottom: 6px;

  color: #222;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.document-item:hover .document-title {
  color: #00a3e0;
}


/* ============================= */
/* META */
/* ============================= */

.document-meta {
  margin-bottom: 8px;
}


/* ============================= */
/* DESCRIPTION */
/* ============================= */

.document-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.document-desc p,
.document-desc span {
    font-size: 14px !important;
    line-height: 1.5 !important;
    background: transparent !important;
    color: inherit !important;
}
/* ============================= */
/* ACTION BUTTONS */
/* ============================= */

.document-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}



/* ============================= */
/* YEAR SECTION */
/* ============================= */

.year-section {
  margin-bottom: 30px;
}

.year-title {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 10px;
  color: #111;
}


/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 991px) {

  .document-list {
    gap: 24px;
  }

  .document-title {
    font-size: 16px;
  }
}


/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 767px) {

  .document-list {
    grid-template-columns: 1fr;
  }

  .document-item {
    padding: 16px;
  }

  .document-content {
    gap: 4px;
  }
}