/* hero  */

.who-we-are-hero {
    padding: 20px 32px 64px 32px;
    background-color: #09203D;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .who-we-are-hero {
        padding: 20px 16px 32px 16px !important;
    }

    .who-we-are-hero .who-we-are-wrapper .who-we-are-content .content h1 {
        font-size: 48px !important;
    }
}

.who-we-are-hero .who-we-are-wrapper {
    max-width: 1140px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.who-we-are-hero .who-we-are-wrapper .who-we-are-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.who-we-are-hero .who-we-are-wrapper .who-we-are-content .content {
    width: 100%;
    text-align: center;
    color: #fff;
}

.who-we-are-hero .who-we-are-wrapper .who-we-are-content .content h1 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #fff;
}

.who-we-are-hero .who-we-are-wrapper .who-we-are-content .image-wrapper {
    max-width: 600px;
    width: 100%;
	display: none;
}

.who-we-are-hero .who-we-are-wrapper .who-we-are-content .image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* end of hero  */

/* our values  */


.our-values {
    width: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .our-values {
        padding: 0px !important;
    }
}

@media (max-width: 1024px) {

    .our-values .our-values-wrapper .image-wrapper,
    .our-values .our-values-wrapper .content {
        width: 100% !important;
    }

    .our-values .our-values-wrapper .image-wrapper {
        display: flex;
        justify-content: center;
        min-height: 400px!important;
        max-height: 400px;
    }

    .our-values .our-values-wrapper .image-wrapper img {
        max-width: 100% !important;
        width: 100%;
    }

    .our-values .our-values-wrapper {
        flex-direction: column-reverse;
    }
    .our-values .our-values-wrapper .content .inner-wrapper {
        max-width: 100%!important;
        padding: 16px 16px 0 16px!important;
    }
}

.our-values .our-values-wrapper {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
}

.our-values .our-values-wrapper .image-wrapper,
.our-values .our-values-wrapper .content {
    width: 50%;
}

.our-values .our-values-wrapper .content {
    display: flex;
    justify-content: start;
}

.our-values .our-values-wrapper .content .inner-wrapper {
    width: 100%;
    max-width: 600px;
    padding-right: 32px;
}

.our-values .our-values-wrapper .image-wrapper {
    min-height: 700px;
    position: relative;
}

.our-values .our-values-wrapper .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    max-width: 100%;
}

.our-values .our-values-wrapper .content span {
    color: #bf9903;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 27.5px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.our-values .our-values-wrapper .content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
}

/* end of our values  */

/* core principles  */

.core-principles {
    width: 100%;
    padding: 64px 32px;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .core-principles {
        padding: 32px 16px !important;
    }
}

.core-principles .core-principles-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.core-principles .core-principles-wrapper .core-principles-intro {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.core-principles .core-principles-wrapper .core-principles-intro h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
}

