.th-v2-featured-post {
    position: relative;
    display: flex;
    height: 676px;
    min-height: 0;
    align-items: flex-end;
    justify-content: center;
    padding: 30px 20px;
    overflow: hidden;
    background-color: #0d0d0d;
}

.th-v2-featured-post__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.th-v2-featured-post__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-v2-featured-post__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.th-v2-featured-post__label {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding: 0 15px;
    background-color: #81f249;
    background-clip: content-box;
    color: #0d0d0d;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-transform: uppercase;
}

.th-v2-featured-post__label::before,
.th-v2-featured-post__label::after {
	content: '';
	position: absolute;
	top: 0;
	width: 15px;
	height: 100%;
	background-color: #81f249;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 15px 100%;
	mask-size: 15px 100%;
	-webkit-mask-position: center;
	mask-position: center;
	pointer-events: none;
}

.th-v2-featured-post__label::before {
	left: 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 15 20'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0H15V20H7.8C7.6 20 7.4 19.8 7.4 19.6V15C7.4 12.2 5.2 10 2.5 10H0V0Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 15 20'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0H15V20H7.8C7.6 20 7.4 19.8 7.4 19.6V15C7.4 12.2 5.2 10 2.5 10H0V0Z'/%3E%3C/svg%3E");
}

.th-v2-featured-post__label::after {
	right: 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 15 20'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0H14V9.5C14 9.8 13.8 10 13.5 10H12.5C9.8 10 7.6 12.2 7.6 15V19.6C7.6 19.8 7.4 20 7.2 20H0V0Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='20' viewBox='0 0 15 20'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0 0H14V9.5C14 9.8 13.8 10 13.5 10H12.5C9.8 10 7.6 12.2 7.6 15V19.6C7.6 19.8 7.4 20 7.2 20H0V0Z'/%3E%3C/svg%3E");
}

.th-v2-featured-post__title {
    margin: 0 0 20px;
    color: var(--th-featured-post-title-color);
    font-family: var(--th-featured-post-title-font-family), serif;
    font-size: var(--th-featured-post-title-size);
    font-weight: 400;
    line-height: var(--th-featured-post-title-line-height);
    text-transform: var(--th-featured-post-title-case);
}

.th-v2-featured-post__link {
	position: relative;
	display: inline-block;
	padding-bottom: 4px;
	color: var(--th-featured-post-btn-color);
	font-family: var(--th-featured-post-btn-font-family), serif;
	font-size: var(--th-featured-post-btn-size);
	line-height: var(--th-featured-post-btn-line-height);
	text-decoration: none;
	text-transform: var(--th-featured-post-btn-case);
	overflow: hidden;
}

.th-v2-featured-post__link::before,
.th-v2-featured-post__link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 100%;
	background: var(--button-color);
	pointer-events: none;
	will-change: transform;
	transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
}

.th-v2-featured-post__link::before {
	transform: translateX(0) scaleX(1);
	transform-origin: left;
}

.th-v2-featured-post__link:hover::before {
	transform: translateX(100%) scaleX(0);
	transform-origin: right;
}

.th-v2-featured-post__link::after {
	transform: translateX(-100%) scaleX(0);
	transform-origin: left;
	transition-delay: .02s;
}

.th-v2-featured-post__link:hover::after {
    transform: translateX(0) scaleX(1);
}

.th-v2-featured-post.has-no-image {
    background-color: #0d0d0d;
}

@media (max-width: 768px) {
    .th-v2-featured-post {
        min-height: 100vh;
        height: auto;
        padding-bottom: 40px;
    }

    .th-v2-featured-post__title { font-size: var(--th-featured-post-title-mobile-size); }
    .th-v2-featured-post__link { font-size: var(--th-featured-post-btn-mobile-size); }
}
