/* Styles pour le contenu des actualités piloté par data/articles.json.
   Volontairement indépendant des classes Framer (hashées, fragiles) :
   voir CLAUDE.md / README-CMS.md pour le contexte. */

.sama-featured {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  margin-bottom: 8px;
  padding: 0 130px;
  box-sizing: border-box;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  color: rgb(82, 135, 144);
}

.sama-featured__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sama-featured__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0;
}

.sama-featured__description {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: justify;
  margin: 0;
}

.sama-featured__quote {
  border-left: 2px solid #f9ff8f;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sama-featured__quote p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: justify;
  margin: 0;
}

.sama-featured__quote-author {
  font-size: 12px;
  font-weight: 600;
}

.sama-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  background-color: rgb(82, 135, 144);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  border-radius: 2px;
}

.sama-featured__link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.sama-featured__image {
  width: 42%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.sama-featured__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sama-other-articles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0 130px;
  box-sizing: border-box;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  color: rgb(82, 135, 144);
}

.sama-other-articles__empty {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.sama-article-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(82, 135, 144, 0.15);
}

.sama-article-card__text {
  flex: 1;
  min-width: 0;
}

.sama-article-card__image {
  width: 42%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.sama-article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sama-article-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 6px;
}

.sama-article-card__description {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: justify;
  margin: 0 0 8px;
}

.sama-article-card__link {
  font-size: 12px;
  color: rgb(82, 135, 144);
  text-decoration: underline;
}

@media (min-width: 810px) and (max-width: 1199.98px) {
  .sama-featured,
  .sama-other-articles {
    padding: 0 40px;
  }
}

@media (max-width: 809.98px) {
  .sama-featured,
  .sama-other-articles {
    padding: 0 20px;
  }
  .sama-featured {
    flex-direction: column;
  }
  .sama-featured__text {
    width: 100%;
  }
  .sama-featured__image {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
  .sama-article-card {
    flex-direction: column;
  }
  .sama-article-card__image {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}
