/*
Theme Name: DFN Project SEARCH
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.dfn-home-logo {
    z-index: 9999999 !important;
    pointer-events: auto !important;
}

.dfn-home-logo a {
    display: block;
    pointer-events: auto !important;
}

.dfn-home-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.header-wrapper:not(.stuck) #logo {
    display: none;
}

.header-wrapper.stuck .nav>li>a {
	color: white;
}

.header-wrapper.stuck #top-bar .nav>li>a {
	color: #00305E;
}

.header-wrapper.stuck #logo {
	margin-top: -70px;
}


.header-wrapper.stuck #logo img {
    max-height: 99px !important;
}
    

.header-wrapper .header-top {
	background: transparent;
	margin-top: 10px;
}

.page-id-268 .top-bar-nav .nav-dark .nav>li>a {
	color: #00305E !important;
}

.nav-top-link {
    font-weight: 700 !important;
}

.mobile-nav .header-button .icon-menu {
    position: relative;
    top: 2px !important;
}

/* Flatsome mobile menu above floating header logo */
.mfp-wrap.off-canvas {
    z-index: 99999999 !important;
}

body,
.body-font {
    font-family: 'Nexa', Arial, sans-serif;
	color: #00305E;
}

h1, h2, h3, h4, h5, h6 {
	line-height: inherit;
}

.text-balance {
	text-wrap: balance;
}

h1, h2, h3, h4, h5, h6,
.heading-font,
.nav > li > a,
.button {
    font-family: 'Nexa', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nexa', Arial, sans-serif;
	font-weight: 900;
}

.unset-width {
	max-width: unset;
}

/* Header */
.header-main .current-menu-item.current_page_item {
	background: #F7B300;
}

.header-main .current-menu-item.current_page_item .nav-top-link {
	background-color: unset;
}


/* Buttons */
.button, 
button,
input[type="submit"] {
    background: ;
    color: #fff;
    border: 0;
	font-family: 'Nexa', Arial, sans-serif;
	font-weight: 900;
	
}

/* Button sentence casing */
a.button span {
    text-transform: lowercase !important;
    display: inline-block;
}

a.button span::first-letter {
    text-transform: uppercase;
}

.header-nav-main .nav-top-link {
    text-transform: lowercase !important;
    display: inline-block;
}

.header-nav-main .nav-top-link::first-letter {
    text-transform: uppercase;
}

.top-bar-nav .nav-top-link {
    text-transform: lowercase !important;
    display: inline-block;
}

.top-bar-nav .nav-top-link::first-letter {
    text-transform: uppercase;
}

.header-nav-main > li.current-menu-item > a,
.header-nav-main > li.active > a {
    color: #00305E !important;
}


.header-nav .menu-item {
	background: #00305E;
	border-radius: 99px;
	margin-left: 20px;
	font-weight: unset;
}

