/* section styling */
.single-page-container {
  margin-top: 125px;
}

.single-page-inner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.single-page-inner {
  display: flex;
  width: 800px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.single-page-upper {
  margin-top: 16px;
}

/* title */
.single-title-img {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.single-title-img .h2 {
  flex: 1 0 0;
  max-width: 1000px;
}

.single-content h1.wp-block-heading:first-child,
.single-content h2.wp-block-heading:first-child,
.single-content h3.wp-block-heading:first-child,
.single-content h4.wp-block-heading:first-child,
.single-content h5.wp-block-heading:first-child,
.single-content h6.wp-block-heading:first-child {
  margin-top: 0;
}

.single-content h1.wp-block-heading,
.single-content h2.wp-block-heading,
.single-content h3.wp-block-heading,
.single-content h4.wp-block-heading,
.single-content h5.wp-block-heading,
.single-content h6.wp-block-heading {
  margin-top: 16px;
  font-family: "HalisR";
  font-size: 32px;
  font-weight: 500;
  line-height: 42px;
}

.center {
  text-align: center;
}

/* Images */
.single-page-upper .single-thumbnail {
  width: 1000px;
  height: 592px;
}

.single-page-upper .single-thumbnail img {
  width: 100%;
  height: 100%;
}

.single-content .wp-block-image {
  height: 450px;
  align-self: stretch;
  width: 100%;
  margin-top: 16px;
}

.single-content .wp-block-image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Content */
.single-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.single-content ul {
  padding-left: 30px;
}

.single-content ul li {
  list-style-type: disc;
}

/* link */
.single-content a {
  text-decoration: underline;
  color: var(--black1);
}

.single-content a:hover {
  color: var(--grey1);
}

/* responsive */
@media (max-width: 1000px) {
  .single-page-upper .single-thumbnail {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 876px) {
  .single-page-inner {
    width: 100%;
  }
  .single-content .wp-block-image {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .single-page-inner-wrapper {
    margin-top: 32px;
  }

  .single-page-upper {
    margin-top: 0;
  }

  .single-page-container {
    margin-top: 115px;
  }

  .single-page-upper .single-thumbnail {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .single-title-img {
    margin-top: 34px;
  }

  .single-content .wp-block-image {
    aspect-ratio: 318/179;
  }

  .single-content h1.wp-block-heading,
  .single-content h2.wp-block-heading,
  .single-content h3.wp-block-heading,
  .single-content h4.wp-block-heading,
  .single-content h5.wp-block-heading,
  .single-content h6.wp-block-heading {
    font-size: 26px;
    line-height: 34px;
  }
}

@media (max-width: 430px) {
  .single-title-img .h2 {
    max-width: 318px;
  }
}

@media (max-width: 375px) {
  .single-page-upper .single-thumbnail {
    height: 207px;
  }
}
