/* Faculty Member Single Page Styles */

.sub-date {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
}

.sub-link a {
  color: inherit;
  text-decoration: none;
}

.sub-link a:hover {
  text-decoration: underline;
  color: black;
}

.second-sub-menu {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.second-sub-menu li {
  font-size: 0.9rem;
  color: #666;
  margin: 0.25rem 0;
}

/* Journal item styling */
.university-journal-item {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.university-journal-item:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.journal-thumbnail-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.journal-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-no-thumbnail {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 0.875rem;
}

.journal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journal-thumbnail-wrapper:hover .journal-overlay {
  opacity: 1;
}

.journal-content {
  padding: 1rem;
}

.journal-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.journal-title a {
  color: #333;
  text-decoration: none;
}

/* .journal-title a:hover {
  color: #007bff;
} */

.journal-description {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.journal-date,
.journal-attachments {
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* Admin action buttons styling */
/*.card-actions {*/
/*  display: flex;*/
/*  gap: 10px;*/
/*  justify-content: center;*/
/*  margin-top: 15px;*/
/*  padding-top: 15px;*/
/*  margin-bottom: 10px;*/
/*}*/

.card-actions .btn {
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

/* .card-actions .btn-light {
  background-color: #f8f9fa;
  color: #495057;
  border-color: #dee2e6;
} */

.card-actions .btn-light:hover {
  background-color: #e9ecef;
  color: #495057;
  text-decoration: none;
}

.card-actions .btn-success {
  background-color: #1B8354;
  color: white;
  border-color: #28a745;
}

.card-actions .btn-success:hover {
  background-color: #218838;
  color: white;
  text-decoration: none;
}

.card-actions .btn-danger {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

.card-actions .btn-danger:hover {
  background-color: #c82333;
  color: white;
  text-decoration: none;
}

/* Add button styling */
.add-content-section {
  margin-bottom: 20px;
  padding: 15px;
}

.add-content-section h4 {
  margin-bottom: 15px;
  color: #495057;
  font-size: 1.1rem;
}

.add-content-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.add-content-buttons .btn {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.tab {
  margin-bottom: 10px;
}

.tabs-card .tab {
  cursor: pointer;
}
