.page-banner-with-description.center {
  text-align: center;
}

.block-inline-blockhero:has(.hero-small-banner) {
  min-height: 350px;
  align-content: center;
}

.block-inline-blockhero:has(.hero-medium-banner) {
  min-height: 450px;
  align-content: center;
}

.block-inline-blockhero:has(.hero-large-banner) {
  min-height: 650px;
  align-content: center;
}

article.media--type-video .field--name-field-media-video-file video {
  aspect-ratio: 3 / 2;
  width: 100%;
}

.block-inline-blockimage:has(.img-with-link) {
  overflow: hidden;
}

.block-inline-blockimage .img-with-link a img {
  transition: 0.3s all ease-in-out;
}

.block-inline-blockimage .img-with-link a:hover img {
  transform: scale(1.03);
}

.bio-profiles {
  cursor: pointer;
}

.profile-img-wrap img {
  cursor: pointer;
}

.desktop-hide,
.tablet-hide {
  visibility: hidden;
}

.tablet-hide.visible {
  display: block;
}

.leadership-section {
  padding: 50px 0;
}

.leadership-section .p-description {
  margin-bottom: 50px;
}

.profiles-wrap.per-row-4.bio-profiles {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 50px;
  gap: 50px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  justify-items: center;
}

.profiles-wrap .profile-content .profile-description {
  display: none;
}

.profile-wrap .profile-description-wrap {
  height: 0;
  -webkit-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
  visibility: hidden;
}

.profiles-wrap.per-row-4 .profile-wrap .profile-img-wrap .profile-img {
  height: 110px;
  min-width: 110px;
  width: 110px;
  border-radius: 50%;
}

.profiles-wrap.per-row-4 .profile-wrap .profile-img-wrap {
  height: 110px;
  position: relative;
}

.profile-wrap .profile-img-wrap .linkedin-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  background-color: var(--wp--preset--color--riski-blue, #073a61);
  border-radius: 30px;
  bottom: 0;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 0;
  width: 40px;
}

.profile-wrap.vertical .profile-name-wrap {
  margin-top: 20px;
  text-align: center;
}

.profiles-wrap .profile-wrap.open-slider-popup:hover img {
  border-radius: 100%;
  -webkit-box-shadow: 0 0 80px rgba(0, 0, 0, .05), 0 0 33.4221px rgba(0, 0, 0, .03), 0 22.3363px 17.869px rgba(0, 0, 0, .022), 0 12.5216px 10.0172px rgba(0, 0, 0, .015), 0 6.6501px 5.32008px rgba(0, 0, 0, .008);
  box-shadow: 0 0 80px rgba(0, 0, 0, .05), 0 0 33.4221px rgba(0, 0, 0, .03), 0 22.3363px 17.869px rgba(0, 0, 0, .022), 0 12.5216px 10.0172px rgba(0, 0, 0, .015), 0 6.6501px 5.32008px rgba(0, 0, 0, .008);
  -webkit-transition: -webkit-box-shadow .3s ease-in-out;
  transition: -webkit-box-shadow .3s ease-in-out;
  transition: box-shadow .3s ease-in-out;
  transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
}

.profiles-wrap .profile-wrap.open-slider-popup:hover .profile-name {
  color: #073a61;
}

.profiles-wrap .profile-name-wrap .profile-name {
  font-size: 20px;
  font-weight: 500;
}

.profiles-wrap .profile-name-wrap p {
  font-family: "Merriweather", serif;
  /* font-family: 'Open Sans',
    sans-serif; */
  font-weight: 400;
  margin: 0;
}

.profile-wrap .profile-content {
  text-align: left;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: flex;
}

.profile-wrap.vertical .profile-content {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: flex;
  text-align: center;
}

.leadership-slider .profile-wrap.bio {
  margin: 0 auto;
}

.leadership-slider .profile-wrap.bio .profile-content {
  width: 70%;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 0 auto;
  justify-content: center;
}

.leadership-slider .profile-wrap.bio .profile-img-wrap .profile-img {
  height: 300px !important;
  margin: 0;
  width: 300px !important;
  border-radius: 50%;
  position: relative;
}

.leadership-slider .profile-wrap.bio .profile-img-wrap .linkedin-icon {
  height: 60px;
  width: 60px;
}

.profile-wrap .profile-img-wrap {
  position: relative;
}

.leadership-slider .profile-wrap.bio .profile-name-wrap .profile-name {
  font-size: 26px;
  font-weight: 800;
  line-height: 36px;
  margin-bottom: 0;
}