/* Move column up on hover */
.hover-up > .col-inner {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.hover-up:hover > .col-inner {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* Hero Layout */
.dfn-hero-section {
    padding-top: 200px !important;
}

.dfn-hero-section:before {
    content: "";
    background: #fdf0cc;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    z-index: 1;
}

.dfn-hero-section-white:before {
    content: "";
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    z-index: 1;
}

@media (max-width: 849px) {
    .dfn-hero-section .section-content .row > .col:first-child > .col-inner {
        text-align: center !important;
    }
}

.hero-columns {
    min-height: 100vh;
    align-items: stretch !important;
}

.hero-col-1 {
    margin-top: 150px;
    padding: 0 !important;
}

.hero-col-2 {
    background: #E76F35;
    display: flex;
    padding: 0 !important;
}

.hero-col-2 .col-inner {
    background: transparent !important;
    padding: 0 !important;
	z-index: 2;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
}

.dfn-illustration-hero-section {
    position: relative;
    overflow: hidden;
}

.dfn-illustration-hero-section .section-content,
.dfn-illustration-banner-section .section-content,
.dfn-illustration-group-section .section-content {
    position: relative;
    z-index: 2;
}

.dfn-illustration-hero-section .dfn-illust,
.dfn-illustration-banner-section .dfn-illust,
.dfn-illustration-group-section .dfn-illust {
    position: absolute !important;
    z-index: 1;
    pointer-events: none;
}

.dfn-illustration-hero-section .dfn-illust img,
.dfn-illustration-banner-section .dfn-illust img,
.dfn-illustration-group-section .dfn-illust img {
    width: 100%;
    height: auto;
    display: block;
}

.dfn-illustration-hero-section .dfn-illust--top-right {
    top: 130px;
    right: -80px;
}

.dfn-illustration-hero-section .dfn-illust--bottom-left {
    bottom: 50px;
    left: -220px;
	z-index: 3;
}

.dfn-illustration-banner-section .dfn-illust--top-right {
    top: -50px;
    right: -230px;
}

.dfn-illustration-banner-section .dfn-illust--bottom-left {
    bottom: -30px;
    left: -200px;
	z-index: 3;
}

.dfn-illustration-group-section .dfn-illust--top-right {
    top: -250px;
    right: -300px;
}

.dfn-illustration-group-section .dfn-illust--bottom-left {
    bottom: -200px;
    left: -250px;
	z-index: 3;
}


/* Pattern overlay section */
.dfn-pattern {
    position: relative;
    overflow: hidden;
}

.dfn-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('/wp-content/uploads/2026/05/dfn-pattern.svg');
    background-repeat: repeat;
    background-size: 1400px auto;
    background-position: center;
    pointer-events: none;
}

.dfn-pattern .section-content {
    position: relative;
    z-index: 2;
}


/* DFN Accordion */
.dfn-accordion {
  	max-width: 1350px;
  	margin: 0 auto;
}

.accordion .toggle {
    right: 0;
	left: unset;
	top: 0;
}

.dfn-accordion .row {
	max-width: unset;
}

.dfn-accordion .col {
	padding: 0;
}

.dfn-accordion .accordion-inner {
	padding: 0;
	margin-bottom: 20px;
}

.dfn-accordion .accordion-item {
  border-top: 2px solid #003b63;
}

.dfn-accordion .accordion-item:first-child {
  border-top: none;
}

.dfn-accordion .accordion-item:last-child {
  border-bottom: 2px solid #003b63;
}

.dfn-accordion .accordion-title {
  position: relative;
  padding: 28px 70px 28px 0;
  border: 0;
  color: #003b63;
  font-family: 'Nexa', Arial, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  background: transparent;
}

.dfn-accordion .accordion-title:hover,
.dfn-accordion .accordion-title.active {
  color: #003b63;
  background: transparent;
}

/* DFN Location Map */

.dfn-map-wrap {
    position: relative;
    overflow: hidden;
}

.dfn-map-wrap > .col-inner > .img {
    position: relative;
    z-index: 1;
}

.dfn-map-wrap .col-inner>.img:not(:last-child) {
	margin-bottom: 0;
}

.dfn-map-wrap #row-2126577054 {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.dfn-map-wrap .dfn-tooltip {
    position: absolute !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto;
    z-index: 10;
}

.dfn-map-wrap .dfn-tooltip > .col-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.dfn-map-wrap .dfn-tooltip .img {
    width: 28px !important;
}

.dfn-map-wrap .dfn-tooltip img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.dfn-map-wrap .dfn-tooltip.london {
    left: 18%;
    top: 50%;
}

.dfn-map-wrap .dfn-tooltip.berlin {
    left: 34%;
    top: 50%;
}

/* Banner */
.banner-column {
	padding: 0;
}


/* Homepage Case Studies */
.dfn-case-studies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.dfn-case-card {
    color: #003b63;
}

.dfn-case-card__image {
    position: relative;
    display: block;
    overflow: hidden;
}

.dfn-case-card__image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
}

.dfn-case-card__content {
    border-top: 2px solid #003b63;
    border-bottom: 2px solid #003b63;

    padding-top: 18px;
    padding-bottom: 18px;

    margin-top: 28px;
}

