/* ------------------------------------------------------------ *\
	Intro Overrides
\* ------------------------------------------------------------ */
.intro { 
    position: relative; 
    height: 530px; 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
}

.intro--yellow:before,
.intro--yellow:after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 5; 
}

.intro--yellow:before { 
    background: url(../images/temp/wave2.png) no-repeat 0 bottom; 
    height: 324px; 
    background-size: cover; 
}

.intro--yellow:after { 
    background: url(../images/temp/wave1.png) no-repeat 0 bottom; 
    height: 236px; 
    background-size: cover; 
    z-index: 5; 
}

.intro .intro__content { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 20; 
    max-width: 662px; 
    width: 100%; 
}

.intro .intro__title { 
    margin-bottom: 43px; 
    color: #ffffff; 
    text-transform: none; 
    text-align: center; 
}

.intro .intro__overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background: rgba(127, 127, 127, 0.4); 
}

.intro--small { 
    height: 150px; 
}

.intro--small .intro__title { 
    margin-bottom: 0; 
}

@media (max-width: 1023px) {
    .intro { height: 300px; }
    .intro--yellow:after { height: 125px; }
    .intro--yellow:before { height: 160px; }
    .intro .intro__title { margin-bottom: 30px; }
    .intro--small { height: 200px; }
    .intro--small .intro__title { margin-bottom: 0; }
    .intro .intro__content { 
        top: auto; 
        left: 50%; 
        transform: translateX(-50%); 
        bottom: 43px;  
    }
}

/* ------------------------------------------------------------ *\
	Sidebar Layout - Narrower & Repositioned
\* ------------------------------------------------------------ */
.sidebar { 
    flex: 0 0 320px; 
    max-width: 320px; 
    padding: 0 40px;  
    background-color: #ffffff; 
    position: relative; 
    z-index: 5; 
}

.sidebar .list-dots li:before { 
    top: 7px; 
}

/* Desktop Layouts */
@media (min-width: 1201px) {
    .sidebar--js { 
        position: absolute; 
        top: -50px; 
        right: 30px; 
        width: 320px; 
        margin-top: 0; 
        height: calc(100% + 122px); 
    }
    
    .content {
        flex-basis: calc(100% - 390px);
        max-width: calc(100% - 390px);
        padding-right: 40px;
    }
}

/* Very Wide Screens */
@media (min-width: 1441px) {
    .sidebar--js { 
        right: 15px; 
    }
    
    .content {
        flex-basis: calc(100% - 360px);
        max-width: calc(100% - 360px);
        padding-right: 35px;
        padding-left: 20px;
    }
}

/* Small Desktop */
@media (min-width: 1024px) and (max-width: 1200px) {
    .sidebar { 
        flex: 0 0 280px; 
        max-width: 280px; 
        padding: 0 20px; 
    }
    
    .sidebar--js { 
        position: absolute; 
        top: -50px; 
        right: 25px; 
        width: 280px; 
        margin-top: 0; 
        height: calc(100% + 122px); 
    }
    
    .content {
        flex-basis: calc(100% - 345px);
        max-width: calc(100% - 345px);
        padding-right: 40px;
    }
}

/* Mobile/Tablet */
@media (max-width: 1023px) {
    .sidebar { 
        display: none; 
    }
}

/* ------------------------------------------------------------ *\
	Sidebar Widget Overflow Fixes
\* ------------------------------------------------------------ */
.sidebar .widget-storage,
.sidebar .widget {
    width: 240px; /* 320px - (40px * 2) */
}

.sidebar .storage--large .storage__head .btn,
.sidebar .btn--block {
    width: 100%;
    font-size: 12px;
    padding: 12px 10px;
}

.sidebar .storage__title {
    font-size: 14px;
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .sidebar .widget-storage,
    .sidebar .widget {
        width: 240px; /* 280px - (20px * 2) */
    }
    
    .sidebar .storage--large .storage__head .btn,
    .sidebar .btn--block {
        font-size: 11px;
        padding: 10px 8px;
    }
}

/* ------------------------------------------------------------ *\
	Section Overrides
\* ------------------------------------------------------------ */
.section-features { 
    padding: 90px 0 43px; 
}

.section-features .section__head { 
    margin-bottom: 67px; 
}

.section-features .section__title { 
    text-align: center; 
}

.section-features .section__title svg { 
    width: 20px; 
    height: 20px; 
}

.section-features--secondary { 
    padding: 28px 0 77px; 
}

.section-locations { 
    position: relative; 
    padding: 0 0 87px; 
}

.section-locations h4 { 
    margin-top: 34px; 
}

.section-locations:before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    background: url(../images/temp/wave3.png) no-repeat 0 bottom; 
    height: 650px; 
    background-size: cover; 
    opacity: .8; 
}

