/* Posts & news — additive styles for the CMS-driven news pages. */

.featured-posts { margin: 0 0 40px; }

.post-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.post-strip-head .eyebrow { margin: 0; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #c9dcec;
}
.post-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.post-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tint);
}
.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.post-card:hover .post-media img { transform: scale(1.045); }
.post-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(6, 25, 46, .82);
  color: #fff;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.post-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 20px 22px 22px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-body h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
}
.post-body p {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}
.post-body .text-link { margin-top: auto; padding-top: 10px; }

.linkedin-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--tint);
}
.linkedin-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  background: #0a66c2;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
}
.linkedin-copy { flex: 1; min-width: 200px; }
.linkedin-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.linkedin-title {
  margin: 2px 0 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}

/* News index */
.post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}
.post-cat {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--blue-600);
  transition: background .2s, color .2s, border-color .2s;
}
.post-cat:hover { background: var(--tint); }
.post-cat.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
.post-grid-index { margin-bottom: 10px; }

/* Article */
.post-article { max-width: 780px; margin: 0 auto; }
.post-back {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 18px;
}
.post-back:hover { color: var(--blue-600); }
.post-article .post-cats { margin-bottom: 12px; }
.post-article h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.14;
  margin: 0 0 14px;
}
.post-lead {
  font-size: 1.05rem;
  color: var(--body);
  margin: 0 0 16px;
}
.post-article .post-meta { gap: 10px; }
.post-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  margin: 24px 0 4px;
}
.post-content {
  margin-top: 26px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
}
.post-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 10px;
  color: var(--ink);
}
.post-content h3 {
  font-size: 1.1rem;
  margin: 26px 0 8px;
  color: var(--ink);
}
.post-content p { margin: 0 0 16px; }
.post-content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
}
.post-content li { margin-bottom: 6px; }
.post-content a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-arabic {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: right;
}
.post-arabic h2 { font-size: 1.25rem; margin: 0 0 8px; }
.post-arabic p { color: var(--muted); margin: 0; }
.post-linkedin { margin-top: 26px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .linkedin-strip { align-items: flex-start; }
}

.section-head h1{max-width:720px;font-size:clamp(1.85rem,3vw,2.7rem)}