.dfn-case-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.dfn-case-card__heading h3 {
    margin: 0;

    color: #003b63;
    font-family: 'Nexa', Arial, sans-serif;
    font-size: clamp(30px, 3vw, 64px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.dfn-case-card__heading span {
    flex-shrink: 0;

    color: #003b63;
    font-family: 'Nexa', Arial, sans-serif;
    font-size: clamp(30px, 3vw, 64px);
    font-weight: 800;
    line-height: 1;
}

.dfn-case-card__content p {
    margin: 0;

    color: #003b63;
    font-family: 'Nexa', Arial, sans-serif;
    font-size: clamp(22px, 1.5vw, 34px);
    font-weight: 400;
    line-height: 1.18;
}

.dfn-case-card__image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(231, 111, 53, 0);
    transition: background 0.5s ease;

    pointer-events: none;
}

.dfn-case-card:hover .dfn-case-card__image::after {
    background: rgba(231, 111, 53, 0.15);
}

/* Footer */
.footer-legal.ux-menu.stack.stack-col {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
}

.footer-legal > .ux-menu-link:first-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.footer-legal > .sub-menu-link {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center;
	font-size: 0.8em;
}

.footer-legal > .sub-menu-link > .ux-menu-link__link {
    width: auto !important;
    display: inline-flex !important;
}

.footer-legal > .sub-menu-link:not(:last-child)::after {
    content: "|";
    color: #fff;
    margin: 0 16px;
}

.footer-about.ux-menu.stack.stack-col {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
}

.footer-about > .ux-menu-link:nth-child(1),
.footer-about > .ux-menu-link:nth-child(2),
.footer-about > .ux-menu-link:last-child {
    flex: 0 0 100% !important;
}

.footer-about > .sub-menu-link {
    flex: 0 0 auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    font-size: 0.8em;
    margin-right: 16px;
}

.footer-about > .sub-menu-link > .ux-menu-link__link {
    width: auto !important;
    display: inline-flex !important;
}

.footer-about > .sub-menu-link:first-of-type::after {
    content: none;
}

.footer-about > .sub-menu-link:nth-child(3)::after {
    content: "|";
    color: #fff;
    margin-left: 14px;
    margin-right: 14px;
    display: inline-block;
}

/* Contact Form */

.dfn-contact-form label {
    display: block;
    margin-bottom: 10px;
    color: #00305e;
    font-size: 1rem;
    font-weight: 700;
}

.dfn-contact-form input,
.dfn-contact-form textarea,
.dfn-contact-form select {

    width: 100% !important;

    border: 2px solid #00305e !important;
    border-radius: 40px !important;

    background: transparent;

    padding: 18px 24px !important;

    font-size: 1rem;
    color: #00305e;

    box-shadow: none !important;
}

.dfn-contact-form textarea {
    border-radius: 30px !important;
    min-height: 180px;
    resize: vertical;
}

.dfn-contact-form select {
    appearance: none;
}

.dfn-contact-form .form-row {
    margin-bottom: 24px;
}

.dfn-contact-form .submit-row {
    margin-top: 40px;
}

.dfn-contact-form input[type="submit"] {
    background: #00305e !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 10px 28px !important;
    font-weight: 700;
    text-transform: uppercase;
    width: auto !important;
}

@media only screen and (max-width: 48em) {
	
	.hero-columns {
		min-height: unset;
	}

    .dfn-case-studies {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .dfn-case-card__play {
        width: 72px;
        height: 72px;
        font-size: 24px;
    }

    .dfn-case-card__heading {
        margin-bottom: 18px;
    }
	
	.dfn-accordion .accordion-title {
		padding: 15px 40px 15px 0;
	}

}

/* =========================================
   CASE STUDY ARCHIVE HERO
========================================= */

.post-type-archive-case_study #masthead ul li a {
	color: white;
}

.post-type-archive-case_study .header-logo.dfn-home-logo {
	width: 300px !important;
}

.post-type-archive-case_study .dfn-page-hero {
    position: relative;
    overflow: hidden;
    background: #e76f35;
    padding-top: 250px;
}

.post-type-archive-case_study .dfn-page-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.post-type-archive-case_study .dfn-page-hero__background img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 1;
}

.post-type-archive-case_study .dfn-page-hero__row {
    position: relative;
    z-index: 1;
}

.post-type-archive-case_study .dfn-page-hero__content {
    padding-right: 40px;
    padding-bottom: 80px;
}

.post-type-archive-case_study .dfn-page-hero__logo {
    display: block;
    width: 58%;
    margin-bottom: 30px;
}

.post-type-archive-case_study .dfn-page-hero h1 {
    margin-bottom: 15px;
    font-size: clamp(2.4rem, 4vw, 4.25rem);
    line-height: 1;
}

.post-type-archive-case_study .dfn-page-hero__content > p {
    max-width: 600px;
    margin-bottom: 0;
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.1;
}

.post-type-archive-case_study .dfn-page-hero__image {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.post-type-archive-case_study .dfn-page-hero__image img {
    display: block;
    width: 100%;
    margin-bottom: -30px;
}

/* =========================================
   CASE STUDY PAGINATION
========================================= */

.dfn-case-study-archive .navigation.pagination {
    width: 100%;
    margin: 60px auto 20px;
    text-align: center;
}

.dfn-case-study-archive .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}


/* Pagination buttons */

