/*Utilities*/
.m-auto { margin: auto; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.pr-2 { padding-right: 2rem; }
.p0 { padding: 0!important; }
.p-50 { padding: 50px; }

.blue { color: #3899b7; }
.bg-blue-light { background-color: #f0ffff; }
.orange { color: #ff7430!important; }

.text-extra-lg { font-size: 65px; }
.text-normal-sm { font-size: 20px!important; }
.text-avro { font-family: 'Arvo', serif; }
.text-semibold { font-weight: 600; }
.text-bold { font-weight: bold; }

.display-block { display: block; }
.flex { display: flex; }

/*Subtree cards article modifier*/
.subtree-cards--article {
    background-color: #fff;
    padding-top: 0;
}

.subtree-cards--article .card .content {
    padding: 50px;
    position: relative;
    margin-left: 0;
    margin-right: 0;
}

.subtree-cards--article .card p {
    max-height: none;
    overflow: visible;
    text-overflow: unset;
    -webkit-line-clamp: unset;
}

.subtree-cards--article .card .content a {
    display: block;
    text-align: center;
    text-decoration: underline;
    font-size: 20px;
    font-weight: 600;
}

.subtree-cards--article .card .content a img {
    margin-right: 5px;
}

.subtree-cards--article .card .content .card-lightbox {
    display: none;
}

@media only screen and (min-width: 768px) {
    .subtree-cards--article .card:before {
        display: none;
        padding-top: 0;
    }
}

/*Featherlight*/
.featherlight .featherlight-content {
    border: 5px solid #3899b7;
    max-width: 800px;
    border-bottom: 5px solid #3899b7;
    padding: 25px;
    width: 700px;
}

.featherlight-content p {
    font-weight: 600;
    margin-bottom: 30px;
    margin-right: 35px;
}

.featherlight .featherlight-close-icon {
    color: #ed7d4f;
    width: 30px;
    height: 30px;
    top: 20px;
    right: 20px;
}

@media only screen and (max-width: 1024px) {
    .featherlight .featherlight-content {
        border-bottom: 5px solid #3899b7;
        padding: 10px;
    }
}

/*Video wrapper utility*/

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* RX to Heroin Page */
@media (max-width: 768px) {
    .subtree-cards--article .card .content {
        margin-left: 15px;
        margin-right: 15px;
    }

    .rx-to-heroin .content h2 {
        font-size: 42px;
    }

    .rx-to-heroin p {
        font-size: 19px;
    }

    .featherlight .featherlight-content {
        border: 5px solid #3899b7;
        max-width: 800px;
        border-bottom: 5px solid #3899b7;
        padding: 25px;
        min-width: unset;
        width: 95%;
    }
}