/* -- SUBSCRIPTION PLANS -- */
.mainContent:has(.annabelle-paywall-subscription-plans__content) .page-default__page-title {
    display: none;
}
.annabelle-paywall-subscription-plans {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.annabelle-paywall-subscription-plans__content {
    text-align: center;
    margin-bottom: 2rem;
}
.annabelle-paywall-subscription-plans__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.annabelle-paywall-subscription-plans__item {
    display: flex;
    flex-direction: column;
    border: solid 1px #343434;
    padding: 1.5rem;
}
.annabelle-paywall-subscription-plans__item img {
    width: calc(100% - 1rem);
    margin: 0 0.5rem 1rem 0.5rem;
}
.annabelle-paywall-subscription-plans__item-title {
    margin-bottom: 1rem;
}
.annabelle-paywall-subscription-plans__item-title p {
    font-size: 1.35rem !important;
    line-height: 1.5 !important;
}
.annabelle-paywall-subscription-plans__item-price {
    margin-bottom: 2rem;
}
.annabelle-paywall-subscription-plans__item-price > p {
    font-size: 1rem !important;
}
.annabelle-paywall-subscription-plans__item-price p strong {
    font-size: 1.35rem !important;
    font-weight: normal !important;
}
.annabelle-paywall-subscription-plans__item-btn {
    display: block;
    font-size: 1.0625rem;
    font-weight: bold;
    letter-spacing: .06em;
    line-height: 1.15;
    text-transform: uppercase;
    border-width: 1px;
    border-color: #343434;
    padding: .75rem 1.5rem;
    cursor: pointer;
    background-color: #343434;
    color: #fff;
    width: 100%;
    text-decoration: none !important;
    text-align: center;
    margin-top: auto;
}
@media screen and (min-width: 768px) {
    [is=flynt-block-wysiwyg] .block-wysiwyg__content:has(.annabelle-paywall-subscription-plans) {
        width: 90%;
        margin-left: 5%;
    }
}
@media screen and (min-width: 1100px) {
    .annabelle-paywall-subscription-plans__content {
        margin-bottom: 3rem;
    }
    .annabelle-paywall-subscription-plans__item {
        flex: 1;
    }
    .annabelle-paywall-subscription-plans__grid {
        flex-wrap: nowrap;
        gap: 3rem;
        margin-bottom: 3rem;
    }
}


/* -- LOGIN -- */
.mainContent:has(.annabelle-paywall-auth) .page-default__page-title {
    display: none;
}
.annabelle-paywall-auth {
    max-width: 26rem;
    margin: 0 auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.annabelle-paywall-auth > p.annabelle-paywall-auth__heading {
    font-size: 1.75rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.annabelle-paywall-auth label {
    display: block;
}
.annabelle-paywall-auth label{
    padding-bottom: 1rem;
}
.annabelle-paywall-auth label span {
    display: block;
    margin-bottom: 6px;
}
.annabelle-paywall-auth label input {
    font-size: 16px;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 0;
    border: solid 1px #414751;
    width: 100%;
    box-sizing: border-box;
}
.annabelle-paywall-auth__message {
    display: block;
    margin-top: 1rem;
}
.annabelle-paywall-auth__submit {
    background-color: #000000;
    color: #fff;
    width: 100%;
    padding: 0.75rem 1rem;
    opacity: 1;
    transition: 0.4s;
}
.annabelle-paywall-auth--is-loading .annabelle-paywall-auth__submit {
    opacity: 0.4;
    pointer-events: none;
}
.annabelle-paywall-auth__actions {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}
.annabelle-paywall-auth__actions a {
    text-decoration: underline;
    margin-bottom: 8px;
}


/* -- PAYWALL -- */
.annabelle-paywall {
    position: relative;
    top: -20rem;
    z-index: 100;
    padding: 0 2rem 4rem 2rem;
    margin-bottom: -20rem;
    background: #ffffff;
    background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.79) 5%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.79) 5%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.79) 5%, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FFFFFF", GradientType=0);
}
.annabelle-paywall__inner {
    max-width: 42rem;
    margin: 0 auto;
}
.annabelle-paywall__heading {
    font-size: 1.25rem;
    font-family: 'QuadrantText', serif;
    text-align: center;
    line-height: 1.2;
    letter-spacing: .01em;
    margin-bottom: 1rem;
}
.annabelle-paywall img {
    display: block;
    width: 60%;
    margin: 3em auto;
}
.annabelle-paywall__subscription-btn-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 17rem;
    margin: 2rem auto;
}
.annabelle-paywall__subscription-btn-wrapper > * {
    margin-bottom: 0.75rem;
}
.annabelle-paywall__subscription-btn-wrapper > *:last-child {
    margin-bottom: 0;
}
.annabelle-paywall__subscription-btn {
    font-size: 1.0625rem;
    letter-spacing: .06em;
    line-height: 1.15;
    border-width: 1.75px;
    padding: .75rem 1.5rem .5rem;
    cursor: pointer;
    transition: all .33333s cubic-bezier(.65, -.25, .25, 1.95);
    border-color: #414751;
    text-align: center;
}
.annabelle-paywall__login {
    font-size: 1.0625rem;
    text-align: center;
}
.annabelle-paywall__login a {
    text-decoration: underline;
    text-underline-offset: 7px;
}
@media screen and (min-width: 767px) {
    .annabelle-paywall {
        padding-top: 12rem;
    }
    .annabelle-paywall__heading {
        font-size: 1.75rem;
    }
}
@media screen and (max-width: 767px) {
    .annabelle-paywall {
        padding-top: 8rem;
    }
}


