/* div {
  border: 1px solid red;
} */

.single-container {
  margin-top: 150px;
  padding-bottom: 50px;
  color: var(--grey2);
  background-color: var(--grey5);
}

.single-container a {
  text-decoration: none;
  color: var(--green2);
}

.single-container ul {
  margin-left: 20px;
  font-size: 16px;
  line-height: 24px;
  font-family: "Axiforma";
  font-weight: 300;
}

.single-container h1 {
  /* h1 */
  font-size: 60px;
  line-height: 72px;
  font-family: "Barlow";
  font-weight: 700;
}
.single-container h2 {
  /* h2 */
  font-size: 36px;
  line-height: 44px;
  font-family: "Barlow";
  font-weight: 700;
}
.single-container h3 {
  /* h3 */
  font-size: 24px;
  line-height: 27px;
  font-family: "Barlow";
  font-weight: 600;
}
.single-container h4 {
  /* h4 */
  font-size: 22px;
  line-height: 27px;
  font-family: "Barlow";
  font-weight: 600;
}
.single-container h5 {
  /* h5 */
  font-size: 20px;
  line-height: 24px;
  font-family: "Barlow";
  font-weight: 600;
}
.single-container h6 {
  /* h6 */
  font-size: 18px;
  line-height: 22px;
  font-family: "Barlow";
  font-weight: 600;
}

.single-photo {
  background-color: var(--background1);
}

.single-photo .container {
  padding-top: 50px;
  width: calc(100% - 40px); /* 100% width minus 20px margin on each side */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 826px;
  overflow: hidden;
  flex-direction: column;
  padding-left: 0px;
  padding-right: 0px;
}

.single-photo .container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-photo-caption {
  width: 100%;
  margin-top: -42px;
  text-align: right;
  padding: 13px 20px;
  color: var(--white1);
  background-color: #292929b3;
}

.single-content .container {
  background-color: var(--white1);
  padding: 50px;
  padding-top: 25px;
  padding-bottom: 20px;
  width: calc(100% - 40px); /* 100% width minus 20px margin on each side */
}

.single-date {
  margin-bottom: 10px;
}

.single-title {
  margin-bottom: 30px;
}

.single-social {
  display: flex;
  gap: 10px;
  width: fit-content;
}

.single-fb,
.single-x,
.single-insta {
  display: flex;
  width: fit-content;
  padding: 10px;
  border-radius: 4px;
  gap: 5px;
  color: var(--white1) !important;
  align-items: center;
  text-decoration: none;
}

.single-fb img,
.single-x img,
.single-insta img {
  width: 14px;
  height: 14px;
}

.single-fb a,
.single-x a,
.single-insta a {
  margin-bottom: 0 !important;
}

.single-line {
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: var(--grey5);
  height: 1px;
}

.single-fb {
  background-color: #3b5998;
}

.single-x {
  background-color: #000000;
}