.core-principles .core-principles-wrapper .core-principles-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle {
    flex: 1 1 240px;
    background: #fff;
    border: 1px solid #e9ecf1;
    border-radius: 10px;
    padding: 50px 24px;
    max-width: 600px;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle .principle-img {
    margin-bottom: 24px;
    width: 100%;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle .principle-img img {
    width: 80px;
    height: 80px;
    max-width: 100%;
    min-width: 80px;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle .principle-img svg {
    width: 80px;
    height: 80px;
    max-width: 100%;
    min-width: 80px;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle .principle-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle .principle-content h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 0;
}

.core-principles .core-principles-wrapper .core-principles-grid .core-principle .principle-content p {
    margin-top: 0;
}

/* end of core principles  */


/* meet the team slider  */


.meet-team {
    width: 100%;
    padding: 64px 32px;
    display: flex;
    justify-content: center;
    background-color: hsl(213, 74%, 92%);
}

.meet-slider-wrap {
    width: 100%;
    position: relative;
}

@media (max-width: 767px) {
    .meet-team {
        padding: 32px 16px !important;
    }
}

.meet-team .meet-team-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meet-team .meet-team-wrapper .meet-team-intro {
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.meet-team .meet-team-wrapper .meet-team-intro h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
}

.meet-team .meet-team-wrapper .meet-team-slider {
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
}

.meet-team .meet-team-wrapper .meet-team-slider-controls {
    width: fit-content;
}

.meet-team .meet-team-wrapper .meet-team-slider-controls .meet-team-slider-next {
    position: absolute;
    transform: translateY(-50%);
    right: 15%;
    top: 50%;
    cursor: pointer;
    width: fit-content;
    display: flex;
    margin-top: 0px;
    justify-content: center;
    align-items: center;
    background-color: #bf9903;
    padding: 12px 16px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid transparent;
	border-radius: unset;
	transition: .2s ease-in-out;
}

.meet-team .meet-team-wrapper .meet-team-slider-controls .meet-team-slider-next:hover {
	border: 1px solid #bf9903;
	background: transparent;
	color: black;
}

.meet-team .meet-team-wrapper .meet-team-slider-controls .meet-team-slider-next::after {
    color: #fff;
    content: "\2192";
    padding-left: 10px;
	transition: .2s ease-in-out;
}

.meet-team .meet-team-wrapper .meet-team-slider-controls .meet-team-slider-next:hover::after {
	color: black;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide {
    width: 100%;
    flex-grow: 1;
    gap: 20px;
    max-width: 65% !important;
    display: flex !important;
    flex-direction: row;
    padding: 12px 0;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .meet-team .meet-team-wrapper .meet-team-slider .team-member-slide {
        flex-direction: column-reverse !important;
        max-width: 100% !important;
        align-items: center;
    }

    .meet-team .meet-team-wrapper .meet-team-slider-controls {
        width: 100%;
        display: flex;
        justify-content: end;
    }

    .meet-team .meet-team-wrapper .meet-team-slider-controls .meet-team-slider-next {
        position: static;
        transform: unset;
    }
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description {
    align-items: flex-start;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
    position: relative;
    z-index: -1;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description .quote {
    margin-bottom: 30px;
    max-width: 400px;
    position: relative;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description .quote svg {
    left: -50px;
    position: absolute;
    top: 0;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description .quote p {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    line-height: 24px;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description .first-name {
    color: #212121;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description .last-name {
    color: #212121;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-description .role {
    color: #8a8e94;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    margin-top: 10px;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-image {
    aspect-ratio: 4 / 7;
    border-radius: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 280px;
    padding: 9px;
    box-sizing: border-box;
}

/* Inner ring */
.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-image::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #bf9903;
    border-radius: 1000px;
    pointer-events: none;
    z-index: 20;
}

/* Outer ring */
.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #bf9903;
    border-radius: 1000px;
    pointer-events: none;
    z-index: 19;
}

.meet-team .meet-team-wrapper .meet-team-slider .team-member-slide .member-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 1000px;
    position: relative;
    z-index: 1;
}


/* slick slider styles  */

.meet-team .meet-team-wrapper {
    position: relative;
    /* gives your absolute controls a reference */
}

.meet-team .meet-team-wrapper .meet-team-slider {
    width: 100%;
}

.slick-list {
    width: 100% !important;
	padding: 24px 0;
}

.slick-slide>div {
    width: 100%;
}

/* Make slick track flex so slides can align nicely */
.meet-team .meet-team-wrapper .meet-team-slider .slick-track {
    display: flex;
    /* width: 100% !important; */
}

.meet-team .meet-team-wrapper .meet-team-slider .slick-slide {
    height: auto;
    display: flex;
    width: 100% !important;
    /* lets the slide content stretch nicely */
}


/* end of slick slider styles  */

/* end of meet the team slider  */


/* local expertise  */


.local-expertise {
    width: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .local-expertise {
        padding: 0px !important;
    }
}

.local-expertise .expertise-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.local-expertise .expertise-wrapper .content,
.local-expertise .expertise-wrapper .image-wrapper {
    width: 50%;
}

.local-expertise .expertise-wrapper .image-wrapper {
    min-height: 700px;
    position: relative;
}

.local-expertise .expertise-wrapper .content {
    display: flex;
    justify-content: end;
}

.local-expertise .expertise-wrapper .content .inner-wrapper {
    max-width: 600px;
    padding-left: 32px;
    width: 100%;
}

@media (max-width: 1024px) {
    .local-expertise .expertise-wrapper {
        flex-direction: column-reverse;
    }

    .local-expertise .expertise-wrapper .content,
    .local-expertise .expertise-wrapper .image-wrapper {
        width: 100% !important;
    }

    .local-expertise .expertise-wrapper .image-wrapper {
        display: flex;
        min-height: 400px!important;
        max-height: 400px;
        justify-content: center;
    }

    .local-expertise .expertise-wrapper .image-wrapper img {
        max-width: 100% !important;
    }
    .local-expertise .expertise-wrapper .content .inner-wrapper {
        max-width: 100%!important;
        padding: 0 16px!important;
    }
}

.local-expertise .expertise-wrapper .image-wrapper img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.local-expertise .expertise-wrapper .content span {
    color: #bf9903;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 27.5px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.local-expertise .expertise-wrapper .content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
}

/* end of local expertise  */


/* fancy images  */

.fancy-masonry-container {
    width: 100%;
    padding: 64px 32px;
    background-color: hsl(213, 74%, 97%);
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .fancy-masonry-container {
        padding: 32px 16px !important;
    }
}

.fancy-masonry-container .fancy-masonry-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
}

.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry {
    display: grid;
    grid-gap: 15px;
    grid-auto-flow: dense;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 auto;

    grid-auto-rows: 130px;

}

@media (min-width: 577px) and (max-width: 1024px) {
    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item {
        grid-column: span 1;
    }

    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(2) {
        grid-column: span 1 !important;
        grid-row: span 2;
    }


    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(3) {
        grid-column: span 2;
    }

    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(4) {
        grid-column: span 2;
        grid-row: span 4;
    }


    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(5) {
        grid-column: span 2 !important;
        grid-row: span 4;
    }
}

@media (max-width: 576px) {
    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry {
        grid-template-columns: repeat(1, 1fr);
    }

    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item {
        grid-column: span 1 !important;
    }

    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(2) {
        grid-column: span 1 !important;
        grid-row: span 2;
    }


    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(3) {
        grid-column: span 1 !important;
    }

    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(4) {
        grid-column: span 1 !important;
        grid-row: span 4;
    }


    .fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(5) {
        grid-column: span 1 !important;
        grid-row: span 4;
    }
}

.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item {
    grid-column: span 1;
    grid-row: span 2;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}


.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(2) {
    grid-column: span 2;
}


.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 4;
}

.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(4) {
    grid-column: span 2;
}


.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item:nth-child(5) {
    grid-column: span 1;
}

.fancy-masonry-container .fancy-masonry-wrapper .fancy-masonry .fancy-masonry-item img:hover {
    transform: scale(1.05);
}

/* end of fancy images  */

/* how we work at nicholson and woolf  */

.how-work {
    padding: 64px 32px;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .how-work {
        padding: 32px 16px !important;
    }
}

.how-work .how-work-wrapper {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-work .how-work-wrapper .how-work-intro {
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.how-work .how-work-wrapper .how-work-intro h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
}

.how-work .how-work-wrapper .how-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

@media (min-width: 577px) and (max-width: 1024px) {
    .how-work .how-work-wrapper .how-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .how-work .how-work-wrapper .how-work-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.how-work .how-work-wrapper .how-work-grid .how-work-item {
    background: #fff;
    border: 1px solid #e9ecf1;
    border-radius: 10px;
    padding: 50px 24px;
}

.how-work .how-work-wrapper .how-work-grid .how-work-item .item-img {
    margin-bottom: 24px;
    width: 100%;
}

.how-work .how-work-wrapper .how-work-grid .how-work-item .item-img img {
    width: 80px;
    max-width: 100%;
    height: auto;
}

.how-work .how-work-wrapper .how-work-grid .how-work-item .item-img svg {
    width: 80px;
    max-width: 100%;
    height: auto;
}

.how-work .how-work-wrapper .how-work-grid .how-work-item .item-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.how-work .how-work-wrapper .how-work-grid .how-work-item .item-content span {
    font-size: 18px;
    font-weight: bold;
}

.how-work .how-work-wrapper .how-work-grid .how-work-item .item-content p {
    margin-top: 0;
}


/* end of how we work at nicholson and woolf  */