Addiction is a word that many people throw around casually, but it’s a serious issue that affects countless individuals and their loved ones. When someone is struggling with addiction, it can feel like their whole world is falling apart. They may have trouble holding down a job, maintaining relationships, or even taking care of themselves.…
(function () {
// forEach polyfill
if (!NodeList.prototype.forEach) {
NodeList.prototype.forEach = function (callback) {
for (var i = 0; i < this.length; i++) {
callback.call(this, this.item(i));
}
}
}
var navigation = document.querySelector('[data-colibri-navigation-overlap="true"], .h-navigation_overlap');
if (navigation) {
var els = document
.querySelectorAll('.h-navigation-padding');
if (els.length) {
els.forEach(function (item) {
item.style.paddingTop = navigation.offsetHeight + "px";
});
}
}
})();
( function() {
var skipLinkTarget = document.querySelector( 'main' ),
sibling,
skipLinkTargetID,
skipLink;
// Early exit if a skip-link target can't be located.
if ( ! skipLinkTarget ) {
return;
}
/*
* Get the site wrapper.
* The skip-link will be injected in the beginning of it.
*/
sibling = document.querySelector( '.wp-site-blocks' );
// Early exit if the root element was not found.
if ( ! sibling ) {
return;
}
// Get the skip-link target's ID, and generate one if it doesn't exist.
skipLinkTargetID = skipLinkTarget.id;
if ( ! skipLinkTargetID ) {
skipLinkTargetID = 'wp--skip-link--target';
skipLinkTarget.id = skipLinkTargetID;
}
// Create the skip link.
skipLink = document.createElement( 'a' );
skipLink.classList.add( 'skip-link', 'screen-reader-text' );
skipLink.id = 'wp-skip-link';
skipLink.href = '#' + skipLinkTargetID;
skipLink.innerText = 'Skip to content';
// Inject the skip link.
sibling.parentElement.insertBefore( skipLink, sibling );
}() );