/* New css for banner section */
.banner-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.banner-section picture {
  display: block;
  width: 100%;
}

.banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-position: center bottom;
  object-fit: cover;
  height: calc(100vh - 120px);
  max-height: 840px;
}

.x-5-img {
  position: absolute;
  top: 94px;
  left: 50%;
  transform: translateX(-50%);
}

.fuji-sectionX {
  background: #fff;
  background-color: #fff;
}

.fuji-sectionX::before,
.fuji-sectionX::after {
  display: none;
}

.section-title::after {
  background: linear-gradient(90deg, hsla(0, 0%, 100%, 0) 5%, #bdbdbd 20%, #bdbdbd 80%, hsla(0, 0%, 100%, 0) 95%);
  width: 500px;
  height: 2.5px;
}

/* background image */
.back-header {
  position: relative;
  background: linear-gradient(45deg, rgb(164, 175, 187) 0%, rgb(205, 214, 221) 55%);
  padding: 0;
}

.bacg-img {
  background-image: url(/wp-content/uploads/2025/06/background-fixed.webp);

  background-repeat: no-repeat;
  width: 100%;
  background-size: auto 70vh;
  height: 60vh;
  background-position: 50% 70%;
  background-attachment: fixed;
}

.video-container {
  max-width: 800px;
  padding: 0;
}

.video-section {
  background: transparent;
  padding: 100px 0;

}

.video-container .play-button svg {
  width: 100px;
  height: 100px;
}

.video-container {
  padding: 0 15px;
}

.pt-0 {
  padding-top: 0;
}

.design-section .section-title::after {
  width: 300px;
}

.design-details span {
  font-size: 12px;
  color: #000;
  display: block;
  margin-top: 10px;
}

.classic-design-image span {
  position: absolute;
  bottom: -21px;
  right: 0;
  font-size: 12px;
  color: #000;
}

@media screen and (max-width: 991px) {

  .two-formats-content,
  .classic-design-content {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 767px) {
  .section-title::after {
    width: 300px;
  }
}

.xe5-feature-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px auto 60px auto;
  flex-wrap: wrap;
  max-width: 960px;
}

.xe5-feature-card {
  background: #11151a;
  color: #fff;
  border-radius: 0;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
  flex: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.second-card {
  padding: 0;
}

.inner-card {
  padding: 36px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.xe5-feature-logo {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto 18px auto;
}

.xe5-feature-headline {
  font-family: 'Fjalla One', Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 22px;
  margin-top: 0;
  letter-spacing: 0.5px;
}

.xe5-feature-img {
  width: 280px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
  margin-top: 0;
  display: block;
}

.xe5-feature-desc {
  font-size: 16px;
  text-align: center;
  margin: 0 0 0 0;
  flex: 1;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.xe5-feature-learnmore {
  width: 100%;
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(0, 0, 0) 100%);
  text-align: center;
  padding: 18px 0 14px 0;
  margin-top: 32px;
  font-size: 1.3rem;
  font-family: 'Fjalla One', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.learn-more-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.learn-more-btn:hover {
  color: #222;
}

.xe5-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;

  border-radius: 0 0 0 0;
  overflow: hidden;
  width: 100%;
}

.xe5-feature-grid>div {
  padding: 36px 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  font-size: 16px;
  text-align: center;
  font-family: 'Fjalla One', Arial, sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.create-story-section {
  background: #0f141c;
}

a.underline:after {
  filter: invert(1);
}

.two-formats-header p {
  margin-bottom: 30px;
}

a.create-story-link {
  color: #fff;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 400;

  display: inline-block;
}

.create-story-section .slick-prev {
  left: calc(50% - 410px) !important;
  z-index: 99;
}

.create-story-section .slick-next {
  right: calc(50% - 410px) !important;
}


.barimg {

  max-width: 570px;
  width: 100%;
  margin: 0 auto;
  margin-top: 30px;
}

.barimg img {
  width: 100%;
  height: auto;
}

.story-image-wrapper {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: auto;
  aspect-ratio: unset;
}

.singlevideoimg {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  margin-top: 40px;
}

.singlevideoimg img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .xe5-feature-section {
    align-items: flex-start;
    gap: 32px;
  }

  .xe5-feature-grid {
    grid-template-columns: 1fr;
  }

  .xe5-feature-grid>div {
    border-right: none;
    border-top: 1px solid #fff;
    padding: 20px;
  }
}


/* x stories */
.fujiCommonSpace {
  padding: 50px 0;
}

.fujicontainer {
  max-width: 1140px;
  margin: auto;
  width: 100%;
}

.fujiSlider .innerContentBlock {
  max-width: 70%;
  margin: auto;
}

img {
  display: block;
  margin: auto;
}

.main-slider img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: 0.3s;
}

.nav-slider {

  margin: 10px auto;
}

.nav-slider img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: 0.3s;
}

.slick-slide {
  margin: 5px;
}

.nav-slider img:hover {
  opacity: 0.5;
}

.main-slider img:hover {
  opacity: 0.5;
}

.FujiIframeBlock iframe {
  width: 100%;
}

.fujitable {
  max-width: 700px;
  margin: 60px auto 40px auto;
  width: 100%;
}

.fujitable table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: transparent;
}

