/* Home Page Styles */

.home-hero-banner {
    position: relative;
    padding: 2rem 0 5rem 0;
    background: url("../jpg/bgr-home-hero-banner.jpg") no-repeat center 10% / cover;
}
.home-hero-banner:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    -webkit-mask: url("../svg/mask-home-hero-banner.svg") no-repeat center bottom / 100% 100%;
    mask: url("../svg/mask-home-hero-banner.svg") no-repeat center bottom / 100% 100%;
    background-color: var(--color-white);
}

.home-hero-banner h1 .text-script {
    line-height: 1;
}

.hero-search {
    margin-top: 2rem;
}
.hero-search > [type="radio"] {
    display: none;
}
.hero-search .search-tabs {
    list-style: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 2rem 2rem 0 2rem;
    border-radius: 1.5rem 1.5rem 0 0;
    background-color: rgba(255, 255, 255, .7);
}
.hero-search .search-tabs li {
    margin: 0;
}
.hero-search .search-tabs li label {
    display: block;
    padding: 1rem;
    font-size: 1.6rem;
    line-height: 1.25;
    text-transform: uppercase;
    border-radius: 1.5rem;
    cursor: pointer;
}
.hero-search .search-tabs li:hover label {
    color: var(--color-white);
    background-color: var(--color-purple);
    border-color: transparent;
}
.hero-search [type="radio"]#tab1:checked ~ .search-tabs li label[for="tab1"],
.hero-search [type="radio"]#tab2:checked ~ .search-tabs li label[for="tab2"],
.hero-search [type="radio"]#tab3:checked ~ .search-tabs li label[for="tab3"] {
    color: var(--color-white);
    background-color: var(--color-purple-light);
    border-color: transparent;
}
.hero-search .form-row {
    display: none;
    padding: 2rem;
    margin: 0;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 0 0 1.5rem 1.5rem;
}
.hero-search .form-row .column:not(:last-of-type) {
    margin-bottom: 2rem;
}
.hero-search .form-row .column .btn {
    display: block;
}
.hero-search .form-row .column input {
    border-color: transparent;
}
.hero-search .form-row .column input.search-icon-left {
    padding-left: 4rem;
    background-position: 1rem center;
    background-size: 2rem auto;
}
.hero-search .form-row .column ::placeholder {
    color: var(--color-gray);
    font-size: inherit;
}
.hero-search .form-row .column.geolocation-wrap {
    position: relative;
}
.hero-search .form-row .column.geolocation-wrap:before {
    content: "Located Near:";
    position: absolute;
    top: 1.4rem;
    left: 1.6rem;
}
.hero-search .form-row .column.geolocation-wrap input {
    padding-left: 12.5rem;
    padding-right: 4rem;
    background-position-x: calc(100% - 1rem);
    background-size: 2rem;
}
.hero-search .form-row .column.geolocation-wrap a:after {
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
}
.hero-search .form-row .column.geolocation-wrap a,
.hero-search .form-row .column a.icon-plus {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.5rem;
}
.hero-search .form-row .column a.icon-plus:before {
    font-size: .75em;
    line-height: 1;
}
.hero-search [type="radio"]#tab1:checked ~ .form-row#FindaDoctor,
.hero-search [type="radio"]#tab2:checked ~ .form-row#FindaLocation,
.hero-search [type="radio"]#tab3:checked ~ .form-row#LookUpInsurance {
    display: block;
}

.row-promos {
    padding: 2rem 0;
}
.row-promos .columns > li h3 {
    font-weight: 400;
}

.row-arc-difference {
    padding: 2rem 0;
    color: var(--color-white);
    background: url("../jpg/bgr-purple.jpg") no-repeat center / cover;
}
.row-arc-difference h2 {
    color: var(--color-white);
}
.row-arc-difference .video-thumbnail:before {
    content: "Our commitment to you";
    display: block;
    position: absolute;
    bottom: 0;
    left: -2rem;
    width: 13rem;
    padding: 0 5rem .8rem 0;
    text-align: center;
    font-family: 'Dancing Script', cursive;
    color: var(--color-white);
    /*font-size: 1.8rem;*/
    font-size: 2rem;
    line-height: 1.111;
    background: url("../svg/artwork-arrow.svg") no-repeat right bottom / 8.5rem auto;
	z-index: 2;
}
.row-arc-difference .video-thumbnail img {
    border-radius: 100%;
	position: relative;
	z-index: 1;
}