.dfn-case-study-archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    margin: 0;

    border: 2px solid #00305e;
    border-radius: 99px;

    background: transparent;
    color: #00305e;

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* Hover */

.dfn-case-study-archive a.page-numbers:hover {
    background: #00305e;
    border-color: #00305e;
    color: #fff;
}


/* Current page */

.dfn-case-study-archive .page-numbers.current {
    background: #e76f35;
    border-color: #e76f35;
    color: #fff;
}


/* Previous / Next */

.dfn-case-study-archive .page-numbers.prev,
.dfn-case-study-archive .page-numbers.next {
    padding-left: 22px;
    padding-right: 22px;
}


/* Dots */

.dfn-case-study-archive .page-numbers.dots {
    min-width: auto;
    padding: 0 5px;
    border: 0;
    background: transparent;
}


/* Mobile */

@media (max-width: 549px) {

    .dfn-case-study-archive .navigation.pagination {
        margin-top: 40px;
    }

    .dfn-case-study-archive .nav-links {
        gap: 6px;
    }

    .dfn-case-study-archive .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
    }

    .dfn-case-study-archive .page-numbers.prev,
    .dfn-case-study-archive .page-numbers.next {
        padding-left: 16px;
        padding-right: 16px;
    }

}


/* Mobile */

@media (max-width: 849px) {

    .post-type-archive-case_study .dfn-page-hero {
        padding-top: 40px;
    }

    .post-type-archive-case_study .dfn-page-hero__content {
        padding-right: 0;
        padding-bottom: 30px;
        text-align: center;
    }

    .post-type-archive-case_study .dfn-page-hero__logo {
        width: 60%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

    .post-type-archive-case_study .dfn-page-hero__content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .post-type-archive-case_study .dfn-page-hero__image {
        justify-content: center;
    }
	
	.dfn-hero-section:before {
		width: 100%;
	}
	
	.post-type-archive-case_study .dfn-page-hero {
		padding-top: 250px;
	}

}

/* =========================================
   SINGLE CASE STUDY HERO
========================================= */

.single-case_study #masthead ul li a {
	color: white;
}

.single-case_study .header-logo.dfn-home-logo {
	width: 300px !important;
}

.dfn-single-case-study__logo {
    width: 300px;
    display: block;
    padding-bottom: 30px
}

.dfn-single-case-study__hero {
    position: relative;
    overflow: hidden;
    background: #e76f35;
    padding-top: 250px;
}

.dfn-single-case-study__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.dfn-single-case-study__background img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

.dfn-single-case-study__hero-row {
    position: relative;
    z-index: 1;
}

.dfn-single-case-study__hero-content {
    padding-right: 60px;
}

.dfn-single-case-study__back {
    display: inline-block;
    margin-bottom: 30px;
    color: #00305e;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dfn-single-case-study__back:hover {
    color: #00305e;
    opacity: 0.7;
}

.dfn-single-case-study__hero h1 {
    margin: 0 0 15px;
    color: #00305e;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.95;
}

.dfn-single-case-study__age {
    margin-bottom: 25px;
    color: #00305e;
    font-size: 1.25rem;
    font-weight: 700;
}

.dfn-single-case-study__intro {
    margin: 0;
    color: #00305e;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.25;
}

.dfn-single-case-study__hero-image {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.dfn-single-case-study__hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}


/* =========================================
   SINGLE CASE STUDY CONTENT
========================================= */

.dfn-single-case-study__content {
    padding-top: 80px;
    padding-bottom: 100px;
}

.single-case_study #masthead .top-divider,
.post-type-archive-case_study #masthead .top-divider,
.single-team #masthead .top-divider {
    display: none;
}

.dfn-single-case-study__content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* =========================================
   SINGLE CASE STUDY - BASE
========================================= */

.dfn-single-case-study {
    background: #fff;
    color: #00305e;
}


/* =========================================
   SINGLE CASE STUDY HERO
========================================= */

.dfn-single-case-study__hero {
    position: relative;
    overflow: hidden;
    background: #e76f35;
    padding: 150px 0 0;
}

.dfn-single-case-study__hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #fdf0cc;
    z-index: 1;
}


/* Pattern */

.dfn-single-case-study__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.dfn-single-case-study__background img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}


/* Row */

.dfn-single-case-study__hero-row {
    position: relative;
    z-index: 2;
}


/* =========================================
   LEFT CONTENT
========================================= */

.dfn-single-case-study__hero-content {
    padding: 40px 60px 80px 0;
}


