.atf-prof {
  height: 743px;
  position: relative;
  overflow: hidden;
}

.atf-prof .container {
  height: 100%;
}

.atf-prof .img-wrapper {
  height: 500px;
  overflow: hidden;
  position: absolute;
  width: calc(100% - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  border-radius: 24px;
}

.atf-prof .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.prof-nav {
  height: 90px;
  width: 100%;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prof-nav .bg-border {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-bottom: 2px solid rgba(0, 96, 156, 0.2);
}

.prof-nav .links-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.prof-nav .links-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1.12px;
  transition: all 0.2s ease-in-out;
  border-bottom: 4px solid transparent;
  color: var(--dark-blue);
  height: 100%;
  margin: 0px;
  padding: 0px 10px;
  white-space: nowrap;
}

.prof-nav .links-wrapper a:hover {
  color: var(--primary);
  transition: all 0.2s ease-in-out;
}

.prof-nav .links-wrapper a.active {
  color: var(--secondary);
  font-weight: 700;
  border-color: var(--secondary);
  transition: all 0.2s ease-in-out;
}

.prof-nav.fixed {
  position: fixed;
  height: 56px;
  width: fit-content;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 24px;
  transition: all 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0px 2px 12px 0px rgba(0, 96, 156, 0.12);
  backdrop-filter: blur(16px);
  padding: 0px 120px;
  z-index: 10;
}

.prof-nav.fixed .links-wrapper a {
  border-top: 4px solid transparent;
  border-bottom: none;
}

.prof-nav.fixed .links-wrapper a.active {
  color: var(--secondary);
  font-weight: 700;
  border-color: var(--secondary);
  transition: all 0.2s ease-in-out;
}

.prof-nav.fixed .bg-border {
  display: none;
}

.prof-nav.fixed.show {
  bottom: 32px;
}

.chi-sono img.about-img {
  width: 100%;
  height: 684px;
  object-fit: cover;
  border-radius: 24px;
  object-position: top;
}

.chi-sono .prof-plaque {
  padding: 24px 32px;
  border-radius: 24px;
  width: 100%;
  background: var(--light-blue);
  display: flex;
  flex-direction: column;
}

.chi-sono .prof-plaque a {
  color: var(--primary);
  text-decoration: underline;
  font-size: 18px;
  font-weight: 600;
}

.chi-sono .prof-plaque .bottom {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 38, 61, 0.2);
}

.aree-di-competenza {
  overflow: hidden;
  background: var(--secondary);
}

.aree-di-competenza .boxes-row {
  margin-top: 59px;
}

.aree-di-competenza .competency-areas {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  display: flex;
  flex-direction: column;
  padding: 32px;
  height: 100%;
}

.competency-areas .area {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 10px 0px;
  border-bottom: 1px solid rgba(0, 38, 61, 0.2);
}

.competency-areas .area:last-child {
  border-bottom: none;
}

.competency-areas a {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  transition: all 0.2s ease-in-out;
}

.competency-areas a:hover {
  text-decoration: underline;
  color: var(--primary);
  transition: all 0.2s ease-in-out;
}

.competency-areas li {
  margin-bottom: 8px;
}

.competency-banner {
  margin-top: 24px;
  padding: 22px 32px;
  border-radius: 24px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.competency-banner .img-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.competency-banner .img-wrapper img {
  height: 72px;
  width: 76px;
  object-fit: cover;
  border-radius: 16px;
}

.competency-banner .item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0px 72px 0px 16px;
  height: 60px;
  background: #fff;
  border-radius: 60px;
  color: var(--secondary);
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  position: relative;
  width: fit-content;
  transition: all 0.2s ease-in-out;
}

.competency-banner .item span {
  position: relative;
  z-index: 3;
}

.competency-banner .item img {
  height: calc(100% - 30px);
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 3;
}