.row-stories {
    padding: 2rem 0;
    overflow-x: hidden;
}
.row-stories .thumbnails {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    margin: 0;
    padding: 0;
}
.row-stories .thumbnails li {
    margin: 0;
}
.row-stories .thumbnails li:nth-child(1),
.row-stories .thumbnails li:nth-child(2) {
    margin-left: 4rem;
    margin-right: -4rem;
}
.row-stories .thumbnails li .video-thumbnail,
.row-stories .thumbnails li .video-thumbnail img {
    display: block;
    width: 100%;
}

.row-updates {
    padding: 2rem 0;
    background-color: var(--color-gray-light);
}
.media-items-home {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 35rem 25rem 25rem auto;
    grid-gap: 2rem;
    padding: 0;
}
.media-items-home li {
    margin: 0;
}
.media-items-home li .headline a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}
.media-items-home li.featured {
    position: relative;
}
.media-items-home li.featured figure {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.media-items-home li.featured figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-items-home li.featured .tag {
    position: absolute;
    z-index: 2;
    top: 1.5rem;
    left: 1.5rem;
}
.media-items-home li.featured .headline {
    position: absolute;
    z-index: 2;
    bottom: 1.5rem;
    width: 100%;
    margin: 0;
    padding: 2rem 3rem;
    color: var(--color-white);
    font-size: 2rem;
    background-color: rgba(0, 0, 0, .5);
}
.media-items-home li.featured:not(:first-of-type) .headline {
    padding: 1rem 2rem;
}
.media-items-home li:not(.featured) .tag {
    margin-bottom: 1.5rem;
}
.media-items-home li:not(.featured) .tag:first-of-type {
    margin-top: 1.5rem;
}
.media-items-home li:not(.featured) .headline {
    font-size: 1.6rem;
}
.media-items-home li hr {
    margin: 3rem 0 1.5rem 0;
}
.media-items-home li .btn {
    width: 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-top: 3rem;
}
.newsletter-signup > * + * {
    margin-top: 2rem;
}

.row-mychart {
    position: relative;
    padding: 5rem 0 2rem 0;
    /*background: url("../jpg/bgr-home-mychart-row.jpg") no-repeat center top / cover;*/
}
.row-mychart:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    -webkit-mask: url("../svg/mask-home-btm-row.svg") no-repeat center bottom / 100% 100%;
    mask: url("../svg/mask-home-btm-row.svg") no-repeat center bottom / 100% 100%;
    background-color: var(--color-gray-light);
}
.mychart-promo-box {
    max-width: 66rem;
    padding: 2rem;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--color-white);
    -webkit-box-shadow: 0 .3rem .6rem 0 rgba(0,0,0,.15);
    box-shadow: 0 .3rem .6rem 0 rgba(0,0,0,.15);
}
.mychart-promo-box h2:first-child {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: flex-end;
    padding: 2rem;
    margin: -2rem -2rem 2rem -2rem;
    color: var(--color-white);
    line-height: 4rem;
    background-color: var(--color-purple);
}
.mychart-promo-box h2:first-child img {
    margin-right: 1rem;
}
.mychart-promo-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mychart-promo-box ul li {
    margin: 3rem 0;
    padding-left: 7rem;
    background: url("../svg/icon-check-mark-circle.svg") no-repeat left top / 55px;
}
.mychart-promo-box ul li h4 {
    margin: 0;
}
.mychart-promo-box ul li p {
    margin: .5rem 0 0 0;
}

