/* Public news module */

.actualites-page {
  background: #f6f8fb;
  color: #1f2937;
}

.news-index-hero,
.article-header {
  background: #10233f;
  color: #fff;
  padding: 72px 0 58px !important;
}

.index-heading {
  max-width: 840px;
}

.index-heading span,
.section-heading span,
.article-meta span,
.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.index-heading span,
.article-meta span {
  color: #ffd166;
}

.index-heading h1,
.article-header h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.index-heading p,
.article-standfirst {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.news-index {
  padding: 42px 0 78px;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 44px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
}

.featured-image,
.news-card-image,
.article-cover {
  display: block;
  overflow: hidden;
  background: #d8e0e8;
}

.featured-image {
  min-height: 390px;
}

.featured-image img,
.news-card-image img,
.article-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #607085;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-card-meta span {
  color: #0d8b7e;
}

.featured-copy h2,
.section-heading h2,
.news-card h3 {
  margin: 0;
  color: #10233f;
  line-height: 1.22;
  letter-spacing: 0;
}

.featured-copy h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
}

.featured-copy h2 a,
.news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-copy p,
.news-card p,
.empty-state p {
  margin: 14px 0 0;
  color: #536173;
  line-height: 1.72;
}

.news-button,
.read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.news-button {
  width: max-content;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 6px;
  background: #d84444;
  color: #fff;
  border: 1px solid #d84444;
}

.news-button:hover {
  background: #b93434;
  border-color: #b93434;
  color: #fff;
}

.read-link {
  margin-top: auto;
  color: #d84444;
}

.read-link:hover {
  color: #10233f;
}

.news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.news-card .news-share {
  margin-top: 18px;
}

.share-button {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #d6e9fa;
  color: #1472bb;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.share-button:hover,
.share-button:focus {
  background: #1472bb;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 114, 187, 0.24);
}

.share-button:focus {
  outline: 2px solid rgba(20, 114, 187, 0.28);
  outline-offset: 3px;
}

.share-x {
  font-size: 14px;
  font-weight: 800;
}

.share-copy-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  min-width: 82px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #10233f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.share-copy.copied .share-copy-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
}

.section-heading span {
  color: #0d8b7e;
}

.section-heading h2 {
  font-size: 1.6rem;
}

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

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(16, 35, 63, 0.06);
}

.news-card-image {
  height: 220px;
}

.news-card h3 {
  font-size: 1.1rem;
}

.news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: 52px 22px;
  text-align: center;
}

.empty-state span {
  color: #0d8b7e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.empty-state h1,
.empty-state h2 {
  margin: 12px 0 0;
  color: #10233f;
  font-size: 2rem;
  line-height: 1.2;
}

.actualites-empty {
  min-height: 58vh;
  display: flex;
  align-items: center;
  background: #f6f8fb;
}

.article-detail {
  background: #f6f8fb;
}

.article-header {
  padding-bottom: 92px;
}

.back-link {
  margin-bottom: 16px;
  color: #ffd166;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.article-shell {
  margin-top: -56px;
  padding-bottom: 78px;
}

.article-cover {
  max-width: 980px;
  height: auto;
  min-height: 0;
  margin: 0 auto 34px;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
}

.article-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 18px;
  color: #263342;
  font-size: 18px;
  line-height: 1.85;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #10233f;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-content h2 {
  margin: 34px 0 14px;
  font-size: 1.8rem;
}

.article-content h3 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.article-content h4 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
}

.article-content a {
  color: #0d6fb8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px 24px;
  padding: 0;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 5px solid #d84444;
  background: #fff;
  color: #263342;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.06);
}

.article-content figure {
  margin: 30px 0;
}

.article-content figure img,
.article-content p img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.article-content figcaption {
  margin-top: 8px;
  color: #667589;
  font-size: 14px;
  line-height: 1.5;
}

.article-content .article-embed,
.article-content iframe {
  width: 100%;
}

.article-content .article-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 30px 0;
  background: #101827;
  border-radius: 8px;
  overflow: hidden;
}

.article-content .article-embed iframe,
.article-content iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.article-content video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 8px;
  background: #101827;
}

.article-content hr {
  border: 0;
  border-top: 1px solid #d8e0e8;
  margin: 34px 0;
}

.related-news {
  max-width: 1120px;
  margin: 48px auto 0;
}

@media (max-width: 991px) {
  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 320px;
  }

  .news-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .news-index-hero,
  .article-header {
    padding: 52px 0 46px !important;
  }

  .article-header {
    padding-bottom: 78px !important;
  }

  .index-heading p,
  .article-standfirst {
    font-size: 16px;
  }

  .index-heading h1,
  .article-header h1 {
    font-size: 34px;
  }

  .featured-copy,
  .news-card-body {
    padding: 18px;
  }

  .share-button {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .featured-image,
  .news-card-image {
    min-height: 0;
    height: 230px;
  }

  .news-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 8px;
  }

  .article-cover {
    height: auto;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.78;
  }
}

@media (max-width: 575px) {
  .index-heading h1,
  .article-header h1 {
    font-size: 30px;
  }
}
