.rjc-footer,
.rjc-footer * { box-sizing: border-box; }

/* Un seul footer : le footer Soledad est masqué lorsque ce module est actif. */
body.rjc-footer-pro-active footer:not(.rjc-footer),
body.rjc-footer-pro-active #footer-section,
body.rjc-footer-pro-active .footer-subscribe,
body.rjc-footer-pro-active .footer-widget-wrapper,
body.rjc-footer-pro-active .footer-socials-section,
body.rjc-footer-pro-active .penci-footer-social-media,
body.rjc-footer-pro-active .penci-footer-copyright,
body.rjc-footer-pro-active .footer-logo-copyright,
body.rjc-footer-pro-active .penci-footer-wrap,
body.rjc-footer-pro-active .penci-footer-widget-area,
body.rjc-footer-pro-active .penci-footer-widget-wrapper,
body.rjc-footer-pro-active .footer-widget-area { display: none !important; }

.rjc-footer {
  width: 100%;
  margin-top: 44px;
  background: #02236B;
  color: #fff;
  font-family: inherit;
}

.rjc-footer__inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 36px;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 1fr));
  gap: 42px;
  align-items: start;
}

.rjc-footer__title {
  display: inline-block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
}

.rjc-footer__intro {
  max-width: 460px;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
}

.rjc-footer__publisher {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: .82;
}

.rjc-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
}

.rjc-footer__socials a,
.rjc-footer__column a,
.rjc-footer__bottom a {
  color: #fff;
  text-decoration: none;
}

.rjc-footer__socials a {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rjc-footer__column h2 {
  margin: 2px 0 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rjc-footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rjc-footer__column li {
  margin: 0 0 10px;
  padding: 0;
}

.rjc-footer__column a {
  font-size: 14px;
  line-height: 1.45;
  opacity: .9;
}

.rjc-footer__column a:hover,
.rjc-footer__column a:focus,
.rjc-footer__bottom a:hover,
.rjc-footer__bottom a:focus {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rjc-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.22);
}

.rjc-footer__bottom-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.rjc-footer__bottom p,
.rjc-footer__bottom a {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: .84;
}

.rjc-page-lead {
  font-size: 1.14em;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .rjc-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .rjc-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .rjc-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
  .rjc-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .rjc-footer {
    margin-top: 32px;
  }
  .rjc-footer__inner,
  .rjc-footer__bottom-inner {
    width: min(100% - 28px, 1220px);
  }
  .rjc-footer__inner {
    padding: 36px 0 28px;
    grid-template-columns: 1fr;
  }
  .rjc-footer__brand {
    grid-column: auto;
  }
  .rjc-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
