.vcsfb-timeline {
  --vcsfb-blue: #0d5c9d;
  --vcsfb-cyan: #139dca;
  --vcsfb-ink: #12324d;
  --vcsfb-border: #d8e2ea;
  --vcsfb-surface: #fff;
  --vcsfb-muted: #5b6b78;
  width: 100%;
  color: var(--vcsfb-ink);
  font: inherit;
}

.vcsfb-timeline__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.vcsfb-timeline__eyebrow {
  margin: 0 0 .35rem;
  color: var(--vcsfb-cyan);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vcsfb-timeline__title {
  margin: 0;
  color: var(--vcsfb-ink);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.vcsfb-timeline__intro {
  margin: .65rem 0 0;
  color: var(--vcsfb-muted);
}

.vcsfb-timeline__facebook-link,
.vcsfb-timeline__load,
.vcsfb-post__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.vcsfb-timeline__facebook-link,
.vcsfb-timeline__load {
  padding: .75rem 1.2rem;
  background: var(--vcsfb-blue);
  color: #fff;
}

.vcsfb-timeline__facebook-link:hover,
.vcsfb-timeline__load:hover {
  background: var(--vcsfb-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.vcsfb-timeline__scroll {
  max-height: var(--vcsfb-scroll-height, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: .25rem .75rem .75rem .25rem;
}

.vcsfb-timeline__posts {
  display: grid;
  grid-template-columns: repeat(var(--vcsfb-columns, 2), minmax(0, 1fr));
  gap: 1.25rem;
}

.vcsfb-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vcsfb-border);
  border-radius: 18px;
  background: var(--vcsfb-surface);
  box-shadow: 0 12px 28px rgb(16 49 74 / 8%);
}

.vcsfb-post__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3f6;
}

.vcsfb-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcsfb-post__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1825;
}

.vcsfb-post__video--portrait {
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}

.vcsfb-post__video--square {
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.vcsfb-post__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.vcsfb-post__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.vcsfb-post__date {
  margin-bottom: .65rem;
  color: var(--vcsfb-cyan);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vcsfb-post__message {
  display: -webkit-box;
  margin: 0 0 1rem;
  overflow: hidden;
  color: #2d4659;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.vcsfb-post__link {
  min-height: 38px;
  margin-top: auto;
  padding: .5rem .9rem;
  background: #eaf5fb;
  color: var(--vcsfb-blue);
}

.vcsfb-post__link:hover {
  background: var(--vcsfb-blue);
  color: #fff;
}

.vcsfb-timeline__controls {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 1.5rem 0 .5rem;
}

.vcsfb-timeline__load[hidden] {
  display: none;
}

.vcsfb-timeline__status,
.vcsfb-timeline__notice {
  color: var(--vcsfb-muted);
  text-align: center;
}

.vcsfb-timeline__sentinel {
  width: 1px;
  height: 1px;
}

@media (max-width: 767px) {
  .vcsfb-timeline__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vcsfb-timeline__posts {
    grid-template-columns: 1fr;
  }

  .vcsfb-timeline__scroll {
    padding-right: .35rem;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .vcsfb-timeline__posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .vcsfb-timeline__facebook-link,
  .vcsfb-timeline__load,
  .vcsfb-post__link {
    transition: none;
  }
}

/* VCS Facebook Timeline responsive Home layout */
@media (min-width: 992px) {
  #column-wrap-id-1786125000027,
  #column-wrap-id-1786125000030 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
  }
}

.gd-facebook-feed-addon .vcsfb-timeline {
  min-width: 0;
}

.gd-facebook-feed-addon .vcsfb-timeline__posts {
  grid-template-columns: 1fr;
}

.gd-facebook-feed-addon .vcsfb-post__media {
  aspect-ratio: auto;
  background: transparent;
}

.gd-facebook-feed-addon .vcsfb-post__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gd-facebook-feed-addon .gd-facebook-feed,
.gd-facebook-feed-addon .gd-facebook-feed iframe {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
}

/* Preserve native Facebook image proportions and prevent horizontal overflow. */
.vcsfb-timeline,
.vcsfb-timeline__scroll,
.vcsfb-timeline__posts,
.vcsfb-post,
.vcsfb-post__media,
.vcsfb-post__media img,
.vcsfb-post__video,
.vcsfb-post__video iframe {
  max-width: 100%;
}

.vcsfb-post__media {
  aspect-ratio: auto;
  background: transparent;
}

.vcsfb-post__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .vcsfb-post__body {
    padding: 1rem;
  }

  .vcsfb-post__video--portrait {
    width: min(100%, 360px);
  }
}

/* News & Events is a dedicated timeline page with a taller desktop viewport. */
.vcsfb-timeline--news-events .vcsfb-timeline__scroll {
  max-height: 1200px;
}

@media (max-width: 767px) {
  .vcsfb-timeline--news-events .vcsfb-timeline__scroll {
    max-height: min(75vh, 720px);
  }
}@media (min-width: 992px) {
  .vcsfb-timeline--news-events {
    width: 50%;
    margin-inline: auto;
  }
}
.vcsfb-timeline--news-events .vcsfb-timeline__header {
  display: flex;
  justify-content: center;
  padding: 0 0 1.25rem;
}

/* Native Facebook Reels use the Graph API's signed video source. */
.vcsfb-post__video video.vcsfb-post__reel {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a1825;
}