.competency-banner .item::before {
  content: "";
  width: 50px;
  height: 50px;
  background: var(--primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  border-radius: 50%;
  z-index: 0;
  transition: all 0.2s ease-in-out;
}

.competency-banner .item::after {
  content: url('/assets/img/icons/arrow-white.svg');
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 22px;
  object-fit: contain;
  z-index: 1;
}

.competency-banner .item:hover {
  color: white;
}

.competency-banner .item:hover::before {
  border-radius: 60px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  transition: all 0.2s ease-in-out;
}

.blue-bg {
  background: linear-gradient(to bottom, var(--secondary), var(--secondary) 40px, var(--light-blue) 40px, var(--light-blue) 100%);
}

.professional-activity {
  background: url('/assets/img/bg-areas.png');
  background-size: auto 1206px;
  background-position: bottom right;
  background-repeat: no-repeat;
}

.professional-activity .title span {
  display: block;
  padding: 10px 28px;
  border-radius: 24px 24px 0 0;
  background: white;
  width: fit-content;
}

.professional-activity .title span:last-of-type {
  border-radius: 0px 24px 24px 24px;
}

.professional-activity .accordions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion {
  padding: 20px;
  background: rgba(255, 255, 255, 0.70);
  border-radius: 24px;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  min-height: 64px;
}

.accordion .bottom {
  display: none;
}

.accordion.open {
  border: 1px solid #00A7CE;
  transition: all 0.2s ease-in-out;
}

.accordion.open .bottom {
  display: block;
}

.professional-activity .h4 {
  margin-bottom: 24px;
}

.accordion p {
  margin: 0px;
}

.accordion .top {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
}

.accordion .top .title {
  max-width: 70%;
  font-weight: 500;
}

.accordion .top .title::after {
  content:"+";
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  height: 100%;
  color: var(--primary);
  position: absolute;
  display: flex;
  align-items: flex-start;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
}

.accordion.open .top .title::after {
  content:"-";
}

.accordion .top .period {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  align-self: flex-start;
}

.accordion .top img {
  position: static !important;
  transform: none !important;
  height: 32px;
  width: 32px;
}

.accordion .bottom {
  padding-top: 13px;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 38, 61, 0.2);
}

.research-experiece {
  background: rgba(255, 255, 255, 0.70);
  border-radius: 24px;
  padding: 24px;
}

.research-experiece .title {
  margin-bottom: 32px;
}

.research-experiece .text {
  max-width: 85%;
}

.prizes h2 {
  margin-bottom: 66px;
}

.prizes-wrapper {
  padding: 24px;
  height: 100%;
  background: var(--light-blue);
  border-radius: 24px;
}

.prizes-wrapper .h4 {
  margin-bottom: 20px;
}

.prizes-wrapper .prize {
  display: flex;
  row-gap: 8px;
  column-gap: 16px;
  border-bottom: 1px solid rgb(0, 38, 61, 0.2);
  padding: 8px 0px;
}

.prizes-wrapper .prize:last-of-type {
  border-bottom: none;
}

.prizes-wrapper .prize p {
  margin: 0px;
}

.prizes-wrapper .prize .period {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

@media screen and (max-width: 1399px) {
  .prof-nav .links-wrapper {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 1200px) {
  .atf-prof {
    height: fit-content;
    position: relative;
  }

  .atf-prof .container {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 120px;
  }

  .prof-nav {
    width: 100vw;
  }

  .atf-prof h1 {
    padding: 0px;
  }

  .atf-prof .img-wrapper {
    height: 500px;
    position: static;
    width: 100%;
    bottom: 0px;
    left: 0px;
    transform: none;
    z-index: 0;
    border-radius: 24px;
  }

  .atf-prof .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 26%;
  }
}

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

  .atf-prof .prof-nav {
    padding: 0px 8px;
  }

  .prof-nav.fixed {
    width: 100%;
    border-radius: 0px;
    padding: 0px;
  }

  .prof-nav.fixed.show {
    bottom: 0px;
  }
}

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

  .atf-prof .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 26%;
  }

  .chi-sono img.about-img {
    height: 400px;
  }

  .section-videos {
    padding-bottom: 120px !important;
  }

  .aree-di-competenza h2 {
    font-size: 43px !important;
    line-height: 43px !important;
  }

  .aree-di-competenza .boxes-row {
    margin-top: 24px;
  }

  .aree-di-competenza .competency-areas p,
  .aree-di-competenza .competency-areas li {
    font-size: 14px;
  }

  .aree-di-competenza .competency-areas a {
    white-space: nowrap;
  }

  .professional-activity .title {
    padding: 15px 34px 15px 22px;
    font-size: 43px !important;
    line-height: 43px !important;
    background: white;
    border-radius: 24px;
  }

  .professional-activity .title span {
    display: inline;
    padding: 0px;
    border-radius: 0px;
    background: transparent;
  }

  .accordion .top {
    padding-right: 25px;
  }

  .accordion .top .period {
    font-size: 16px;
  }

  .prizes h2 {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 768px) {
  .aree-di-competenza .competency-banner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: fit-content;
  }

  .competency-banner {
    gap: 16px;
    padding: 22px;
  }

  .competency-banner .item {
    font-size: 14px;
    width: 100%;
    height: 50px;
  }

  .competency-banner .item::before {
    width: 40px;
    height: 40px;
  }

  .competency-banner .item::after {
    top: 50%;
    right: 18px;
  }

}

@media screen and (max-width: 468px) {
  .atf-prof .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}


@media screen and (min-width: 992px) {
  #aree-di-competenza img.dott-img {
    height: 100%;
    object-fit: cover;
    object-position: 10% center;
  }
}


.about-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  padding: 32px;
}
