/* Elites Tech: article listing only */
/* source: reference-articles.css */
/* Article reference — image-led editorial cards with accessible real metadata.
   Matches the supplied large-photo/category/title/excerpt/footer layout. */
.reference-design .insights-section {
  padding-block: clamp(46px, 5vw, 75px) clamp(55px, 6vw, 85px);
  background: #f5f9ff;
}

.reference-design .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}

.reference-design .insight-card--editorial {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid #d1e2fa;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(27, 77, 151, .075);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.reference-design .insight-card--editorial:hover {
  border-color: #a9ceff;
  box-shadow: 0 18px 38px rgba(30, 76, 145, .12);
  transform: translateY(-3px);
}

.reference-design .insight-card--editorial .article-media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1100 / 660;
  background: #e9f2fd;
  overflow: hidden;
}

.reference-design .insight-card--editorial .article-image-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.reference-design .insight-card--editorial .article-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}

.reference-design .insight-card--editorial:hover .article-image-button img {
  transform: scale(1.025);
}

.reference-design .insight-card--editorial .article-category-pill {
  position: absolute;
  z-index: 1;
  inset-block-start: clamp(13px, 1.6vw, 23px);
  inset-inline-start: clamp(13px, 1.6vw, 23px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 28px);
  min-height: 43px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: linear-gradient(135deg, #0063f8, #005ad9);
  box-shadow: 0 6px 17px rgba(0, 65, 166, .2);
  color: #fff;
  font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}

.reference-design .insight-card--editorial .article-category-pill svg {
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reference-design .insight-card--editorial .insight-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0;
  min-height: 0;
  padding: clamp(20px, 2vw, 29px) clamp(19px, 2.2vw, 30px) 23px;
  background: #fff;
}

.reference-design .insight-card--editorial .insight-copy h3 {
  margin: 0 0 15px;
  color: #091e41;
  font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.reference-design .insight-card--editorial .insight-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.reference-design .insight-card--editorial .insight-copy h3 a:hover {
  color: #005fe5;
}

.reference-design .insight-card--editorial .insight-copy>p.article-excerpt {
  margin: 0 0 28px;
  color: #56637a;
  font-size: clamp(14px, 1.12vw, 16px);
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.reference-design .insight-card--editorial .article-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  width: 100%;
  padding-top: 12px;
  margin-top: auto;
}

.reference-design .insight-card--editorial .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  color: #57647b;
  font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.reference-design .insight-card--editorial .article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.reference-design .insight-card--editorial .article-meta-item svg {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reference-design .insight-card--editorial .article-reading-time {
  padding-inline-start: 9px;
  border-inline-start: 1px solid #d5dfef;
}

.reference-design .insight-card--editorial .article-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #e2edff;
  border-radius: 12px;
  background: #eaf3ff;
  color: #0066f2;
  font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.reference-design .insight-card--editorial .article-read-link:hover {
  background: #dcecff;
  color: #004daa;
  text-decoration: none;
}

.reference-design .insight-card--editorial .article-read-link .icon {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: currentColor;
  stroke-width: 2;
}

[dir="ltr"] .reference-design .insight-card--editorial .insight-copy h3,
[dir="ltr"] .reference-design .insight-card--editorial .article-category-pill,
[dir="ltr"] .reference-design .insight-card--editorial .article-meta,
[dir="ltr"] .reference-design .insight-card--editorial .article-read-link {
  font-family: "Manrope", "Tajawal", sans-serif;
}

[dir="ltr"] .reference-design .insight-card--editorial .insight-copy h3 {
  font-size: clamp(18px, 1.58vw, 23px);
  line-height: 1.4;
}

[dir="ltr"] .reference-design .insight-card--editorial .article-category-pill {
  font-size: 14px;
}

@media (max-width:1199.98px) and (min-width:992px) {
  .reference-design .articles-grid {
    gap: 16px;
  }

  .reference-design .insight-card--editorial {
    border-radius: 19px;
  }

  .reference-design .insight-card--editorial .insight-copy {
    padding: 19px 18px 21px;
  }

  .reference-design .insight-card--editorial .insight-copy h3 {
    font-size: 20px;
  }

  .reference-design .insight-card--editorial .article-meta {
    font-size: 11px;
  }

  .reference-design .insight-card--editorial .article-read-link {
    font-size: 13px;
  }
}

@media (max-width:991.98px) {
  .reference-design .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .reference-design .insight-card--editorial .article-card-footer {
    gap: 14px;
  }
}

@media (max-width:767.98px) {
  .reference-design .articles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .reference-design .insights-section {
    padding-block: 40px 49px;
  }

  .reference-design .insight-card--editorial {
    border-radius: 20px;
  }

  .reference-design .insight-card--editorial .article-category-pill {
    inset-block-start: 15px;
    inset-inline-start: 15px;
    min-height: 38px;
    padding: 6px 12px;
    font-size: 15px;
  }

  .reference-design .insight-card--editorial .article-category-pill svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .reference-design .insight-card--editorial .insight-copy {
    padding: 21px 21px 23px;
  }

  .reference-design .insight-card--editorial .insight-copy h3 {
    font-size: 23px;
  }

  .reference-design .insight-card--editorial .insight-copy>p.article-excerpt {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .reference-design .insight-card--editorial .article-meta {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .reference-design .insight-card--editorial,
  .reference-design .insight-card--editorial .article-image-button img,
  .reference-design .insight-card--editorial .article-read-link {
    transition: none;
  }

  .reference-design .insight-card--editorial:hover,
  .reference-design .insight-card--editorial:hover .article-image-button img {
    transform: none;
  }
}

