/* Block: team
 * Extracted from theme CSS by wp-arch-agent.
 * Classes: team-title, team-grid, team-card, team-info, team-info-row, team-name, team-linkedin, cnm-icon, icon-linkedin, screen-reader-text, team-role, team-bio, leader-modal-overlay, leader-modal, leader-close, leader-modal-grid, leader-modal-photo, leader-modal-content, about-h2, leader-modal-role, leader-modal-bio, about-p, leader-modal-linkedin, team
 */

.hp-offer__item .cnm-icon{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #230704;
}

.hp-locations__buttons .btn-layout .cnm-icon{
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.about-team .team-grid{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .about-team .team-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .about-team .team-grid{
    grid-template-columns: 1fr;
  }
}

.team-role{
  color: #230704;
  text-align: center;
  font-family: var(--font-small-title);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.team-section .team-title{
  margin-bottom: 60px;
  text-transform: capitalize;
  color: #230704;
  font-family: var(--font-small-title);
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  justify-self: center;
  line-height: normal;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin: 0 auto;
}

.team-card{
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.team-card img{
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-card .team-info{
  padding: 24px 16px;
}

.team-card .team-name{
  margin-bottom: 4px;
  color: #230704;
  text-align: center;
  font-family: var(--font-body);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.team-card .team-title{
  font-family: var(--font-small-title);
  font-size: 14px;
  font-weight: 400;
  color: #230704;
}

@media (max-width: 1024px) {
  .team-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid{
    grid-template-columns: 1fr;
  }
}

.contact-info .info-body,
.contact-info .info-body *:not(.cnm-icon){
  color: var(--leather, #230704) !important;
  font-family: var(--font-body) !important;
}

.leader-modal-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.55);
  padding:24px;
  z-index:1000;
  opacity:0;
  transition:opacity .2s ease;
}

.leader-modal-overlay.is-open,
.leader-modal-overlay[aria-hidden="false"]{
  display:flex;
  opacity:1;
}

.leader-modal{
  background:#fff;
  color:#230704;
  width:min(1120px, 96vw);
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
  transform:scale(.98);
  transition:transform .2s ease;
}

.leader-modal-overlay.is-open .leader-modal,
.leader-modal-overlay[aria-hidden="false"] .leader-modal{
  transform:scale(1);
}

.leader-modal-content .about-h2{
  font-family: var(--font-headline);
  color:#230704;
}

.leader-close{
  position:absolute;
  right:10px;
  top:6px;
  width:40px;
  height:40px;
  border:0;
  background:transparent;
  font-size:28px;
  line-height:40px;
  cursor:pointer;
  color: #230704;
}

.leader-modal-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:36px;
  padding:36px;
}

.leader-modal-photo img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.leader-modal-role{
  font-family: var(--font-body);
  font-size:15px;
  color: #230704;
  margin:4px 0 14px;
}

.leader-modal-bio p{
  margin:0 0 12px;
}

@media (max-width:1024px) {
  .leader-modal-overlay{
    align-items:flex-start;
    padding:16px 12px;
    overflow-y:auto;
  }
  
  .leader-modal{
    width:100%;
    border-radius:16px;
    max-height:none;
    overflow:visible;
  }
  
  .leader-modal-grid{
    grid-template-columns:1fr;
    gap:18px;
    padding:18px;
  }
  
  .leader-modal-photo img{
    max-height:40dvh;
    object-fit:contain;
  }
}

@media (min-width:1025px) {
  .leader-modal-overlay{
    align-items:center;
    padding:48px 32px;
    overflow-y:auto;
  }
  
  .leader-modal{
    width:min(1120px, 90vw);
    max-height:calc(100vh - 96px);
    overflow:auto;
    margin:0 auto;
  }
  
  .leader-modal-grid{
    grid-template-columns:.95fr 1.05fr;
    gap:32px;
    padding:32px;
  }
  
  .leader-modal-photo img{
    max-height:none;
    object-fit:contain;
  }
}

.leader-modal-overlay{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s ease;
}

.leader-modal-overlay.is-open,
.leader-modal-overlay[aria-hidden="false"]{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.leader-modal{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: min(1120px, 96vw);
  max-height: calc(100vh - 96px);
  overflow: auto;
  position: relative;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.leader-modal-overlay.is-open .leader-modal,
.leader-modal-overlay[aria-hidden="false"] .leader-modal{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.about-team .team-grid{
  gap: 30px;
}

.about-team .team-card{
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.about-team .team-card:hover{
  transform: translateY(-4px);
  box-shadow: none;
}

.about-team .team-card img{
  border-radius: 0;
}

.about-team .team-card .team-info{
  padding: 65px 4px 0;
  text-align: left;
}

.about-team .team-card .team-info-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.about-team .team-card .team-name{
  margin-bottom: 0;
  text-align: left;
  color: #230704;
  font-family: var(--font-headline);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 53px;
}

.about-team .team-card .team-role{
  text-align: left;
  color: #230704;
  font-family: var(--font-small-title);
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-transform: capitalize;
}

.about-team .team-linkedin{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #230704;
  font-size: 36px;
  line-height: 1;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

.about-team .team-linkedin:hover{
  opacity: .75;
  transform: translateY(-1px);
}

.leader-modal-content{
  position: relative;
}

.leader-modal-linkedin{
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #230704;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

.leader-modal-linkedin:hover{
  opacity: .75;
  transform: translateY(-1px);
}

.leader-modal-linkedin[hidden]{
  display: none;
}

@media (max-width: 640px) {
  .leader-modal-linkedin{
    position: static;
    display: flex;
    margin: 18px 0 0 auto;
  }
}

.contact-info .info-body .cnm-icon{
  font-size: 18px;
  color: #230704;
}

.contact-info .info-group--location > .info-head .cnm-icon{
  flex: 0 0 auto;
  color: #230704;
  font-size: 24px;
}

.location-info-section .contact-info .info-body .cnm-icon{
  font-size: 18px;
  color: #230704;
}

.lt-cta .cnm-icon{
  font-size: 16px;
}

