/* ===== page resources-resourcedetail (compiled from Vue SCSS) ===== */
.text-error {
  color: #c94a4a;
}

.font-weight-500 {
  font-weight: 500;
}

.bg-dark {
  background-color: #121816;
}

.bg-error-light {
  background-color: rgba(201, 74, 74, 0.1);
}

.border-top {
  border-top: 1px solid #d9e5e0;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.min-w-0 {
  min-width: 0;
}

.d-block {
  display: block;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-primary-light {
  background-color: #eaf6f2;
  color: #0b6b5a;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.tag-outline {
  border: 1px solid #d9e5e0;
  padding: 2px 8px;
  border-radius: 4px;
  color: #66736e;
  display: inline-block;
}

.btn-block {
  width: 100%;
  display: block;
}

.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Layout Main*/
.layout-main {
  grid-template-columns: 2fr 1fr;
}

.sidebar-area .sticky-top {
  position: sticky;
  top: 100px;
}

/* Rich Text*/
.rich-text ul,
.rich-text ol {
  padding-left: 20px;
  margin-bottom: 0;
}
.rich-text ul li,
.rich-text ol li {
  margin-bottom: 8px;
}
.rich-text ul li:last-child,
.rich-text ol li:last-child {
  margin-bottom: 0;
}
.rich-text strong {
  color: #1e2b27;
  font-weight: 600;
}

.related-group {
  display: flex;
  align-items: flex-start;
}
.related-group .related-title {
  white-space: nowrap;
  margin-top: 2px;
}
.related-group .related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related-group .related-tags .tag-outline {
  white-space: nowrap;
}

/* Bottom Recommendations*/
.similar-item {
  transition: border-color 0.3s, box-shadow 0.3s;
  border: 1px solid #d9e5e0;
}
.similar-item:hover {
  border-color: #0b6b5a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Reverted from utilities.scss */
.py-8 {
  padding-top: 48px;
  padding-bottom: 80px;
}

.pb-6 {
  padding-bottom: 48px;
}

.mb-5 {
  margin-bottom: 80px;
}

.mb-4 {
  margin-bottom: 24px;
}

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

.text-secondary {
  color: #66736e;
}

.text-sm {
  font-size: 14px;
}

.line-height-lg {
  line-height: 1.8;
}

.border-bottom {
  border-bottom: 1px solid #d9e5e0;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-primary {
  transition: color 0.3s;
}
.hover-primary:hover {
  color: #0b6b5a;
}

.p-6 {
  padding: 48px;
}

.mr-2 {
  margin-right: 12px;
}

.text-primary {
  color: #0b6b5a;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.flex-column {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.p-4 {
  padding: 24px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mr-3 {
  margin-right: 16px;
}

.text-xs {
  font-size: 12px;
}

.bg-light {
  background-color: #f7faf9;
}

.border {
  border: 1px solid #d9e5e0;
}

.rounded {
  border-radius: 8px;
}

.justify-between {
  justify-content: space-between;
}

.gap-6 {
  gap: 48px;
}

.interactive-btn {
  transition: transform 0.2s ease;
}
.interactive-btn:hover, .interactive-btn:focus {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
}
.interactive-btn:active {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
  transform: scale(0.96) translateY(2px);
}

.no-hover-bg:hover, .no-hover-bg:focus {
  background-color: #0b6b5a !important;
  color: #ffffff !important;
  border-color: #0b6b5a !important;
}

.pt-6 {
  padding-top: 48px;
}

.mb-5 {
  margin-bottom: 32px;
}

.mt-8 {
  margin-top: 80px;
}

.p-3 {
  padding: 16px;
}

.ml-4 {
  margin-left: 24px;
}

/* Reverted responsive */
@media (max-width: 1199px) {
  .layout-main {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .related-group {
    flex-direction: column;
  }
  .related-group .related-title {
    margin-bottom: 8px;
  }
}
@media (max-width: 1199px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}