/* -- TEASER -- */
.teaser-horizontal--has-paywall .teaser-horizontal__tag,
.teaser-vertical--has-paywall .teaser-vertical__tag {
    display: flex;
}
.teaser-horizontal--has-paywall .teaser-horizontal__tag::before,
.teaser-vertical--has-paywall .teaser-vertical__tag::before {
    position: relative;
    top: -0.125em;
    content: '';
    display: inline-block;
    height: 2em;
    width: 2em;
    margin-right: 1em;
    background-image: url(../icons/premium.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
    .teaser-horizontal--has-paywall .teaser-horizontal__tag::before {
        height: 2.5em;
        width: 2.5em;
    }
    .teaser-horizontal--has-paywall .teaser-horizontal__tag .teaser-horizontal__link {
        padding-top: 0.875em !important;
    }
}


/* -- POST DETAIL -- */
.annabelle-paywall-is-active #mainContent > article > section:first-of-type {
    height: 400px;
    overflow: hidden;
}
.annabelle-paywall-is-active #mainContent > article footer.post-meta {
    display: none;
}

/* -- HEADER -- */
header .ana-paywall-actions {
    display: flex;
    justify-content: flex-end;
    width: 0;
    position: relative;
    left: -1rem;
}
header .ana-paywall-action {
    font-size: 0.875rem;
    margin-left: 0.75rem;
}
body.is-menu-open header .ana-paywall-action {
    color: #FFFFFF;
}
header .ana-paywall-action:first-child {
    margin-left: 0;
}
.ana-paywall-action--is-logout {
    display: none;
}
.ana-paywall-action--is-subscriptions {
    display: none;
}
@media screen and (max-width: 1100px) {
    header .ana-paywall-action--is-subscriptions {
        display: none;
    }
}
@media screen and (min-width: 767px) {
    .header__wrapper > .ana-paywall-actions {
        display: none;
    }
    .ana-paywall-actions--is-logged-in .ana-paywall-action--is-logout {
        display: block;
    }
    .ana-paywall-actions--is-logged-in .ana-paywall-action--is-subscriptions,
    .ana-paywall-actions--is-logged-in .ana-paywall-action--is-login {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .header__navigation > .ana-paywall-actions {
        display: none;
    }
    header .ana-paywall-actions {
        left: -0.75rem;
    }
    header .ana-paywall-action--is-login {
        font-size: 0;
    }
    header .ana-paywall-action--is-login::before {
        content: '';
        display: block;
        height: 1.5rem;
        width: 1.5rem;
        background-image: url(../icons/user.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}


@media only screen and (min-width: 768px) {
    body:has(.annabelle-paywall) [is=flynt-header] {
        margin-bottom: 0;
    }
}