/* Case Study label */

.dfn-single-case-study__label {
    display: block;
    margin-bottom: 15px;

    color: #00305e;

    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* Name */

.dfn-single-case-study__hero h1 {
    margin: 0;

    color: #00305e;

    font-size: clamp(3.2rem, 5vw, 5.5rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.035em;
}


/* Subtitle */

.dfn-single-case-study__subtitle {
    margin: 22px 0 0;

    color: #00305e;

    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.2;
    font-weight: 600;
}


/* Meta */

.dfn-single-case-study__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;

    margin-top: 25px;
}

.dfn-single-case-study__meta-item {
    position: relative;

    color: #00305e;

    font-size: 1rem;
    font-weight: 800;
}

.dfn-single-case-study__meta-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 50%;

    width: 4px;
    height: 4px;

    background: #00305e;
    border-radius: 50%;

    transform: translateY(-50%);
}


/* =========================================
   FEATURED IMAGE
========================================= */

.dfn-single-case-study__hero-image-col {
    align-self: flex-end;
}

.dfn-single-case-study__hero-image-col > .col-inner {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.dfn-single-case-study__hero-image {
    width: 100%;
    margin-bottom: -30px;
}

.dfn-single-case-study__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 849px) {

    .dfn-single-case-study__hero {
        padding-top: 90px;
    }

    .dfn-single-case-study__hero-content {
        padding: 40px 20px 50px;
        text-align: center;
    }

    .dfn-single-case-study__hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .dfn-single-case-study__meta {
        justify-content: center;
    }

    .dfn-single-case-study__hero-image {
        width: 90%;
        max-width: 600px;
        margin: 0 auto -30px;
    }

}


/* =========================================
   INTRO / SUCCESS PROFILE
========================================= */

.dfn-single-case-study__intro-section {
    padding: 70px 0;
}

.dfn-single-case-study__intro {
    margin: 0;

    color: #00305e;

    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1.25;
    font-weight: 700;
    text-wrap: balance;
}


/* =========================================
   MAIN CONTENT
========================================= */

.dfn-single-case-study__content {
    padding-top: 80px;
    padding-bottom: 110px;
}

.dfn-case-section {
    margin-bottom: 70px;
}

.dfn-case-section:last-child {
    margin-bottom: 0;
}

.dfn-case-section__heading {
    margin-bottom: 24px;

    color: #00305e;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 900;
}

.dfn-case-section__content {
    max-width: 760px;
}

.dfn-case-section__content p {
    margin-bottom: 24px;

    color: #00305e;

    font-size: 1.15rem;
    line-height: 1.65;
}


/* =========================================
   QUOTE
========================================= */

.dfn-case-study-quote {
    position: sticky;
    top: 140px;

    margin: 0;
    padding: 40px;

    background: #2babe2;

    border: 0;
    border-radius: 0;
}

.dfn-case-study-quote::before {
    content: "“";

    display: block;

    margin-bottom: 10px;

    color: #fff;

    font-size: 5rem;
    line-height: 0.8;
    font-weight: 900;
}

.dfn-case-study-quote p {
    margin: 0;

    color: #fff;

    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
}

.dfn-case-study-quote cite {
    display: block;

    margin-top: 30px;

    color: #fff;

    font-size: 1rem;
    line-height: 1.3;
    font-style: normal;
    font-weight: 700;
}


/* =========================================
   ALTERNATING SECTION ACCENTS
========================================= */

.dfn-case-section:nth-child(1) {
    border-top: 6px solid #e76f35;
    padding-top: 30px;
}

.dfn-case-section:nth-child(2) {
    border-top: 6px solid #2babe2;
    padding-top: 30px;
}