.section-locations .shell { 
    position: relative; 
    z-index: 5; 
}

.section-locations .section__inner { 
    display: flex; 
    justify-content: space-between; 
}

.section-locations .section__content { 
    flex: 0 0 565px; 
    padding-top: 56px; 
}

.section-locations .section__aside { 
    margin-right: -111px; 
    margin-top: -4px; 
}

.section-locations .section__aside img { 
    max-width: 607px; 
}

.section--white { 
    background-color: #ffffff; 
    width: 100vw; 
    margin-left: -95px; 
}

.section-comments { 
    padding: 60px 0 60px; 
}

.section-comments .section__head { 
    display: flex; 
    justify-content: space-between; 
    align-self: center; 
    margin-bottom: 69px; 
    padding: 0 9px; 
}

.section-comments .section__head i { 
    margin-right: -19px; 
    margin-top: 5px; 
}

.section-comments .section__title { 
    font-weight: 600; 
    letter-spacing: 0; 
    color: #2b2b2b; 
}

.section-comments .section__body { 
    padding: 0 11px; 
}

.section-comments .section__foot { 
    text-align: center; 
    margin-top: -46px; 
    position: relative; 
    z-index: 10; 
}

.section-form--secondary { 
    background-color: #ffffff; 
    padding: 150px 0 220px;  
}

.section-full-height { 
    height: calc(100vh - 119px); 
}

.section-tabs h1 { 
    text-transform: none; 
    letter-spacing: -0.0080em; 
    margin-bottom: 9px; 
}

.section-tabs h2 { 
    margin-bottom: 10px; 
}

.section-fixed { 
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    z-index: 20; 
}

@media (max-width: 1440px) {
    .section--white { 
        margin-left: -50px; 
    }
    
    .section-locations .section__aside { 
        margin-right: 0; 
    }
}

@media (max-width: 1200px) {
    .section-comments .section__head i { 
        margin-right: 0; 
    }
}

@media (max-width: 1023px) {
    .section--white { 
        margin: 0; 
    }
    
    .section-locations .section__inner { 
        display: block; 
    }
    
    .section-locations .section__aside { 
        padding-top: 50px; 
    }
    
    .section-locations .section__aside img { 
        display: block; 
        margin: 0 auto; 
    }
    
    .section-comments { 
        padding: 80px 0 180px; 
    }
    
    .section-features { 
        padding: 50px 0; 
    }
    
    .section-fixed { 
        display: block; 
    }
    
    .section-full-height { 
        height: calc(100vh - 70px); 
    }
    
    .section-form { 
        padding: 50px 0 100px; 
    }
    
    .section-form--secondary { 
        padding: 80px 0 120px; 
    }
}

/* ------------------------------------------------------------ *\
	Shell Container Max Width
\* ------------------------------------------------------------ */
.shell {
    max-width: 1500px;
}

.section-comments .shell{
 max-width: none;   
 padding: 0;
}

/* ------------------------------------------------------------ *\
	USP Container
\* ------------------------------------------------------------ */
.usp-container {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;   
    margin: 50px auto 100px auto;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;   
    width: 120px;
}

.icon-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.icon {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.icon-text {
    font-size: 10px;
    color: #333;
    font-weight: 500;
    max-width: 120px;
    word-wrap: break-word;
}

/* ------------------------------------------------------------ *\
	Mobile Navigation Dropdown Header
\* ------------------------------------------------------------ */
/* Hide old btn--back if still present */
.nav .dropdown .btn--back {
    display: none !important;
}

/* Dropdown header container - hidden on desktop */
.nav .dropdown .dropdown-header {
    display: none;
}

/* Mobile styles */
@media (max-width: 1023px) {
    .nav .dropdown .dropdown-header {
        display: flex;
        align-items: center;
        background-color: #ffffff;
        padding: 20px 15px;
        gap: 10px;
    }

    /* Close/back button */
    .nav .dropdown .btn--close {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border: none;
        background-color: #f5f5f5;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        transition: background-color 0.2s ease;
    }

    .nav .dropdown .btn--close:hover,
    .nav .dropdown .btn--close:focus {
        background-color: #e8e8e8;
    }

    /* Arrow icon using CSS */
    .nav .dropdown .btn--close:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 10px;
        border-left: 2px solid #2b2b2b;
        border-bottom: 2px solid #2b2b2b;
        transform: translate(-35%, -50%) rotate(45deg);
    }

    /* Title link */
    .nav .dropdown .dropdown-title {
        flex-grow: 1;
        font-size: 18px;
        font-weight: 600;
        color: #2b2b2b;
        text-decoration: none;
        padding: 10px 0;
    }

    .nav .dropdown .dropdown-title:hover,
    .nav .dropdown .dropdown-title:focus {
        color: #fce06b;
    }
}