.alflow-expert-shell {
   container-type: inline-size;
}

.alflow-expert,
.alflow-expert * {
   box-sizing: border-box;
}

.alflow-expert {
   display: grid;
   grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
   width: 100%;
   max-width: none;
   margin-inline: auto;
   color: #173136;
   overflow: hidden;
}

.alflow-expert--no-image {
   grid-template-columns: minmax(0, 1fr);
}

.alflow-expert__image {
   position: relative;
   min-width: 0;
   min-height: 0;

}

.alflow-expert__image img {
   display: block;
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: contain;
   object-position: center 30%;
}

.alflow-expert__content {
   display: flex;
   flex-direction: column;
   justify-content: center;
   min-width: 0;
   padding: clamp(28px, 3vw, 48px);
}

.alflow-expert__eyebrow {
   margin: 0 0 14px;
   color: #a45a3d;
   font-size: 12px;
   font-weight: 700;
   letter-spacing: .16em;
   line-height: 1.4;
   text-transform: uppercase;
}

.alflow-expert__heading {
   max-width: 620px;
   margin: 0;
   font-size: clamp(32px, 2.6vw, 44px);
   font-weight: 400;
   letter-spacing: -.045em;
   line-height: 1.07;
}

.alflow-expert__identity {
   margin-top: 20px;
}

.alflow-expert__name {
   margin: 0 0 5px;
   font-size: 19px;
   font-weight: 700;
   line-height: 1.3;
}

.alflow-expert__role {
   margin: 0;
   color: #667173;
   font-size: 15px;
   line-height: 1.5;
}

.alflow-expert__details {
   margin-top: 22px;
   padding-top: 18px;
   border-top: 1px solid #bcbcb3;
}

.alflow-expert__label {
   margin: 0 0 10px;
   color: #a45a3d;
   font-size: 12px;
   font-weight: 700;
   letter-spacing: .12em;
   text-transform: uppercase;
}

.alflow-expert__responsibility {
   max-width: 55ch;
   margin: 0;
   font-size: 16px;
   line-height: 1.65;
}

.alflow-expert__bio {
   max-width: 55ch;
   margin: 18px 0 0;
   font-size: 16px;
   line-height: 1.65;
}

.alflow-expert__details>.alflow-expert__bio:first-child {
   margin-top: 0;
}

.alflow-expert__quote {
   max-width: 56ch;
   margin: 20px 0 0;
   padding-left: 20px;
   border-left: 2px solid #a45a3d;
   font-size: 17px;
   font-style: italic;
   line-height: 1.55;
}

.alflow-expert__quote p {
   margin: 0;
}

.alflow-expert__contact {
   display: flex;
   flex-wrap: wrap;
   gap: 8px 24px;
   margin-top: 26px;
   font-size: 15px;
}

.alflow-expert__contact a {
   color: inherit;
   text-decoration: underline;
   text-underline-offset: 3px;
}

.alflow-expert__contact a:focus-visible {
   outline: 2px solid currentColor;
   outline-offset: 3px;
}

@media (max-width: 700px) {
   .alflow-expert {
      grid-template-columns: minmax(0, 1fr);
   }

   .alflow-expert__image {
      width: min(240px, calc(100% - 48px));
      height: 240px;
      margin: 24px auto 0;
   }

   .alflow-expert__content {
      padding: clamp(24px, 5vw, 40px);
   }

   .alflow-expert__heading {
      font-size: clamp(32px, 7vw, 44px);
   }
}

@media (max-width: 520px) {
   .alflow-expert__image {
      width: min(210px, calc(100% - 48px));
      height: 210px;
   }

   .alflow-expert__content {
      padding: 24px 24px 30px;
   }

   .alflow-expert__heading {
      font-size: clamp(30px, 8vw, 38px);
   }

   .alflow-expert__identity {
      margin-top: 18px;
   }

   .alflow-expert__details {
      margin-top: 20px;
      padding-top: 16px;
   }
}

/* Also adapt to a narrow widget container on a wide screen. */
@container (max-width: 700px) {
   .alflow-expert {
      grid-template-columns: minmax(0, 1fr);
   }

   .alflow-expert__image {
      width: min(240px, calc(100% - 48px));
      height: 240px;
      margin: 24px auto 0;
   }

   .alflow-expert__content {
      padding: clamp(24px, 5cqw, 40px);
   }

   .alflow-expert__heading {
      font-size: clamp(32px, 7cqw, 44px);
   }
}

@container (max-width: 520px) {
   .alflow-expert__image {
      width: min(210px, calc(100% - 48px));
      height: 210px;
   }

   .alflow-expert__content {
      padding: 24px 24px 30px;
   }

   .alflow-expert__heading {
      font-size: clamp(30px, 8cqw, 38px);
   }

   .alflow-expert__identity {
      margin-top: 18px;
   }

   .alflow-expert__details {
      margin-top: 20px;
      padding-top: 16px;
   }
}