/*!
 * Bootstrap  v5.3.7 (https://getbootstrap.com/)
 * Copyright 2011-2025 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

.article-card {
  background: #fffffc;
  border: 2px solid #67f7fe;
  border-radius: 1.5rem;
  box-shadow: 0 4px 4px rgba(1, 29, 121, .12), inset 0 0 12px 4px #67f7fe;
  color: #001e60;
  display: flex;
  flex-direction: column;
  font-family: "Nunito", sans-serif;
  margin: 0;
  overflow: hidden;
  padding: 1rem;
  text-decoration: none;
  width: 100%;
  height: 100%;
  gap: 1rem;
}

.article-card__media {
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.article-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-card__media-placeholder {
  align-items: center;
  
  background: linear-gradient(135deg, #f3f7fb 0%, #dee9f7 100%);
  color: #003da6;
  display: flex;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  width: 100%;
}

[dir="rtl"] .article-card__media-placeholder {
  
  background: linear-gradient(-135deg, #f3f7fb 0%, #dee9f7 100%);
}

.article-card__tag {
  align-items: center;
  background: #fffffc;
  border-radius: 9999px;
  box-shadow: inset 0 0 8px 0 rgba(103, 247, 254, .4);
  display: inline-flex;
  gap: .375rem;
  
  left: .75rem;
  padding: .5rem;
  position: absolute;
  top: .75rem;
  z-index: 2;
}

[dir="rtl"] .article-card__tag {
  left: auto;
  
  right: .75rem;
}

.article-card__tag-dot {
  background: #67f7fe;
  border-radius: 50%;
  flex-shrink: 0;
  height: .5rem;
  width: .5rem;
}

.article-card__tag-label {
  color: #003da6;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1rem;
}

.article-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .75rem;
  padding: 0 .5rem;
}

.article-card__title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
          line-clamp: 3;
  color: #003da6;
  display: -webkit-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5rem;
  margin: 0;
  letter-spacing: 0;
  min-height: 4.5rem;
  overflow: hidden;
}

@supports (min-height: 3lh) {
  .article-card__title {
    min-height: 3lh;
  }
}

.article-card__desc-row {
  align-items: flex-end;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
}

.article-card__desc {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #001e60;
  display: -webkit-box;
  flex: 1 1 auto;
  font-size: .875rem;
  line-height: 1.25rem;
  margin: 0;
  min-height: 3.75rem;
  min-width: 0;
  overflow: hidden;
}

@supports (min-height: 3lh) {
  .article-card__desc {
    min-height: 3lh;
  }
}

.article-card__desc p {
  margin: 0;
}

.article-card__arrow {
  align-items: center;
  
  background: linear-gradient(180deg, #003da6, #001e60);
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 7px rgba(100, 198, 246, .4);
  color: #fffffc;
  display: inline-flex;
  flex-shrink: 0;
  height: 36px;
  justify-content: center;
  
  margin-left: .25rem;
  position: relative;
  width: 36px;
}

[dir="rtl"] .article-card__arrow {
  
  background: linear-gradient(-180deg, #003da6, #001e60);
  margin-left: 0;
  
  margin-right: .25rem;
}

.article-card__arrow::before {
  
  background: linear-gradient(123.12deg, #f3f7fb 30.35%, #0e60d7 82.6%);
  border-radius: 50%;
  content: "";
  inset: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  position: absolute;
}

[dir="rtl"] .article-card__arrow::before {
  
  background: linear-gradient(-123.12deg, #f3f7fb 30.35%, #0e60d7 82.6%);
}

.article-card__arrow svg, .article-card__arrow-icon {
  height: 13px;
  width: 13px;
}

.article-card__footer {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: auto;
}

.article-card__divider {
  border-top: .5px solid #003da6;
  width: 100%;
}

.article-card__expert {
  align-items: center;
  display: flex;
  gap: .5rem;
  min-height: 2rem;
}

.article-card__expert-image {
  border-radius: .5rem;
  flex-shrink: 0;
  height: 2rem;
  overflow: hidden;
  width: 2rem;
}

.article-card__expert-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-card__expert-image-placeholder {
  
  background: linear-gradient(135deg, #f3f7fb 0%, #dee9f7 100%);
  display: block;
  height: 100%;
  width: 100%;
}

[dir="rtl"] .article-card__expert-image-placeholder {
  
  background: linear-gradient(-135deg, #f3f7fb 0%, #dee9f7 100%);
}

.article-card__expert-meta {
  color: #001e60;
  font-size: .625rem;
  line-height: .875rem;
  margin: 0;
}

