.expertise-cta {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin: 28px 0;
    padding: 15px;
    background: linear-gradient(305deg, #ffffff 10%, #f8f9fa 90%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: "PhilosopherRegular", "PT Sans", sans-serif;
    font-size: 15.5px;
    line-height: 1.45;
    color: #333;
}

.expertise-cta__person {
    flex: 0 1 185px;
    max-width: min(185px, 35%);
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fcfcfc; 
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.expertise-cta__photo {
    display: block;
    width: 119%;
    height: 170px;
    max-width: none;
    object-fit: cover;
    object-position: -20px 28%; 
}

.expertise-cta--consult .expertise-cta__photo {
    flex: 1 1 auto;
    height: 170px;
    min-height: 170px;
}

.expertise-cta--request .expertise-cta__photo {
    height: 170px;
    object-position: -17px 24%;
}

.expertise-cta__person-card {
    padding: 10px 8px 12px;
    background: #fcfcfc;
}

.expertise-cta__name {
    color: #034d72;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.expertise-cta__role,
.expertise-cta__exp {
    margin-top: 4px;
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.2;
}

.expertise-cta__copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expertise-cta--consult .expertise-cta__copy {
    max-width: 450px; 
}

.expertise-cta__eyebrow {
    margin: 0 0 4px;
    padding: 0;
    color: #034d72;
    font-family: "PhilosopherRegular", "PT Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.expertise-cta h3 {
    margin: 0 0 14px;
    padding: 0;
    color: #222;
    font-family: "PhilosopherRegular", "PT Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.expertise-cta__text {
    margin: 0 0 10px;
    line-height: 1.35;
}

.expertise-cta__meta {
    margin: 0 0 20px;
    color: #90a4b8;
    font-size: 14px;
    line-height: 1.45;
}

.expertise-cta .footer-make-button {
    align-self: flex-start;
    margin: 0;
    box-shadow: none;
}

.expertise-cta__go {
    cursor: default;
}

.expertise-cta--request {
    display: block;
    padding: 30px 15px;
}

.expertise-cta--request .expertise-cta__layout {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 22px;
}

.expertise-cta--request .expertise-cta__person {
    flex: 0 0 132px;
    width: 132px;
}

.expertise-cta--request .expertise-cta__copy {
    flex: 1 1 0;
    min-width: 0;
}

.expertise-cta--request .expertise-cta__form {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
}

.expertise-cta--request .wpcf7 .row {
    margin-left: 0;
    margin-right: 0;
}

.expertise-cta--request .wpcf7 [class*="col-"] {
    float: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.expertise-cta--request .wpcf7 .form-group,
.expertise-cta--request .wpcf7 .row > .form-group:first-child,
.expertise-cta--request .wpcf7 .row > .form-group:last-child {
    margin-bottom: 6px;
}

.expertise-cta--request .wpcf7 .form-group > p,
.expertise-cta--request .wpcf7 .row p {
    margin: 0;
}

.expertise-cta--request .wpcf7 .sr-only + br {
    display: none;
}

.expertise-cta--request .wpcf7-form-control.form-control,
.expertise-cta--request .wpcf7 input[type="file"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: "PhilosopherRegular", "PT Sans", sans-serif;
    font-size: 15px;
}

.expertise-cta--request .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.expertise-cta--request .smart-captcha,
.expertise-cta--request .cfyc-captcha-container {
    width: 290px;
    max-width: 100%;
    margin-bottom: 12px;
}

.expertise-cta__form form > p,
.expertise-cta__form .form-group p:has(.wpcf7-acceptance) {
    font-size: 14px;
    line-height: 1.3;
    color: #6c757d;
    margin-top: 10px;
}

.expertise-cta--request .wpcf7-submit {
    background: #034d72;
    border: none;
    border-radius: 100px;
    color: #fff;
    padding: 10px 22px;
}

.expertise-cta--request .wpcf7-submit:hover,
.expertise-cta--request .wpcf7-submit:focus {
    background: #02344d;
    color: #fff;
}

.expertise-cta--offer {
    padding: 0;
    overflow: hidden;
    gap: 0;
    background: linear-gradient(270deg, #fff 10%, #f8f9fa 90%);
}

.expertise-cta--offer .expertise-cta__copy {
    padding: 22px 24px 22px 28px;
}

.expertise-cta__media {
    position: relative;
    flex: 0 0 28%;
    min-height: 220px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.expertise-cta__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.expertise-cta__media-shade {
    position: absolute;
    inset: 0;
    background: rgba(27, 75, 145, 0.45);
}

@media (max-width: 1200px) {
.expertise-cta--consult .expertise-cta__person {
    min-width: min(185px, 33.3%);
}

.expertise-cta--request .expertise-cta__layout {
    flex-wrap: wrap;  
    align-items: flex-start;
}

.expertise-cta--request .expertise-cta__person {
    flex: 0 1 185px;
    max-width: min(185px, 33.333%);
    min-width: 0;
    width: auto;
}

.expertise-cta--request .expertise-cta__form {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.expertise-cta--request .smart-captcha, .expertise-cta--request .cfyc-captcha-container {
  width: 100%;
}

  .expertise-cta--consult .expertise-cta__copy {
    max-width: none;                  
  }
} 

@media (max-width: 480px) {
    .expertise-cta,
    .expertise-cta--request .expertise-cta__layout {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .expertise-cta {
 	gap: 18px;
    }

    .expertise-cta h3 {
	font-size: 20px;
    }

    .expertise-cta--request .expertise-cta__person,
    .expertise-cta--request .expertise-cta__copy,
    .expertise-cta--request .expertise-cta__form {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .expertise-cta__person {
        flex: none;
        width: 100%;
	max-width: 100%;
    }

    .expertise-cta__photo,
    .expertise-cta--consult .expertise-cta__photo {
        flex: none;
        height: 160px;
        min-height: 0;
	width: 107%;
    }

    /* .expertise-cta--consult .expertise-cta__copy,
    .expertise-cta--offer .expertise-cta__copy {
        max-width: none;
    } */

    .expertise-cta__media {
        flex: none;
        width: 100%;
        height: 150px;
        min-height: 150px;
        clip-path: none;
    }
}
