.profile-hero .block p {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.profile-hero {
  padding: 190px 0 90px;
  position: relative;
  overflow: hidden;
}

.profile-hero .block {
  position: relative;
  z-index: 10;
}

.profile-hero .block h1 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
}

.profile-header {
  display: flex;
  margin-bottom: 1rem;
}

.profile-header .analysts-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 5rem;
}

.profile-header .analysts-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.analysts-title {
  font-size: 1.2rem;

  line-height: 1.4;
}

.analysts-expertise {
  font-size: 1.2rem;
  line-height: 1.7;
  flex-grow: 1;
}

.analysts-expertise .text-border {
  border-bottom: #ffffff 1px solid;
  padding: 2px 0;
  margin-right: 1.2rem;
}
.analysts-social-icons {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.1rem;
}

.analysts-social-icons a {
  color: #ffffff;
  font-size: 0.9rem;

  border: 1px solid #ffffff;
  padding: 1px 6px;
}
.analysts-social-icons a:hover {
  color: #d1a569;
  border: 1px solid #d1a569;
}

.profile-intro {
  padding: 3rem 0;
}
.profile-intro p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.media-card {
  background-color: #0f4669;
  color: #ffffff;
  border-radius: 0;
  border: 0;
  height: 100%;
}

.media-card .card-body {
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.media-card .card-body::before {
  content: "“";
  position: absolute;
  top: 4rem;
  left: 20px;
  font-size: 6.5rem;
  line-height: 1;
  color: #ffffff;
  pointer-events: none;
}
.media-card .card-date {
  font-size: 0.9rem;
}
.media-card .card-sub {
  margin-bottom: 0.5rem;
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
}
.media-card .card-title {
  margin-bottom: 1.5rem;
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-top: 4rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer-row {
  margin-top: auto;
}


.media-section,
.work-section {
  padding: 0 0 3rem 0;
}
.media-section h2,
.work-section h2 {
  padding: 0 0 2rem 0;
}
.work-section h2 {
  padding: 0 0 1.5rem 0;
}

.work-link h3 {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  padding: 3px;
}
.work-link .text-border:hover {
  background: #d1a569;
}
.work-link .text-border {
  border-bottom: #d1a569 1px solid;
  padding: 3px 0;
}

@media (max-width: 767px) {
  .profile-header {
    display: block;
  }
  .profile-header .analysts-img {
    width: 180px;
    height: 180px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 575px) {
  .profile-hero {
    padding: 6rem 0 1rem 0;
  }
  .profile-hero .block h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
  }
  .profile-hero .block p {
    font-size: 1.1rem;
  }

  .profile-intro,
  .media-section {
    padding: 30px 0 0 0;
  }
  .work-section {
    padding: 2rem 0;
  }
  .media-section h2,
  .work-section h2 {
    padding: 0 0 1rem 0;
  }
  .work-section h2 {
    padding: 0 0 1rem 0;
  }
  .pagination {
    margin-top: 2rem;
  }
  .work-link h3 {
    font-size: 1.2rem;
  }
}