.fujitable td {
  padding: 15px 24px;
  padding-left: 0;
  border-bottom: 1px solid rgba(191, 191, 191, 1);
  border-top: 1px solid rgba(191, 191, 191, 1);

  text-align: left;
  font-weight: 500;
}

.fujitable td:nth-child(1) {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  width: 320px;


}

.fujitable td:first-child {
  border-top: 1px solid #000;
  width: 320px;
}

.fujitable td:last-child {
  font-weight: 400;
}

.pdf-link {
  color: #1cc7c1;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
}

.pdf-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {

  .fujitable table,
  .fujitable td {
    font-size: 16px;
    padding: 12px 8px;
  }

  .fujitable td:first-child {
    width: 140px;
  }
}

.fujifilm-news-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Heading */
.fujifilm-heading {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* News List */
.fujifilm-news-list {
  list-style: none;
  padding: 0;
}

/* News Items */
.fujifilm-news-list li {
  padding: 10px 0;
}

/* Date */
.fujifilm-news-date {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 3px;
}

/* Title */
.fujifilm-news-title {
  font-size: 18px;
  font-weight: bold;
  display: block;
  color: #000;
}

/* Links */
.fujifilm-news-list a {
  text-decoration: none;
  color: inherit;
}

/* Divider */
.fujifilm-news-list hr {
  border: none;
  border-top: 1px solid #000;
  margin: 10px 0;
}

.fujifilm-news-list li a:hover {
  text-decoration: underline;
}

.x-stories-container {
  max-width: 95%;
  margin: 0 auto;
}

/* Title */
.x-stories-title {
  font-size: 36px;
  font-weight: 500;
  font-family: 'Fjalla One', Arial, sans-serif;
  margin-bottom: 20px;
}

/* Grid Layout */
.x-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

/* Story Card */
.story-card {
  position: relative;

  height: 250px;
  background-image: url('https://fujifilm-x.b-cdn.net/wp-content/uploads/2023/01/reflections-movie-1.jpg?width=768&height=432');
  /* Using the provided image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;

  overflow: hidden;
  transition: box-shadow 0.3s ease-in-out;
}

/* Hover Effect - No Scaling, Only Shadow */
.story-card:hover {
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

/* Dark Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease-in-out;
}

/* Hover Effect - Darker Overlay */
.story-card:hover .overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* Content Inside Card */
.story-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  cursor: pointer;
}

/* Tag */
.tag {
  font-size: 14px;
  font-weight: bold;
  color: red;
}

/* Title */
.story-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 5px 0;
}

/* Date */
.date {
  font-size: 14px;
  color: #ccc;
}


.arrow {
  position: absolute;
  width: 60px;
  height: 1px;
  background-color: white;
  right: 22px;
  transition: 0.3s;
}

.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  width: 15px;
  height: 1px;
  background-color: white;
  transform: rotate(45deg);
  transform-origin: right;
}