#leadershipModal .modal-body {
  /* margin-top: 6%; */
  display: flex;
  align-items: center;
}

#leadershipModal .modal-body .btn-close {
  position: absolute;
  right: 24px;
  top: 100px;
  opacity: 1;
  z-index: 9999;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  color: #073a61;
}

.leadership-slider .profile-wrap.bio .profile-name-wrap {
  margin: 0 0 0 85px;
  width: 500px;
}

.block-inline-blockbulk-images .insurance-library-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.resource-image,
.resource-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.resource-image .btn,
.resource-file .btn {
  margin: 0;
}

.resource-image h5,
.resource-file h5 {
  margin: 0;
}

.resource-image img {
  max-width: 275px;
  width: 100%;
}

.block-inline-blockevent-materials>.accordion-item:first-child {
  border-bottom: 1px solid #ddd;
}

.block-inline-blockbulk-images .imagesfour-per-row .field--name-field-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.block-inline-blockbulk-images .imagesfive-per-row .field--name-field-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.block-inline-blockbulk-images .layout-portrait-images .insurance-library-image img {
  aspect-ratio: 1 / 2;
}

.sticky-sidebar h3 svg,
.view-content-auther .view-content svg,
.view-related-articles .view-header svg {
  display: none;
}
.leadership-slide.swiper-slide {
  margin: auto;
}
.text-big {
  font-size: 1.4em;
}

.text-tiny {
  font-size: .7em;
}

.text-small {
  font-size: .85em;
}

.text-huge {
  font-size: 1.8em;
}
@media (max-height:767px) {
  .leadership-slider .profile-wrap.bio .profile-name-wrap {
    overflow: auto;
    height: 85dvh;
  }
  #leadershipModal .modal-body .btn-close {
    top: 10%;
  }
}

@media (min-width: 1200px) {
  .profiles-wrap.per-row-4.bio-profiles {
    grid-row-gap: 80px;
  }

  .profiles-wrap.per-row-4 .profile-wrap .profile-img-wrap {
    height: 200px;
  }

  .profiles-wrap.per-row-4 .profile-wrap .profile-img-wrap .profile-img {
    height: 200px;
    min-width: 200px;
    width: 200px;
  }

  .profiles-wrap.per-row-4 .profile-wrap .profile-img-wrap .linkedin-icon {
    bottom: 10px;
    height: 42px;
    right: 15px;
    width: 42px;
  }

  .leadership-section .p-description {
    margin-bottom: 60px;
  }

  .leadership-slider {
    margin-left: auto;
    margin-right: auto;
    max-width: 1296px;
    position: relative;
  }
}

@media (min-width: 1025px) {
  .leadership-slider .profile-wrap.bio .profile-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }


}

