/* =========================================================
   GPPS FACEBOOK POSTS
   ========================================================= */

.fcp-section {
  width: 100%;
  position: relative;
  padding: 10px 0 45px;
}


/* =========================================================
   HEADER
   ========================================================= */

.fcp-header {
  margin-bottom: 28px;
}

.fcp-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fcp-logo-wrapper {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.fcp-logo {
  max-width: 72px;
  max-height: 72px;
  width: auto;
  height: auto;
  display: block;
}

.fcp-brand-text {
  display: flex;
  flex-direction: column;
}

.fcp-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #1269a8;
}

.fcp-title {
  margin: 0;
  padding: 0;

  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;

  color: #172b3a;
}


/* =========================================================
   SLIDER
   ========================================================= */

.fcp-slider-container {
  width: 100%;
  position: relative;
}

.fcp-swiper {
  width: 100%;
  padding: 8px 4px 15px;
}


/* =========================================================
   CARD
   ========================================================= */

.fcp-slide {
  height: auto;

  background: #ffffff;

  border-radius: 12px;

  overflow: hidden;

  border: 1px solid #e4e9ed;

  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.fcp-slide:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   IMAGE
   ========================================================= */

.fcp-image-wrapper {
  width: 100%;
  height: 235px;

  overflow: hidden;

  background: #edf1f4;

  position: relative;
}

.fcp-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.45s ease;
}

.fcp-slide:hover .fcp-image {
  transform: scale(1.04);
}


/* =========================================================
   NO IMAGE
   ========================================================= */

.fcp-no-image {
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #edf2f5,
      #dce4e9
    );
}

.fcp-no-image-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcp-no-image-icon {
  width: 70px;
  height: 70px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #1269a8;

  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.fcp-card-content {
  padding: 22px 24px 24px;

  display: flex;
  flex-direction: column;

  min-height: 245px;
}


/* =========================================================
   DATE
   ========================================================= */

.fcp-date {
  font-size: 13px;
  line-height: 1.4;

  font-weight: 600;

  color: #697781;

  margin-bottom: 10px;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.fcp-card-title {
  margin: 0 0 12px;

  font-size: 19px;
  line-height: 1.35;

  font-weight: 700;

  color: #172b3a;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.fcp-message {
  font-size: 15px;
  line-height: 1.65;

  color: #4b5962;

  display: -webkit-box;

  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;

  overflow: hidden;
}


/* =========================================================
   FOOTER
   ========================================================= */

.fcp-card-footer {
  margin-top: auto;

  padding-top: 22px;
}


/* =========================================================
   READ MORE
   ========================================================= */

.fcp-read-more {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-size: 15px;

  font-weight: 700;

  color: #0878bd;

  text-decoration: none;

  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.fcp-read-more:hover {
  color: #005a91;

  gap: 12px;

  text-decoration: none;
}

.fcp-arrow {
  font-size: 19px;

  line-height: 1;
}


/* =========================================================
   NAVIGATION ARROWS
   ========================================================= */

.fcp-prev,
.fcp-next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 10;

  width: 46px;
  height: 46px;

  border: none;

  border-radius: 50%;

  background: #ffffff;

  color: #172b3a;

  display: flex;

  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.16);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.fcp-prev {
  left: -18px;
}

.fcp-next {
  right: -18px;
}

.fcp-prev span,
.fcp-next span {
  font-size: 32px;

  line-height: 1;

  margin-top: -3px;
}

.fcp-prev:hover,
.fcp-next:hover {
  background: #1269a8;

  color: #ffffff;
}

.fcp-prev:disabled,
.fcp-next:disabled {
  opacity: 0.4;

  cursor: default;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.fcp-pagination {
  position: relative !important;

  margin-top: 18px;

  text-align: center;
}

.fcp-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;

  opacity: 1;

  background: #ccd5db;

  margin: 0 4px !important;
}

.fcp-pagination .swiper-pagination-bullet-active {
  width: 22px;

  border-radius: 8px;

  background: #1269a8;
}


/* =========================================================
   LOADING
   ========================================================= */

.fcp-loading {
  min-height: 180px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 12px;

  color: #68757e;

  font-size: 15px;
}

.fcp-loading-spinner {
  width: 30px;
  height: 30px;

  border: 3px solid #dce4e9;

  border-top-color: #1269a8;

  border-radius: 50%;

  animation:
    fcp-spin 0.8s linear infinite;
}

@keyframes fcp-spin {

  to {
    transform: rotate(360deg);
  }

}


/* =========================================================
   EMPTY / ERROR
   ========================================================= */

.fcp-empty,
.fcp-error {
  padding: 35px;

  text-align: center;

  border-radius: 10px;

  background: #f4f7f9;

  color: #5e6b73;
}

.fcp-error {
  color: #a33a3a;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .fcp-prev {
    left: -10px;
  }

  .fcp-next {
    right: -10px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .fcp-section {
    padding-bottom: 30px;
  }

  .fcp-brand {
    gap: 12px;
  }

  .fcp-logo-wrapper {
    width: 58px;
    height: 58px;

    flex-basis: 58px;
  }

  .fcp-logo {
    max-width: 58px;
    max-height: 58px;
  }

  .fcp-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .fcp-title {
    font-size: 23px;
  }

  .fcp-image-wrapper {
    height: 210px;
  }

  .fcp-card-content {
    padding: 18px 20px 20px;

    min-height: 225px;
  }

  .fcp-card-title {
    font-size: 18px;
  }

  .fcp-message {
    font-size: 14px;
  }

  .fcp-prev,
  .fcp-next {
    width: 40px;
    height: 40px;
  }

  .fcp-prev {
    left: 8px;
  }

  .fcp-next {
    right: 8px;
  }

}