.efi-facebook-news {
  --efi-navy: #102b4c;
  --efi-blue: #1e4d7b;
  --efi-gold: #c49a4a;
  --efi-cream: #f7f4ee;
  margin: 0 auto;
  max-width: 1240px;
  padding: 28px 20px 70px;
}

.efi-facebook-news__header {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.efi-facebook-news__header p {
  margin: 0 0 10px;
  color: var(--efi-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.efi-facebook-news__header h2 {
  margin: 0;
  color: var(--efi-navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
}

.efi-facebook-news__header span {
  display: block;
  margin-top: 12px;
  color: #526170;
}

.efi-facebook-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.efi-facebook-news__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 14px 34px rgba(16, 43, 76, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.efi-facebook-news__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(16, 43, 76, .18);
}

.efi-facebook-news__image {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.efi-facebook-news__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 25px 27px;
}

.efi-facebook-news__body time {
  color: var(--efi-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.efi-facebook-news__body p {
  margin: 13px 0 22px;
  color: #283a4b;
  font-size: 1rem;
  line-height: 1.65;
}

.efi-facebook-news__body a {
  margin-top: auto;
  color: var(--efi-navy);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.efi-facebook-news__body a:hover {
  color: var(--efi-gold);
}

.efi-facebook-error {
  padding: 12px 16px;
  color: #8a1f11;
  border-left: 4px solid #cc3a27;
  background: #fff2f0;
}

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

@media (max-width: 600px) {
  .efi-facebook-news {
    padding-right: 0;
    padding-left: 0;
  }

  .efi-facebook-news__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .efi-facebook-news__image {
    height: 230px;
  }
}
