/* French section styles. Loaded only when cs_is_french_context() is true. */

body.fr-context {
  direction: ltr;
}

body.fr-context .main {
  direction: ltr;
}

.fr-home {
  max-width: 1180px;
  margin: 28px auto 48px;
  padding: 0 18px;
}

.fr-hero {
  background: #101820;
  color: #fff;
  border-radius: 8px;
  padding: 42px 36px;
  margin-bottom: 28px;
  border-left: 6px solid #e72208;
}

.fr-kicker {
  margin: 0 0 10px;
  color: #ffd166;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fr-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: 42px;
  line-height: 1.15;
}

.fr-hero__lede {
  max-width: 680px;
  margin: 14px 0 0;
  color: #d7dee7;
  font-size: 17px;
  line-height: 1.65;
}

.fr-page-content {
  margin-bottom: 30px;
}

.fr-section {
  margin: 32px 0;
}

.fr-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid #111827;
}

.fr-section__head h2 {
  display: inline-block;
  margin: 0;
  padding: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

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

.fr-category-card {
  display: block;
  min-height: 112px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .06);
}

.fr-category-card span {
  display: block;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.fr-category-card small {
  display: block;
  margin-top: 8px;
  color: #667085;
  line-height: 1.5;
}

.fr-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .06);
}

.fr-post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f2f4f7;
  overflow: hidden;
}

.fr-post-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-post-card__body {
  padding: 14px 16px 16px;
}

.fr-post-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.fr-post-card h3 a {
  color: #111827;
  text-decoration: none;
}

.fr-post-card time {
  color: #667085;
  font-size: 13px;
}

body.fr-context .breadcrumbs {
  direction: ltr;
}

body.fr-context .navigate-posts {
  direction: ltr;
}

@media (max-width: 900px) {
  .fr-category-grid,
  .fr-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .fr-home {
    margin-top: 16px;
    padding: 0 14px;
  }

  .fr-hero {
    padding: 28px 20px;
  }

  .fr-hero h1 {
    font-size: 30px;
  }

  .fr-category-grid,
  .fr-post-grid {
    grid-template-columns: 1fr;
  }
}
