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

    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

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


.read-more {
	display: block;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var( --readMoreLines );
	overflow: hidden;
	word-break: break-all;
}

.readmore p {
    padding-bottom: 0;
    margin-bottom: 24px;
}

.read-more--cta {
    margin-top: 1.2rem; /* Adjust to match site design */
}

/* fix - display: -webkit-box; prevents margins from collapsing */
.read-more__content p {
    margin-top: 0;
}

/**
 * Sticky Sidebar
 */

@media( min-width: 1025px ) {
    .sticky-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 125px;
    }
}




/**
 * Read more
 **/

.read-more--toggle {
    border: none;
    background: transparent;
    color: #D11040;
    font-size: 19px;
    padding: 0 20px 0 0;
    font-weight: 700;
    transition: all .4s ease-in-out;
    margin: 0 0 15px 0;
    position: relative;
}

.read-more--toggle::before {
    content: "\e914";
    position: absolute;
    top: 9px;
    right: 0;
    font-size: 9px;
    line-height: 1em;
    font-family: 'icomoon' !important;
    transform: rotate(90deg);
}

.read-more--toggle.is--active::before {
  transform: rotate(-90deg);
}

@media (min-width: 768px) {
    .read-more {
        display: block !important;
        word-break: inherit;
    }
}
