/* photo credit */
body:not(.page__loaded) .banner-single .photo-credit-wrapper {
  display: none;
}

.keyresults__img,
.banner-img {
  position: relative;
}

.photo-credit {
  font-family: var(--font-medium);
  display: block;
}

.banner-single .photo-credit {
  max-width: calc(100% - var(--photo-cred-width) - 60px);
}

.photo-credit {
  display: flex;
  align-items: center;
}

.photo-credit-wrapper {
  color: #fff !important;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 0.75rem;
  font-style: italic;
  padding: 30px 10px 10px;
  text-align: left;
}

.photo-credit-pos-top {
  bottom: auto;
  top: 0;
  padding: 10px 10px 10px;
  height: 35%;
}

.photo-credit-pos-top.bg-grad-light {
  background: linear-gradient(0deg, rgb(0 0 0 / 0%) 0%, rgba(0, 0, 0, .6) 100%);
}

.banner-img .photo-credit-wrapper {
  padding: 70px 50px 15px;
}

.photo-credit-icon {
  flex-shrink: 0;
  vertical-align: middle;
  font-size: 0;
  margin-right: 10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url("/themes/custom/unaids/components/layouts/photo-credit/img/info-icn.svg") no-repeat center;
  background-size: contain;
}

.photo-credit-icon-dark {
  background-image: url("/themes/custom/unaids/components/layouts/photo-credit/img/info-icn-dark.svg");
}

.tooltip-active,
.photo-credit-icon:hover {
  background-image: url("/themes/custom/unaids/components/layouts/photo-credit/img/info-icn-hover.svg");
}

@media screen and (max-width: 1201px) {
  .banner-single .photo-credit {
    max-width: calc(100% - var(--photo-cred-width) - 245px);
  }
}

@media screen and (max-width: 991px) {
  .banner-img .photo-credit-wrapper {
    writing-mode: tb-rl;
    transform: rotate(180deg);
    width: auto;
    height: 100%;
    padding: 10px;
    /* padding-top: 45px; */
  }

  .home .banner-img .photo-credit-wrapper {
    padding-bottom: 55px;
  }

  .banner-single .photo-credit {
    max-width: 100%;
  }

  .photo-credit-icon {
    width: 15px;
    height: 15px;
    /* margin: 0;
    transform: rotate(90deg);
    margin-bottom: 10px;
 */
    background-size: contain;
  }

  .banner-sec .photo-credit-icon {
    margin: 0;
    transform: rotate(90deg);
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .photo-credit-mobile-view {
    display: block !important;
  }

  .banner-img .photo-credit-mobile-view {
    display: flex !important;
  }

  .photo-credit-mobile-view+.photo-credit {
    display: none;
  }

  .photo-credit.custom-container-lg {
    padding-left: 10px;
    padding-right: 10px;
  }

  .photo-credit-icon {
    margin-right: 5px;
  }
}

@media screen and (max-width: 539px) {
  .banner-img .photo-credit-wrapper {
    padding-top: 45px;
  }
}

/* photo credit */
