/* begin:body */

body {
    background-attachment: fixed, fixed;
    background-position: 0 0, 0 0;
    background-origin: border-box, border-box;
    background-size: cover, cover;
    background-color: var(--joosh-navy);

    display: flex;
    justify-content: center;
    margin: 0 auto;

    overflow-x: hidden;
}

/* end:body */


/* begin:main-block */

.main-block {
    display: flex;
    flex-direction: column;

    position: relative;
    width: 90ch;

    background-color: var(--background);
    outline: var(--stroke);

}

/* end:main-block */



/* begin:main-block__thin */

.main-block__thin {
    display: flex;
    flex-direction: column;

    position: relative;
    width: 75ch;

    background-color: var(--background);
    outline: var(--stroke);
}

/* end:main-block__thin */



/* begin:header */

.header-block {
    padding: var(--spaceM);

    h1 {
        font-weight: 400;
    }
}

.joosh-logo, .joosh-journal-logo {
    height: 10ch;
    user-select: none;
    position: relative;
    z-index: 5;
}

.joosh-logo__mobile {
    user-select: none;
    position: relative;
    z-index: 5;

    width: 100%;
    display: none;
}

.header-block__alt {
    padding: var(--spaceM);
    background-color: var(--joosh-navy);
    color: var(--background);
}

.title-block__alt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    h1 {
        flex-grow: 1;
    }
}

/* end:header */



/* begin:nav */

.nav-block, .pagination-block {
    z-index: 2;
    position: relative;

    display: flex;
    justify-content: space-around;

    background-color: var(--background);

    a, p {
        font-weight: 400;
        font-stretch: 125%;
        text-decoration: none;
        text-align: center;

        flex-grow: 1;

        padding: var(--spaceXS);

        transition-duration: var(--hover-regular);
    }

    a:not(:last-child), p:not(:last-child) {
        border-right: var(--stroke)
    }

    a:hover, a:focus-visible {
        background-color: var(--joosh-navy);
        color: var(--background);
    }
}

.nav-block {
    border-top: var(--stroke);
    border-bottom: var(--stroke);
}

.pagination-block {
    outline: var(--stroke);
    
    box-shadow: var(--box-shadow);
}

#pagination__disabled {
    color: var(--joosh-red);
}

#pagination__disabled:hover {
    background-color: var(--joosh-red);
    color: var(--background);
    cursor: not-allowed;
} 

/* end:nav */



/* begin:admin-block */

.admin-block a,
.admin-block button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spaceXXS);
}

#admin-block__delete, #admin-block__delete__alt {
    color: var(--joosh-red);
    height: 100%;
}

#admin-block__delete:hover, #admin-block__delete:focus-visible {
    background-color: var(--joosh-red);
    color: var(--background);
    /* outline: 1px solid var(--joosh-red); */
}

#admin-block__delete__alt:hover {
    background-color: var(--joosh-red);
    color: var(--background);
    outline: 1px solid var(--joosh-red);
}

#admin-block__publish {
    color: var(--joosh-green)
}

#admin-block__publish:hover, 
#admin-block__publish:focus-visible {
    background-color: var(--joosh-green);
    color: var(--background);
    /* outline: 1px solid var(--joosh-green); */
}

/* end:admin-block */



/* begin:intro-box */

.intro-box-block {
    z-index: 2;
    position: relative;

    background-color: var(--joosh-navy);
    color: var(--background);
    padding: var(--spaceM);
}

/* end:intro-box */



/* begin:content-block */

.content-block {
    display: flex;
    flex-direction: row;
    gap: var(--spaceM);

    padding: var(--spaceM);
}

.content-block__full {
    display: flex;
    flex-direction: column;
    gap: var(--spaceM);

    padding: var(--spaceM);
}

.content-block__full + .content-block__full {
    padding-top: 0;
}

/* end:content-block */



/* begin:full-content__item */

.full-content__item {
    display: flex;
    flex-direction: column;
    gap: var(--spaceM);

    outline: var(--stroke);
    padding: var(--spaceM);
}

/* end:full-content__item */



/* begin:left-content */

.left-content {
    flex-grow: 1;
    flex: 1 0 60ch;

    min-width: 0;
    max-width: 100%;

    display: flex;
    flex-direction: column;
    gap: var(--spaceM)
}

.left-content__item {
    outline: var(--stroke);
    background-color: var(--background);

    box-shadow: var(--box-shadow);
}

/* end:left-content */



/* begin:right-content */

.right-content {
    z-index: 2;
    width: var(--right-col-width);

    min-width: 0;
    max-width: 100%;

    flex: 0 1 var(--right-col-width);

    display: flex;
    flex-direction: column;
    gap: var(--spaceM)
}

.right-content__item {
    outline: var(--stroke);
    background-color: var(--background);

    box-shadow: var(--box-shadow);

    video, .right-item__image {
        width: 100%;
        /* max-height: 33ch;  */
        object-fit: cover;
        display: block;
    }
}

.guestbook-block {
    height: 50ch;
}

/* end:right-content */



/* begin:comments-block */

.comments-block {
    outline: var(--stroke);
}

/* end:comments-block */



/* begin:footer-block */

.footer-block {
    z-index: 2;
    position: relative;

    display: flex;
    flex-direction: row;

    background-color: var(--joosh-navy);
    color: var(--background);

    padding: var(--spaceM);
}

.footer-text-block {
    flex-grow: 1;

    form {
        display: inline-block;
    }
}

.footer__text {
    margin-left: 0;
    text-indent: 0;
    padding: var(--spaceXXS);
}

.footer__button {
    background-color: inherit;
    color: inherit;
 
    line-height: inherit;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;

    padding: 0;
    border: none;
}

.footer-buttons {
    /* width: var(--right-col-width); */
    /* flex: 0 1 var(--right-col-width); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: var(--box-shadow);
}

.footer-buttons__item {
    background-color: var(--background);

    img {
        image-rendering: crisp-edges;
    }
}

.buttons-block__textarea {
    font-size: var(--fontXS);
    outline: var(--stroke);
    border: none;
    color: var(--joosh-navy);
}

/* end:footer-block */



/* begin:vertical-joosh */

.vertical-joosh-block {
    height: 100%;
    z-index: 0;
    writing-mode: vertical-lr;
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    
    /* background-image: url("/files/img/backgrounds/bgWhite.jpg");
    background-origin: border-box;
    background-size: cover;
    background-position: 0 0;
    background-attachment: fixed;
    background-clip: text; */
    background-clip: text;
}

.vertical-joosh__style {
    display: flex;
    gap: var(--fontXXL);

    z-index: 0;
    font-weight: 700;
    font-size: var(--fontJoosh);
    text-wrap: nowrap;
    user-select: none;

    mix-blend-mode: screen; 
    opacity: 25%;
    width: 8.5rem;
}

.left-joosh {
    margin-top: -11rem;
}

.right-joosh {
    top: 0;
}

/* end:vertical-joosh */
