/* =========================================================
   ENCART DERNIERES NEWS - ACCUEIL
   ========================================================= */

.gems-latest-news {
  width: 100%;
  padding: 24px 0 8px;
}

.gems-latest-news > .wrap {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.gems-news-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  background: #071b35;
  border-left: 5px solid #f28c28;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.gems-news-label {
  color: #f28c28;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.gems-news-content {
  min-width: 0;
}

.gems-news-content h2 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.2;
}

.gems-news-content p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.45;
}

.gems-news-date {
  display: block;
  margin-bottom: 5px;
  color: #f28c28;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.gems-news-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 16px !important;
  color: #ffffff !important; /* Texte blanc forcé */
  background: #f28c28 !important; /* Fond orange forcé */
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background .2s ease, transform .2s ease !important;
  opacity: 1 !important; /* S'assurer qu'il est toujours opaque */
  visibility: visible !important; /* S'assurer qu'il est toujours visible */
}

.gems-news-button:hover {
  background: #d87417;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .gems-latest-news {
    padding: 18px 0 4px;
  }

  .gems-latest-news > .wrap {
    width: calc(100% - 28px);
  }

  .gems-news-box {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 17px;
  }

  .gems-news-content h2 {
    font-size: 18px;
  }

  .gems-news-button {
    justify-self: start;
  }
}