.dfn-case-section:nth-child(3) {
    border-top: 6px solid #e773a7;
    padding-top: 30px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 849px) {

    .dfn-single-case-study__hero {
        padding: 90px 0 50px;
    }

    .dfn-single-case-study__hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .dfn-single-case-study__meta {
        gap: 8px 20px;
    }

    .dfn-single-case-study__meta-item:not(:last-child)::after {
        right: -11px;
    }

    .dfn-single-case-study__intro-section {
        padding: 50px 0;
    }

    .dfn-single-case-study__content {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .dfn-case-section {
        margin-bottom: 50px;
    }

    .dfn-case-study-quote {
        position: static;
        margin-top: 30px;
        padding: 30px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 849px) {

    .dfn-single-case-study__hero {
        padding-top: 50px;
    }

    .dfn-single-case-study__hero-content {
        padding-right: 0;
        padding-bottom: 40px;
    }

    .dfn-single-case-study__hero h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .dfn-single-case-study__intro {
        font-size: 1.3rem;
    }

    .dfn-single-case-study__hero-image {
        padding-top: 0;
    }

    .dfn-single-case-study__hero-image img {
        border-radius: 20px 20px 0 0;
    }

    .dfn-single-case-study__content {
        padding-top: 60px;
        padding-bottom: 70px;
    }

}


/* =========================================
   SINGLE TEAM MEMBER HERO
========================================= */

.single-team #masthead ul li a {
	color: white;
}

.single-team .header-logo.dfn-home-logo {
	width: 300px !important;
}

.single-team .dfn-page-hero {
    position: relative;
    overflow: hidden;
    background: #e76f35;
    padding-top: 250px;
}


.dfn-single-case-study__hero {
    position: relative;
    overflow: hidden;
    background: #e76f35;
    padding-top: 250px;
}


/* Partner log slider */
.partner-logos {
    margin-top: 30px;
}

.partner-logos .ux-logo-link {
    height: 100px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.partner-logos .ux-logo-image {
    width: auto !important;
    height: auto !important;
    max-width: 170px !important;
    max-height: 75px !important;
    object-fit: contain;
    margin: 0 auto;
}


/* DFN Map */

/* =========================================
   DFN STORE LOCATOR
========================================= */

#storelocatorwidget,
#storelocatorwidget * {
    box-sizing: border-box;
}

#storelocatorwidget {
    width: 100%;
    font-family: "Nexa", Arial, sans-serif !important;
    font-size: 16px !important;
    color: #003b63;
}

#storelocatorwidget-container {
    width: 100% !important;
    overflow: hidden;
}


/* =========================================
   SEARCH AREA
========================================= */

#storelocator-search-bar {
    width: 100%;
    margin: 0;
    padding: 20px 30px 24px;

    background: #fff4cf;

    border-radius: 18px 18px 0 0;
}

.dfn-map-wrap .col-inner .storelocator #storelocator-search-bar {
    padding: 20px;
}


/* "Find Stores Near" row */
#storelocator-search-bar > p:first-child {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 14px;
    padding: 0;
}

#storelocator-search-label {
    display: inline-block;

    font-family: "Nexa", Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    color: #003b63;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* =========================================
   LOCATION BUTTON
========================================= */

#storelocator-nearby {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;

    margin: 0 !important;
    padding: 0 !important;

    border: 2px solid #003b63 !important;
    border-radius: 50% !important;

    background: transparent !important;
    background-image: none !important;

    color: #003b63 !important;

    box-shadow: none !important;
}

#storelocator-nearby:hover {
    background: #003b63 !important;
    color: #fff !important;
}


/* =========================================
   SEARCH FIELD
========================================= */

#storelocator-search_combined {
    display: block;
    width: 100%;
}

#storelocator-search_combined .aa-Autocomplete {
    width: 100%;
}

#storelocator-search_combined .aa-Form {
    display: flex;

    width: 100%;
    height: 48px;

    margin: 0 !important;

    border: 2px solid #003b63 !important;
    border-radius: 999px !important;

    background: #fff !important;

    box-shadow: none !important;
    overflow: hidden;
}


/* Search icon section */
#storelocator-search_combined .aa-InputWrapperPrefix {
    display: flex;
    align-items: center;
}

#storelocator-search_combined .aa-Label {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    margin: 0;
    padding: 0;
}

#storelocator-search_combined .aa-SubmitButton {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 100%;

    margin: 0;
    padding: 0 !important;

    border: 0 !important;
    border-right: 1px solid rgba(0, 59, 99, 0.18) !important;

    background: transparent !important;

    color: #003b63 !important;
}

#storelocator-search_combined .aa-SubmitIcon {
    width: 19px;
    height: 19px;
}


/* Actual input */
#storelocator-search_combined .aa-InputWrapper {
    display: flex;
    align-items: center;
    flex: 1;

    min-width: 0;
}

#storelocator-search_combined .aa-Input {
    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 0 !important;

    background: transparent !important;

    font-family: "Nexa", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400;

    color: #003b63 !important;

    box-shadow: none !important;
    outline: none !important;
}

#storelocator-search_combined .aa-Input::placeholder {
    color: rgba(0, 59, 99, 0.5);
    opacity: 1;
}


