/*------------------------------------*\
    
    Hide/Show Text Area - Global styling for all hide/show text

    This method is CSS heavy and light on JS, which is important for good SEO and CWV results
    Find the code snippet here: https://webfxcodelibrary.webpagefxstage.com/#intermediate_cssshowhidetext

\*------------------------------------*/

/* if you are having issues with clamping in safari, see this fix: https://app.getguru.com/card/c48ay5ri/CSS-lineclamp-in-latest-Safari- */

.read-more__content {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
    color: #FAFAFA;
	position: relative;
}

.wysiwyg__read-more .read-more__content {
	overflow: initial;
	overflow-y: clip;
	overflow-x: revert;
}

.read-more__wrapper {
	display: inline;
}

.read-more__content {
	-webkit-line-clamp: 9;
}


.read-more__content.is-expanded {
	-webkit-line-clamp: inherit !important;
}

.expand {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 18px;
    padding: 0 18px 0 0;
    border: none;
    margin: 0;
    background: none;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    background: none;
    letter-spacing: 0.02em;
    font-family: "Oswald", sans-serif;
}

.expand:after {
    content: '\e906';
    font-family: 'calhoun-super-icon';
    height: auto;
    width: auto;
    border: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    margin-top: 0;
    font-size: 10px;
    font-weight: normal;
}

.expand:hover {
    color: #ED1C24;
}

.expand.is-expanded:after {
    transform: translate(0, -50%) rotate(-180deg);
}

.read-more__box {
    margin-bottom: 20px;
}

.video-card__cta:not(.js-read-more-expand) {
    display: none;
}

.video-card__cta:after {
    content: "\e904";
    transform: rotate(90deg);
    display: block;
    line-height: 1em;
    position: absolute;
    right: 0;
    top: 8px;
    font-size: 14px;

    font-family: 'calhoun-super-icon'!important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.video-card__cta.is-expanded:after {
    transform: rotate(270deg);
}

@media (min-width: 768px) {
    .read-more__content {
        -webkit-line-clamp: 6;
    }

    .expand::before {
        content: '';
        position: absolute;
        width: 20px;
        height: 4px;
        right: -16px;
        bottom: 6px;
        background: #181818;
    }
    
    .video-card__details .read-more__content {
        -webkit-line-clamp: 2;
    }

}

@media (min-width: 1200px) {
    .read-more__content {
        -webkit-line-clamp: 6;
    }

    .expand:hover {
        background: none;
    }

    .video-card__details .read-more__content {
        -webkit-line-clamp: 2;
    }
}