.fc-just-published,
.fc-just-published *,
.fc-jp-section,
.fc-jp-section .elementor-heading-title,
.fc-jp-section .elementor-widget-heading .elementor-heading-title,
.fc-jp-section .elementor-widget-text-editor,
.fc-jp-section .elementor-widget-text-editor p {
  font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}

.fc-just-published {
  --fc-jp-ink: #1a1a1a;
  --fc-jp-line: #6ec1e4;
  --fc-jp-muted: #555;
  width: 100%;
}

.fc-jp-section .elementor-heading-title,
.fc-jp-section .elementor-widget-heading .elementor-heading-title,
.intro-heading h1 {
  font-family: Futura, "Montserrat", Arial, Helvetica, sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  color: #111 !important;
  margin: 0 0 16px !important;
  letter-spacing: 0;
  text-align: center;
}

.fc-jp-section .elementor-widget-text-editor,
.fc-jp-section .elementor-widget-text-editor .elementor-widget-container,
.fc-jp-section .elementor-widget-text-editor p {
  font-size: 22px !important;
  line-height: 1.4 !important;
  color: #111 !important;
  font-weight: 500 !important;
}

.fc-jp-section .elementor-widget-text-editor strong,
.fc-jp-section .elementor-widget-text-editor b {
  font-weight: 700 !important;
}

.fc-jp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 80px;
  padding: 0 90px;
}

@media (max-width: 1199px) {
  .fc-jp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }
}

.fc-jp-week {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.fc-jp-week-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 500;
  color: var(--fc-jp-ink);
  text-align: center;
}

.fc-jp-week-flag {
  display: flex;
  align-items: stretch;
  margin: 0 0 18px;
  overflow: hidden;
  position: relative;
}

.fc-jp-week-band {
  flex: 1 1 auto;
  margin: 0;
  padding: 10px 16px;
  background: #6ec1e4;
  color: #333;
  font-family: "Montserrat" !important;
  font-size: 10px !important;
  line-height: 1.3;
  font-weight: 800;
  position: relative;
  margin-right: 110px;
  margin-bottom: 0 !important;
}
.fc-jp-week-band::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100%;
  width: 999px;
  height: 2px;
  background: #111;
}

.fc-jp-week-flag-line {
  display: none !important;
}

.fc-jp-week-flag-mark {
  background: #111;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  position: absolute;
  right: 40px;
  bottom: 0;
  top: 0;
  z-index: 12;
  width: 70px;
}

.fc-jp-week-flag-line {
  flex: 0 0 28px;
  align-self: flex-end;
  height: 3px;
  background: #111;
}

.fc-jp-carousel {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 4px solid var(--fc-jp-line);
  background: #fff;
  padding: 16px;
  min-height: 200px;
  box-sizing: border-box;
  overflow: hidden;
}

.fc-jp-viewport {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.fc-jp-track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 450ms ease;
  will-change: transform;
}

.fc-jp-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.fc-jp-card-link {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  height: 200px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  overflow: hidden;
}

.fc-jp-cover {
  position: relative;
  display: block;
  flex: 1 1 160px;
  width: auto;
  min-width: 96px;
  max-width: 160px;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.fc-jp-cover-img,
.fc-jp-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill;
}

.fc-jp-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 6px;
  box-sizing: border-box;
  background: #f4f4f4;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
  color: var(--fc-jp-ink);
}

.fc-jp-logo-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 170px;
  width: auto;
  min-width: 110px;
  max-width: 170px;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 2px solid var(--fc-jp-line);
  background: #fff;
  overflow: hidden;
}

.fc-jp-logo-img,
.fc-jp-logo-box > img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex: 0 1 auto;
}

.fc-jp-logo-text {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  color: var(--fc-jp-muted);
  overflow-wrap: anywhere;
}

.fc-jp-botw {
  position: static;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
}

.fc-jp-botw img {
  display: block;
  width: 72px;
  height: 72px;
}

.fc-jp-empty {
  margin: 48px 16px;
  width: 100%;
  text-align: center;
  color: var(--fc-jp-muted);
}

.fc-jp-nav,
.home button.fc-jp-nav,
.home .fc-jp-nav.fc-jp-next {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 50px;
  width: 50px;
  transform: none;
  z-index: 2;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #6ec1e4;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  align-self: center;
}

.fc-jp-nav[hidden] {
  display: none;
}