/* Clear button */
#storelocator-search_combined .aa-InputWrapperSuffix {
    display: flex;
    align-items: center;
}

#storelocator-search_combined .aa-ClearButton {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    padding: 0 16px;

    border: 0 !important;

    background: transparent !important;

    color: #003b63 !important;
}


/* Remove unnecessary empty spacing */
#storelocator-search-bar > p:last-of-type {
    display: none;
}


/* =========================================
   MAIN LOCATOR WRAPPER
========================================= */

#storelocator-wrapper {
    display: flex !important;
    align-items: stretch;

    width: 100%;

    margin: 0;

    border-radius: 0 0 18px 18px;

    background: #fff;

    overflow: hidden;
}


/* =========================================
   LEFT RESULTS PANEL
========================================= */

#storelocator-leftcolumn {
    position: relative !important;

    flex: 0 0 38%;

    width: 38% !important;
    max-width: none !important;

    margin: 0;
    padding: 0;

    background: #fff;

    opacity: 1 !important;
}

#storelocator-list {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #fff;

    overflow-y: auto;
    overflow-x: hidden;
}


/* =========================================
   INDIVIDUAL LOCATION
========================================= */

#storelocator-list .storelocator-store {
    width: 100%;

    margin: 0 !important;
    padding: 28px 30px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(0, 59, 99, 0.18) !important;

    background: #fff;

    transition: background-color 0.2s ease;
}

#storelocator-list .storelocator-store:hover {
    background: #fff4cf;
}


/* Remove plugin paragraph spacing */
#storelocator-list .storelocator-store p {
    margin-top: 0;
}


/* =========================================
   LOCATION NAME
========================================= */

.storelocator-storename-parent {
    margin-bottom: 8px !important;
}

.storelocator-storename {
    display: block;

    font-family: "Nexa", Arial, sans-serif !important;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;

    color: #003b63 !important;

    text-decoration: none !important;
}

.storelocator-storename:hover {
    color: #f36b2f !important;
}


/* =========================================
   ADDRESS
========================================= */

.storelocator-address {
    margin-bottom: 14px !important;

    font-family: "Nexa", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;

    color: #56738c;
}


/* =========================================
   EMAIL / WEBSITE
========================================= */

.storelocator-email,
.storelocator-website {
    margin-bottom: 7px !important;

    font-size: 14px;
    line-height: 1.4;
}

.storelocator-email a,
.storelocator-website a {
    color: #003b63 !important;

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================
   LOCATION BUTTONS
========================================= */

.storelocator-buttons {
    margin-bottom: 0 !important;
}

#storelocatorwidget .storelocator-buttons .storelocator-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 40px;

    margin: 0 !important;
    padding: 8px 17px !important;

    border: 2px solid #003b63 !important;
    border-radius: 999px !important;

    background: transparent !important;
    background-image: none !important;

    font-family: "Nexa", Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1;
    font-weight: 700;

    color: #003b63 !important;

    box-shadow: none !important;
    text-shadow: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

#storelocatorwidget .storelocator-buttons .storelocator-btn:hover,
#storelocatorwidget .storelocator-buttons .storelocator-btn:focus {
    border-color: #003b63 !important;

    background: #003b63 !important;
    background-image: none !important;

    color: #fff !important;
}


/* Arrow */
.storelocator-buttons .fa-arrow-right {
    color: #f36b2f;
}

.storelocator-buttons .storelocator-btn:hover .fa-arrow-right {
    color: #fff;
}

.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-zoom-in {
	margin: 0 !important;
}

.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-zoom-out {
	margin: 0 !important;
}


/* =========================================
   MAP
========================================= */

#storelocator-map_canvas {
    position: relative !important;
    left: auto !important;

    flex: 0 0 62%;

    width: 62% !important;
    max-width: none !important;

    margin: 0;

    background: #f4f4f0;

    opacity: 1 !important;
}


/* Ensure Mapbox canvas fills column */
#storelocator-map_canvas .mapboxgl-canvas-container,
#storelocator-map_canvas .mapboxgl-canvas {
    width: 100% !important;
}


/* =========================================
   MAP CONTROLS
========================================= */

#storelocatorwidget .mapboxgl-ctrl-group {
    overflow: hidden;

    border-radius: 12px;

    box-shadow: 0 3px 15px rgba(0, 47, 80, 0.15);
}

#storelocatorwidget .mapboxgl-ctrl-group button {
    width: 42px;
    height: 42px;
}


/* =========================================
   SCROLLBAR
========================================= */