.span-dots {
  position: absolute;
  color: #fff;
  display: block;
  font-size: 27px;
  right: 25px;
  top: 55%;
  line-height: normal;
}

.story-card:hover .arrow {
  transform: translateX(-15px);
}


/* Responsive Design */
@media (max-width: 900px) {
  .x-stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 600px) {
  .x-stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }

  .story-card {
    height: 170px;
  }
}

@media (max-width: 767px) {

  .banner-image {
    height: 500px;
  }

  .bacg-img {
    background-attachment: scroll;
    height: 40vh;
    background-size: contain;
    background-position: 50%;
  }

  .video-container {
    padding: 0;
  }
}

.yourfilm-section {
  background: #737d7d;
}

.yourfilm-section .section-title:after {
  filter: hue-rotate(45deg);
}

.yourfilm-section .story-text-content {
  text-align: center;
  margin-top: 40px;
}

.grain-split-slider {
  position: relative;
  width: 673px;
  height: 400px;
  margin: 40px auto 0 auto;
  background: #737d7d;
  overflow: hidden;

  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grain-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.grain-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grain-img.grain-on {
  clip-path: inset(0 0 0 50%);
  z-index: 2;
  transition: clip-path 0.3s;
}

.grain-img.grain-off {
  z-index: 1;
}

.grain-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;

}

.grain-divider:before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #fff;
  opacity: 0.8;
}

.grain-label {
  position: absolute;
  top: 50%;
  font-size: 24px;
  color: #fff;
  font-family: 'Fjalla One', Arial, sans-serif;
  font-weight: 600;
  z-index: 4;
  transform: translateY(-50%);

}

.grain-label.off {
  left: calc(-80px);
}

.grain-label.on {
  right: calc(-60px);
}

.grain-circle {
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: rgba(115, 125, 125, 0.7);
  z-index: 5;
  box-sizing: border-box;
}

.grain-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.2s, transform 0.2s;
}

.grain-arrow.left {
  left: -60px;
}

.grain-arrow.right {
  right: -60px;
}

.grain-arrow svg {
  display: block;
}

.grain-arrow:active,
.grain-arrow:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.08);
}

@media screen and (max-width: 1026px) {
  .innerContent {
    text-align: center;
    padding: 0 25px;
  }

  .story-slide-content {
    padding: 0 61px;
  }
}

@media (max-width: 1100px) {
  .grain-arrow.left {
    left: -20px;
  }

  .grain-arrow.right {
    right: -20px;
  }
}

@media (max-width: 900px) {
  .grain-arrow {
    display: none;
  }

  .grain-split-slider {
    height: 320px;
  }

  .grain-split-slider {
    width: 100%;
  }

  .create-story-section .slick-next {
    right: calc(50% - 356px) !important;
  }

  .create-story-section .slick-prev {
    left: calc(50% - 356px) !important;
  }
}

@media (max-width: 767px) {
  .create-story-section .slick-prev {
    left: calc(50% - 190px) !important;
  }

  .story-slide-content {
    padding: 0 30px;
  }

  .create-story-section .slick-next {
    right: calc(50% - 190px) !important;
  }

  .innerContent {
    padding: 0;
  }

  .two-formats-header p {
    padding: 0 5px;
  }
}

@media (max-width: 600px) {
  .grain-split-slider {
    height: 180px;
  }

  .grain-label {
    font-size: 14px;
  }

  .grain-label.off {
    left: -40px;
  }

  .grain-label.on {
    right: -30px;
  }

  .grain-circle {
    width: 28px;
    height: 28px;
    left: -14px;
  }
}