.fc-jp-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fc-jp-next-arrow {
  display: block;
  width: 56px;
  height: 26px;
  color: #6ec1e4;
  background: transparent;
  margin: 0 auto;
}

.fc-jp-next-arrow svg {
  display: block;
  width: 36px;
  height: 26px;
}

.fc-jp-see-more {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 1.15;
  color: #111;
  text-align: center;
  white-space: normal;
  text-transform: capitalize;
  font-style: italic;
  font-weight: 500;
}

.fc-jp-see-more::hover {
  opacity: 0.7;
}

.elementor-widget-shortcode .fc-just-published {
  margin-top: 15px;
}

/* Keep a real slide even when OS "reduce motion" zeros transitions. */
@media (prefers-reduced-motion: reduce) {
  .fc-jp-track {
    transition-duration: 350ms !important;
    transition-delay: 0s !important;
  }
}

@media (max-width: 1199px) {
  .fc-jp-carousel {
    padding: 28px 16px 28px 24px;
    min-height: 0;
  }

  .fc-jp-card-link {
    height: 340px;
    gap: 20px;
  }

  .fc-jp-cover {
    flex: 1 1 220px;
    min-width: 140px;
    max-width: 240px;
  }

  .fc-jp-logo-box {
    flex: 1 1 240px;
    min-width: 160px;
    max-width: 280px;
  }

  .fc-jp-logo-img,
  .fc-jp-logo-box > img {
    max-height: 200px;
  }
}

@media (max-width: 1023px) {
  /* Local: ed530d0 / staging: d890511 — prefer section-scoped text-editor. */
  .fc-jp-section .elementor-widget-text-editor,
  .fc-jp-section .elementor-widget-text-editor .elementor-widget-container,
  .fc-jp-section .elementor-widget-text-editor p {
    font-size: 18px !important;
  }

  .fc-jp-week-title {
    font-size: 20px;
  }

  .fc-jp-week-band {
    padding: 10px 14px;
    margin-right: 72px;
    font-size: 12px !important;
  }

  .fc-jp-week-flag-mark {
    right: 28px;
    width: 48px;
  }

  .fc-jp-carousel {
    padding: 24px 12px 24px 20px;
    min-height: 0;
    border-width: 3px;
  }
}

@media (max-width: 767px) {
  .fc-jp-section .elementor-heading-title,
  .fc-jp-section .elementor-widget-heading .elementor-heading-title {
    margin: 0 0 12px !important;
  }

  .fc-jp-section .elementor-widget-text-editor,
  .fc-jp-section .elementor-widget-text-editor .elementor-widget-container,
  .fc-jp-section .elementor-widget-text-editor p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .fc-jp-grid {
    gap: 22px;
  }

  .fc-jp-week-title {
    font-size: 18px;
    margin: 0 0 8px;
  }

  .fc-jp-week-flag {
    margin: 0 0 14px;
  }

  .fc-jp-week-band {
    font-size: 12px !important;
    padding: 8px 12px;
    margin-right: 52px;
  }

  .fc-jp-week-flag-mark {
    right: 18px;
    width: 36px;
  }

  .fc-jp-carousel {
    padding: 14px 8px 14px 12px;
    border-width: 3px;
  }

  .fc-jp-card-link {
    height: 160px;
    gap: 10px;
    align-items: stretch;
  }

  .fc-jp-cover {
    flex: 1 1 100px;
    width: auto;
    min-width: 84px;
    max-width: 100px;
    height: 100%;
  }

  .fc-jp-logo-box {
    flex: 1 1 120px;
    width: auto;
    min-width: 96px;
    max-width: 140px;
    height: 100%;
    padding: 8px;
    gap: 6px;
  }

  .fc-jp-logo-img,
  .fc-jp-logo-box > img {
    max-height: 68px;
  }

  .fc-jp-botw {
    width: 52px;
    height: 52px;
  }

  .fc-jp-botw img {
    width: 52px;
    height: 52px;
  }

  .fc-jp-nav,
  .home button.fc-jp-nav,
  .home .fc-jp-nav.fc-jp-next {
    flex-basis: 60px;
    width: 60px;
  }

  .fc-jp-next {
    gap: 4px;
  }

  .fc-jp-next-arrow {
    width: 40px;
    height: 28px;
  }

  .fc-jp-next-arrow svg {
    width: 40px;
    height: 28px;
  }

  .fc-jp-see-more {
    font-size: 13px;
  }
}