#storelocator-list {
    scrollbar-width: thin;
    scrollbar-color: #003b63 #f1f1ed;
}

#storelocator-list::-webkit-scrollbar {
    width: 8px;
}

#storelocator-list::-webkit-scrollbar-track {
    background: #f1f1ed;
}

#storelocator-list::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background: #003b63;
}


/* =========================================
   DESKTOP
========================================= */

@media screen and (min-width: 801px) {

    #storelocator-leftcolumn {
        flex: 0 0 38% !important;
        width: 38% !important;
        max-width: none !important;
    }

    #storelocator-map_canvas {
        flex: 0 0 62% !important;
        width: 62% !important;
    }

}


/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 800px) {

    #storelocator-search-bar {
        padding: 20px;
        border-radius: 16px 16px 0 0;
    }


    #storelocator-search-bar > p:first-child {
        margin-bottom: 12px;
    }


    #storelocator-search_combined .aa-Form {
        height: 48px;
    }


    #storelocator-wrapper {
        display: block !important;

        border-radius: 0 0 16px 16px;
    }


    #storelocator-leftcolumn {
        width: 100% !important;
        max-width: none !important;

        flex: none;
    }


    #storelocator-map_canvas {
        width: 100% !important;
		height: 450px !important;
        flex: none;
    }


    #storelocator-list .storelocator-store {
        padding: 22px 20px !important;
    }
	
	#storelocator-list, #storelocator-leftcolumn {
        height: 450px !important;
    }


    .storelocator-storename {
        font-size: 17px;
    }


    /* =========================================
       MOBILE LIST / MAP SWITCH
    ========================================= */

    #storelocator-mapswitch {
        width: 100%;

        margin-top: 18px;
    }

    #storelocator-mapswitch .storelocator-btn-group {
        display: flex;

        width: 100%;

        gap: 8px;
    }

    #storelocator-mapswitch .storelocator-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;

        flex: 1;

        min-height: 42px;

        border: 2px solid #003b63 !important;
        border-radius: 999px !important;

        background: transparent !important;
        background-image: none !important;

        color: #003b63 !important;
    }

    #storelocator-mapswitch .storelocator-btn.active {
        border-color: #003b63 !important;

        background: #003b63 !important;
        background-image: none !important;

        color: #fff !important;
    }

}

/* =========================================
   MAP ONLY — HOME + PAGE 30 + PAGE 252
========================================= */

:is(.home, .page-id-30, .page-id-252) #storelocator-search-bar,
:is(.home, .page-id-30, .page-id-252) #storelocator-leftcolumn,
:is(.home, .page-id-30, .page-id-252) #storelocator-backtolist,
:is(.home, .page-id-30, .page-id-252) #storelocator-directions-panel,
:is(.home, .page-id-30, .page-id-252) #storelocator-mapswitch {
    display: none !important;
}


/* Remove all rounding */
:is(.home, .page-id-30, .page-id-252) #storelocator-wrapper,
:is(.home, .page-id-30, .page-id-252) #storelocator-map_canvas,
:is(.home, .page-id-30, .page-id-252) #storelocatorwidget-container {
    border-radius: 0 !important;
}


/* Full-width locator container */
:is(.home, .page-id-30, .page-id-252) #storelocatorwidget-container {
    width: 100% !important;
}


/* Full-width wrapper */
:is(.home, .page-id-30, .page-id-252) #storelocator-wrapper {
    display: block !important;
    width: 100% !important;
    overflow: hidden;
}


/* Full-width map */
:is(.home, .page-id-30, .page-id-252) #storelocator-map_canvas {
    display: block !important;

    position: relative !important;
    left: auto !important;

    width: 100% !important;
    max-width: none !important;
    flex: none !important;

    height: 600px !important;

    opacity: 1 !important;
    z-index: 1 !important;
}


/* Ensure Mapbox fills the full container */
:is(.home, .page-id-30, .page-id-252) #storelocator-map_canvas .mapboxgl-canvas-container,
:is(.home, .page-id-30, .page-id-252) #storelocator-map_canvas .mapboxgl-canvas {
    width: 100% !important;
    border-radius: 0 !important;
}


/* =========================================
   MAP ONLY — MOBILE
========================================= */

@media screen and (max-width: 800px) {

    :is(.home, .page-id-30, .page-id-252) #storelocator-map_canvas {
        position: relative !important;
        left: auto !important;

        width: 100% !important;
        height: 450px !important;

        opacity: 1 !important;
        z-index: 1 !important;
    }

}