@media (min-width: 992px) {
  .profiles-wrap.per-row-4.bio-profiles {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .profile-wrap .profile-description-wrap.desktop-hide {
    display: none !important;
  }

  .leadership-slider .profile-wrap.bio .profile-name-wrap .profile-name {
    font-size: 32px;
    line-height: 44px;
  }
}
@media (min-width:768px) {
  .profiles-wrap.per-row-4.bio-profiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:1200px) {
  .leadership-slider .profile-wrap.bio .profile-img-wrap .profile-img {
    max-width: 300px !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 781px) {
  .leadership-section .profiles-wrap .profile-wrap .profile-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    text-align: left;
    position: relative;
  }

  .leadership-section .profiles-wrap .profile-wrap .profile-content .mobile-toggle-trigger::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    width: 16px;
    height: 16px;
    background-color: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'><path d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }
.leadership-section .profiles-wrap .profile-wrap .profile-content .mobile-toggle-trigger {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
  .leadership-section .profiles-wrap .profile-wrap .profile-content .profile-name-wrap {
    margin-top: 0;
    text-align: left;
    padding-right: 30px;
  }

  .leadership-section .profiles-wrap .profile-wrap .profile-img-wrap {
    margin-right: 20px;
  }

  .leadership-section .profiles-wrap .profile-wrap.active .profile-description-wrap {
    opacity: 1;
    -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
    visibility: visible;
  }

  /* .leadership-section .profiles-wrap .profile-wrap.active .profile-description-wrap p {
    margin-bottom: 0;
  } */

  .leadership-section .profiles-wrap .profile-wrap.active .profile-description-wrap,
    .leadership-section .profiles-wrap .profile-wrap.active .profile-description-wrap {
    height: auto;
    margin-top: 16px;
    text-align: left;
  }

  .leadership-section .profiles-wrap .profile-wrap.active .profile-content:after {
    filter: brightness(0) saturate(100%) invert(17%) sepia(60%) saturate(1423%) hue-rotate(179deg) brightness(92%) contrast(98%);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}

@media(min-width: 768px) {
  .five-logo-row .layout.row .col-md-12 {
    width: 33.33%;
  }

  .three-logo-row .col-md-12 {
    width: 33.33%;
  }

  .view-industry-news-events {
    margin-bottom: 30px;
  }

  .gray-box.author-detail.author-contacts.close-btn-mobile svg {
    display: none;
  }
}

@media(min-width:992px) {
  .five-logo-row .layout.row .col-md-12 {
    width: 25%;
  }
}

@media(min-width:1200px) {
  .five-logo-row .layout.row .col-md-12 {
    width: 20%;
  }
}

@media(max-width: 991px) and (min-width: 768px) {
  .four-logo-row .layout.row .col-lg-3 {
    width: 50%;
  }

  .newsroom-three-column.view-industry-news-events .view-content,
  .newsroom-three-column-queue.view-industry-news-events .view-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 991px) {
  .block-views-blockindustry-news-events-block-1:has(.newsroom-three-column) h2 {
    margin-top: 30px;
  }

}

@media(max-width:767px) {

  .view-content-auther .view-content svg,
  .view-related-articles .view-header svg {
    display: block;
  }

  .about-social {
    margin-bottom: 20px;
  }

  .three-logo-row .group-wrapper,
  .four-logo-row .group-wrapper,
  .five-logo-row .group-wrapper {
    margin-bottom: 0;
  }

  .three-logo-row .block-inline-blockimage .field__item article,
  .three-logo-row .block-inline-blockimage .field__item picture,
  .four-logo-row .layout.row .col-lg-3 {
    width: 100%;
  }

  .three-logo-row .block-inline-blockimage,
  .four-logo-row .block-inline-blockimage,
  .five-logo-row .block-inline-blockimage {
    margin-bottom: 10px;
  }

  .three-logo-row img,
  .four-logo-row img,
  .five-logo-row img {
    height: auto !important;
  }

  .newsroom-three-column.view-industry-news-events .view-content,
  .newsroom-three-column-queue.view-industry-news-events .view-content {
    grid-template-columns: 1fr;
  }

  .block-inline-blockhero:has(.hero-large-banner) {
    min-height: 450px;
  }

  .block-inline-blockhero:has(.hero-small-banner) {
    min-height: 450px;
    align-content: center;
  }

  .block-inline-blockhero:has(.hero-medium-banner) {
    min-height: 450px;
    align-content: center;
  }

  article.media--type-video .field--name-field-media-video-file video {
    height: 100%;
  }

  .block-inline-blockbulk-images .imagesfour-per-row .field--name-field-images,
  .block-inline-blockbulk-images .imagesfive-per-row .field--name-field-images {
    grid-template-columns: 1fr;
  }

  .resource-image {
    justify-content: center;
  }

  .text-tiny {
    font-size: 0.65em;
  }

  .text-small {
    font-size: 0.75em;
  }

  .text-big {
    font-size: 1.2em;
  }

  .text-huge {
    font-size: 1.5em;
  }
}

@media(max-width: 575px) {
  .view-industry-news-events .view-content {
    grid-template-columns: 1fr;
  }

  .layout.row:has(.view-industry-news-events) h2 {
    margin-top: 30px;
  }
}

@media (max-width:767px) {
  .gray-box .sticky-sidebar {
    z-index: 9999;
  }

  .gray-box .sticky-sidebar ul {
    overflow: scroll;
    height: calc(90svh - 10px);
    padding-bottom: 40px;
  }

  .page-node-type-article .author-contacts,
  .page-node-type-podcast .author-contacts {
    display: none !important;
  }

  .page-node-type-article .author-related-articles,
  .page-node-type-podcast .author-related-articles {
    display: none !important;
  }

  .page-node-type-article .author-contacts.active,
  .page-node-type-podcast .author-contacts.active,
  .page-node-type-article .author-related-articles.active,
  .page-node-type-podcast .author-related-articles.active {
    display: block !important;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #f3f3f3;
    z-index: 999;
    overflow: auto;
  }

  .page-node-type-article .author-related-articles.active .view-content,
  .page-node-type-article .author-contacts.active .view-content,
  .page-node-type-podcast .author-contacts.active .view-content,
  .page-node-type-article .author-related-articles.active .view-content,
  .page-node-type-podcast .author-related-articles.active .view-content {
    padding-bottom: 50px;
  }
}