/* --------------------------------------------------------------------------------------------------------------------------- */
/* Responsive Styles ONLY below this line ------------------------------------------------------------------------------------ */
/* --------------------------------------------------------------------------------------------------------------------------- */

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

    .media-items-home {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 35rem 25rem auto;
        grid-template-areas: "a a"
            "b c"
            "d d";
    }
    .media-items-home li:nth-child(1) {
        grid-area: a;
    }
    .media-items-home li:nth-child(2) {
        grid-area: b;
    }
    .media-items-home li:nth-child(3) {
        grid-area: c;
    }
    .media-items-home li:nth-child(4) {
        grid-area: d;
    }

}

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

    .home-hero-banner {
        padding: 4rem 0 7rem 0;
    }

    .hero-search {
        margin-top: 4rem;
    }

    .row-promos {
        padding: 4rem 0 6rem 0;
    }
    .row-promos h2 {
       margin-bottom: 3rem;
    }

    .row-arc-difference {
        padding: 6rem 0;
    }

    .row-stories {
        padding: 6rem 0;
    }
    .row-stories .thumbnails {
        width: 55vw;
    }

    .row-updates {
        padding: 6rem 0;
    }
    .media-items-home {
        margin: 4rem 0;
    }

    .mychart-promo-box {
        padding: 4rem;
    }
    .mychart-promo-box h2:first-child {
        margin: -4rem -4rem 3rem -4rem;
    }

}

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

    .home-hero-banner {
        padding: 6rem 0 14rem 0;
    }
    .home-hero-banner:after {
        height: 8rem;
    }
    .hero-search .search-tabs {
        gap: 1rem;
        width: fit-content;
    }
    .hero-search .search-tabs li label {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-search [type="radio"]#tab1:checked ~ .form-row#FindaDoctor,
    .hero-search [type="radio"]#tab2:checked ~ .form-row#FindaLocation,
    .hero-search [type="radio"]#tab3:checked ~ .form-row#LookUpInsurance {
        display: flex;
    }
    .hero-search .form-row {
        flex-flow: row nowrap;
        align-items: flex-start;
        gap: 2rem;
        border-top-right-radius: 1.5rem;
    }
    .hero-search .form-row .column:not(:last-of-type) {
        flex: 1 1 50%;
        margin-bottom: 0;
    }
    .hero-search .form-row .column:last-of-type {
        flex: 0 0 15rem;
    }
    .hero-search .form-row .column.geolocation-wrap a,
    .hero-search .form-row .column a.icon-plus {
        margin-bottom: -1rem;
    }

    .row-arc-difference .columns, 
    .row-stories .columns {
        grid-gap: 6rem;
    }

    .row-updates .columns {
        align-items: center;
    }
    .newsletter-signup {
        display: flex;
        flex-flow: row nowrap;
    }
    .newsletter-signup > * + * {
        margin-top: 0;
        margin-left: -.1rem;
    }
    .newsletter-signup > input:first-child {
        /*border-radius: 1.5rem 0 0 1.5rem;*/
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .newsletter-signup > input:not(:first-child,.btn-submit) {
        border-radius: 0;
    }
    .newsletter-signup > *:not(.btn-submit) {
        flex: 1 1 auto;
    }
    .newsletter-signup > .btn-submit {
        flex: 0 0 auto;
        /*border-radius: 0 1.5rem 1.5rem 0;*/
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .media-items-home {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "a b d"
            "a c d";
        min-height: 46rem;
    }

    .row-mychart {
        padding: 15rem 0 5rem 0;
        min-height: 84rem;
        background: url("../jpg/arc-mychart.jpg") no-repeat 40% top/cover;
    }
    .row-mychart:before {
        height: 10rem;
    }
    .mychart-promo-box {
        margin-right: 0;
    }

}

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

    .media-items-home {
        grid-template-columns: 2fr 1fr 1fr;
    }

}

@media only screen and (min-width: 768px) { 
    
    .row-arc-difference .columns .video-thumbnail:before {
        bottom: -5rem;
        left: calc(50% - 6.5rem);
		background: none;
    }

}

@media only screen and (min-width: 1100px) { 
    
    .row-arc-difference .columns .video-thumbnail:before {
        bottom: -1rem;
        left: -2rem;
		background: url("../svg/artwork-arrow.svg") no-repeat right bottom / 8.5rem auto;
    }

}