.single-insta {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.single-content-text p {
  margin-bottom: 30px;
}

figure {
  width: fit-content;
}

.wp-block-image {
  width: 100%;
  margin-bottom: 0 !important;
}

figcaption {
  width: 100%;
  margin-top: -42px !important; /* Adjust this value as needed */
  text-align: right;
  padding: 13px 20px;
  height: 42px;
  color: var(--white1);
  background-color: #292929b3;

  /* Body 6 */
  font-size: 12px;
  line-height: 17px;
  font-family: "Axiforma";
  font-weight: 300;
}

figure.alignleft,
figure.alignright,
figure.aligncenter {
  width: fit-content !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
  display: flex !important;
  flex-direction: column !important;
}

figure.alignleft {
  padding-right: 30px !important;
}

figure.aligncenter {
  margin-left: auto !important;
  margin-right: auto !important;
}

figure.alignright {
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: 30px !important;
}

.has-nested-images figure figcaption {
  width: 100%;

  text-align: right !important;
  padding: 13px 20px !important;
  color: var(--white1) !important;
  background-color: #292929b3 !important;
}

@media screen and (max-width: 1150px) {
  .single-container {
    margin-top: 55px;
    padding-bottom: 25px;
  }
}

@media screen and (max-width: 990px) {
  .single-photo .container {
    padding-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 426px;
    overflow: hidden;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 40px); /* 100% width minus 20px margin on each side */
  }
}

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

  .figure.alignleft, figure.alignright, figure.aligncenter {
    width: unset !important;
  }

  .single-container {
    margin-top: 55px;
    padding-bottom: 25px;
  }

  .single-photo .container {
    padding-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 306px;
    overflow: hidden;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 40px); /* 100% width minus 20px margin on each side */
  }

  .single-photo-caption {
    width: 100%;
    margin-top: -30px;
    height: 30;
    text-align: right;
    padding: 8px 10px;
    color: var(--white1);
    background-color: #292929b3;

    /* Body7 */
    font-size: 10px;
    line-height: 14px;
    font-family: "Axiforma";
    font-weight: 400;
  }

  .has-nested-images figure figcaption {
    width: 100%;

    text-align: right !important;
    padding: 10px 20px !important;
    color: var(--white1) !important;
    background-color: #292929b3 !important;

    /* Body7 */
    font-size: 10px !important;
    line-height: 10px !important;
    font-family: "Axiforma" !important;
    font-weight: 400 !important;
  }

  .single-content .container {
    background-color: var(--white1);
    padding: 20px;
    padding-top: 25px;
    padding-bottom: 5px;
    width: calc(100% - 40px); /* 100% width minus 20px margin on each side */
  }

  .single-date {
    /* caption1 */
    font-size: 14px;
    line-height: 17px;
    font-family: "Barlow";
    font-weight: 400;

    margin-bottom: 10px;
  }

  .single-title {
    /* h5 */
    font-size: 20px;
    line-height: 24px;
    font-family: "Barlow";
    font-weight: 600;

    margin-bottom: 20px;
  }

  .single-fb,
  .single-x,
  .single-insta {
    display: flex;
    width: fit-content;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 4px;
    gap: 5px;
    color: var(--white1);
    align-items: center;
    text-decoration: none;
  }

  .single-fb img,
  .single-x img,
  .single-insta img {
    width: 14px;
    height: 14px;
  }

  .single-fb p,
  .single-x p,
  .single-insta p {
    /* caption6 */
    font-size: 12px;
    line-height: 15px;
    font-family: "Barlow";
    font-weight: 400;
  }

  .single-line {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .single-content-text p {
    margin-bottom: 20px;

    /* body3 */
    font-size: 14px;
    line-height: 20px;
    font-family: "Axiforma";
    font-weight: 400;
  }

  .wp-block-image {
    flex-direction: column;
    margin-bottom: 20px !important;
  }

  figcaption {
    width: 100%;
    margin-top: -30px !important;
    height: 30;
    text-align: right;
    padding: 8px 10px;
    color: var(--white1);
    background-color: #292929b3;

    /* Body7 */
    font-size: 10px;
    line-height: 14px;
    font-family: "Axiforma";
    font-weight: 400;
  }

  .wp-element-caption {
    margin-bottom: 0 !important;
    height: fit-content !important;
  }

  .single-container h1 {
    /* h2 */
    font-size: 36px;
    line-height: 44px;
    font-family: "Barlow";
    font-weight: 700;
  }
  .single-container h2 {
    /* h3 */
    font-size: 24px;
    line-height: 27px;
    font-family: "Barlow";
    font-weight: 600;
  }
  .single-container h3 {
    /* h4 */
    font-size: 22px;
    line-height: 27px;
    font-family: "Barlow";
    font-weight: 600;
  }
  .single-container h4 {
    /* h5 */
    font-size: 20px;
    line-height: 24px;
    font-family: "Barlow";
    font-weight: 600;
  }
  .single-container h5 {
    /* h6 */
    font-size: 18px;
    line-height: 22px;
    font-family: "Barlow";
    font-weight: 600;
  }

  .single-container h6 {
    /* h7 */
    font-size: 16px;
    line-height: 20px;
    font-family: "Barlow";
    font-weight: 600;
  }

  .single-container ul {
    font-size: 14px;
    line-height: 20px;
    font-family: "Axiforma";
    font-weight: 400;
  }

  figure.alignleft {
    padding-right: 0 !important;
  }

  figure.aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  figure.alignright {
    margin-left: auto !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
  }
}
