html {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.5;
}

html:lang(he) {
    font-family: 'Alef', serif;
}

body {
    background-color: var(--grey);
    color: black;
}

body a {
    color: black;
    text-decoration: underline;
}

body.home {
    background-color: black;
    color: white;
}

body.gallery,
body.page {
    background-color: #222;
    color: white;
}

body.home a,
body.gallery a,
body.page a {
    color: white;
}

.homepage-hero {
    background-position: center;
    background-size: cover;
    display: table;
    height: auto;
    padding: 2rem;
    position: relative;
    width: 100%;
}

.homepage-hero a {
    display: block;
    text-decoration: none;
}

.homepage-hero.color-light a {
    color: black;
}

.homepage-content {
    float: right;
    padding-bottom: 2rem;
    position: relative;
    text-align: right;
    top: 3rem;
    max-width: 500px;
}

.homepage-hero .category,
.homepage-hero .gallery-heading {
    font-family: var(--mono);
    font: 300 1rem var(--mono);
    letter-spacing: 1px;
}

.homepage-hero h2.title {
    font: bold 2rem var(--serif);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.homepage-hero .author {
    font: normal 2rem var(--serif);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.homepage-hero .featured-gallery {
    margin-top: 1rem;
}

.homepage-hero h2.gallery-title,
.homepage-hero .additional-content h2 {
    font: bold 2rem var(--mono);
}

.header.homepage {
    background-color: black;
    color: white;
    display: grid;
    grid-template-areas:
        "tagline toggle"
        "logo logo";
    grid-template-columns: 1fr 2rem;
    height: 7.5rem;
    margin: 0;
    overflow: visible;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.homepage-logo {
    display: block;
    grid-area: logo;
    margin-top: 1rem;
    max-width: 150px;
    position: relative;
}

.tagline {
    font: 300 1rem var(--mono);
    grid-area: tagline;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-toggle {
    cursor: pointer;
    display: block;
    grid-area: toggle;
    margin-top: 0.25rem;
    position: relative;
    width: 2rem;
}

.nav-toggle span {
    background: white;
    display: block;
    height: 1px;
    position: absolute;
    transition: top 500ms linear 1s, transform 500ms linear 0s, opacity 500ms linear 1s;
    width: 100%;
}

.nav-active .nav-toggle span {
    transition: top 500ms linear 0s, transform 500ms linear 1s;
}

.nav-toggle span.two {
    top: 0.5rem;
}

.nav-toggle span.three {
    top: 1rem;
}

.nav-active .nav-toggle span.one,
.nav-active .nav-toggle span.two,
.nav-active .nav-toggle span.three {
    top: 0;
}

.nav-active .nav-toggle span.one {
    transform: rotate(45deg);
}

.nav-active .nav-toggle span.two {
    opacity: 0;
}

.nav-active .nav-toggle span.three {
    transform: rotate(-45deg);
}

.main-menu {
    background: white;
    box-shadow: 5px 0 0 rgba(0,0,0,0.25);
    display: block;
    font: normal 1rem var(--mono);
    height: 100vh;
    left: calc( -100vw + 6rem - 5px );
    padding: 2rem;
    position: fixed;
    top: 0;
    transition: all 1s linear 0s;
    width: calc( 100vw - 6rem );
    z-index: 10;
}

.nav-active .main-menu {
    left: 0;
    overflow: auto;
}

.main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    color: black;
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.page-width,
.post-width {
    margin-left: auto;
    margin-right: auto;
    width: calc( 100% - 2rem );
}

.header {
    display: grid;
    grid-template-areas:
        "logo toggle";
    grid-template-columns: 100px 1fr;
    margin: 2rem auto;
}

body:not(.home) .nav-toggle {
    justify-self: right;
}

body:not(.home) .nav-toggle span {
    background: black;
}

body.gallery .nav-toggle span,
body.page .nav-toggle span {
    background: white;
}

.post-title {
    padding: 2rem;
    position: relative;
    z-index: 0;
}

.post-title h1:before {
    border: 10px solid black;
    border-bottom: 0;
    border-right: 0;
    display: block;
    content: ' ';
    height: 3.05rem;
    left: -2rem;
    position: absolute;
    top: -2rem;
    width: 20%;
}

.gallery .post-title h1:before {
    border-color: white;
    top: -4rem;
}

.post-title h1 {
    font: bold 2rem/1 var(--serif);
    position: relative;
    text-transform: uppercase;
    z-index: 0;
}

.post-title h2 {
    font: normal 2rem/1 var(--serif);
    text-transform: uppercase;
    z-index: 0;
}

.post-content p:first-of-type .first-word {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.post-content p {
    margin-bottom: 1rem;
}

.asw .wp-block-quote,
.asw .wp-block-pullquote,
.post-content h2 {
    border-left: 0;
    margin: 1rem 0;
    padding: 1rem 0 0 0;
    position: relative;
    font: bold 1.5rem/1.5 var(--mono);
}

.asw .wp-block-quote p:first-of-type .first-word,
.asw .wp-block-pullquote p:first-of-type .first-word {
    font-size: 1.5rem;
    letter-spacing: normal;
    text-transform: none;
}

.asw .wp-block-quote:before,
.asw .wp-block-pullquote:before,
.post-content h2:before {
    border-top: 10px solid black;
    content: ' ';
    position: absolute;
    top: 0;
    width: 25%;
}

.asw .wp-block-pullquote p {
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}

.asw .wp-block-pullquote {
    border: 0;
}

.asw .wp-block-pullquote:before {
    left: 0;
}

.asw .wp-block-separator {
    background: url('../images/rose-icon-black.svg') center center no-repeat;
    border: 0;
    display: block;
    height: 40px;
    margin: 1rem auto;
    opacity: 1;
    width: 40px;
}

.asw.gallery .wp-block-separator,
.asw.page .wp-block-separator {
    background: url('../images/rose-icon-white.svg') center center no-repeat;
}

.archive.homepage {
    background: var(--grey);
    color: black;
    padding-bottom: 1rem;
}

.archive.homepage a {
    color: black;
    text-decoration: none;
}

.archive .grid {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 0;
}

.grid .category {
    font: 300 0.8rem var(--mono);
}

.grid h2.title {
    font-size: 1rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.archive.homepage a:hover h2.title {
    text-decoration: underline;
}

.grid .author {
    font-size: 1rem;
    text-transform: uppercase;
}

.copyright {
    font: 300 1rem var(--mono);
    padding: 2rem 0;
    text-align: center;
}

.copyright p {
    margin-bottom: 1rem;
}

article.post-content {
    padding-bottom: 4rem;
    position: relative;
    z-index: 0;
}

article.post-content:after {
    border: 10px solid black;
    border-left: 0;
    border-top: 0;
    bottom: 0;
    content: ' ';
    display: block;
    height: 70px;
    position: absolute;
    right: 0;
    width: 20%;
}

.gallery article.post-content:after {
    border-color: white;
}

.gallery .post-title {
    padding-top: 2rem;
}

.gallery-label {
    font: 300 1.25rem var(--mono);
    letter-spacing: 1px;
}

.gallery article.post-content:after {
    max-width: 100px;
}

.gallery .post-content p {
    font-family: var(--mono);
    font-weight: 300;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

.asw.gallery .blocks-gallery-caption,
.asw.gallery .wp-block-embed figcaption,
.asw.gallery .wp-block-image figcaption {
    text-align: left;
    color: #999;
    font-family: var(--mono);
    font-weight: 300;
}

.asw.gallery .wp-block-image img {
    width: 100%;
}

.featured-article {
    margin-bottom: 2rem;
}

.about-page {
    margin: 0 auto;
    max-width: 800px;
    width: calc( 100% - 2rem );
}

.about-page h1 {
    font: bold 1rem var(--mono);
    margin-bottom: 2rem;
}

.about-page p {
    margin-bottom: 1rem;
}

.mono {
    font-family: var(--mono);
}

.archive.gallery a {
    text-decoration: none;
}

.archive.gallery h1:before {
    content: none;
}

.archive.gallery .post-title {
    font-family: var(--mono);
    padding: 2rem 0;
}

.archive.gallery h1 {
    margin: 0;
}

.archive.gallery h2 {
    font: bold 1rem var(--mono);
    margin: 1rem 0;
}

.page-content {
    margin: 0 auto;
    max-width: 800px;
    width: calc( 100% - 2rem );
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content h1, .page-content h2 {
    font: bold 1rem var(--mono);
    margin-bottom: 1rem;
}

.additional-content {
    font-family: var(--mono);
    margin-top: 1rem;
}

.issue-title {
    font-family: var(--mono);
    padding: 2rem 0;
    text-transform: uppercase;
}

.post-content ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.issue-intro {
    margin-bottom: 1rem;
}

.newsletter-toggle {
    color: black;
    cursor: pointer;
}

.newsletter-screen {
    align-items: center;
    background: rgba(255,255,255,0.95);
    display: flex;
    left: 0;
    height: 100vh;
    justifty-content: center;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 15;
}

.newsletter-active .newsletter-screen {
    max-height: 100vh;
}

.newsletter-close {
    align-items: center;
    background-color: white;
    cursor: pointer;
    display: flex;
    position: absolute;
    height: 3rem;
    left: 50%;
    top: 20%;
    transform: translate(-50%);
    width: 3rem;
}

.newsletter-close span {
    display: block;
    height: 1px;
    width: 100%;
}

.newsletter-close span:before,
.newsletter-close span:after {
    background-color: black;
    display: block;
    height: 1px;
    content: ' ';
    width: 100%;
}

.newsletter-close span:before {
    transform: rotate(-45deg);
}

.newsletter-close span:after {
    margin-top: -1px;
    transform: rotate(45deg);
}

.newsletter-close:hover {
    background-color: black;
}

.newsletter-close:hover span:before,
.newsletter-close:hover span:after {
    background-color: white;
}

.newsletter-container {
    font: normal 1rem var(--mono);
    margin: 0 auto;
    max-width: 600px;
    width: calc( 100% - 4rem );
}

.newsletter-container input {
    border: 0;
    display: flex;
    font: normal 1rem var(--mono);
    height: 40px;
    width: 100%;
}

.newsletter-container input[type=email] {
    border-bottom: 1px solid black;
    margin-bottom: 1rem;
    text-indent: 1rem;
}

.newsletter-container input[type=submit] {
    background-color: black;
    color: white;
    cursor: pointer;
    justify-content: center;
}

.newsletter-container input[type=submit]:hover {
    background-color: #333;
}

.newsletter-blurb {
    color: black;
    margin-bottom: 1rem;
}

.social-icon,
.social-icon i {
    display: block;
}

.social-icon i:before {
    font: 600 1rem 'Font Awesome 5 Brands';
}

.social-icon.twitter i:before {
    content: '\f099';
}

.social-icon.facebook i:before {
    content: '\f082';
}

.social-icon.instagram i:before {
    content: '\f16d';
}

.footer-social {
    padding-top: 2rem;
}

.footer-social a {
    text-decoration: none;
}

.footer-social a span {
    display: none;
}

.footer-social .social-icons {
    align-items: center;
    display: flex;
    grid-gap: 1rem;
    justify-content: center;
}

.issue-hero .poster {
    background-position: center;
    background-size: cover;
    padding-top: 350px;
}

.issue-hero {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.issue-archive {
    padding-top: 200px;
}

.issue-archive article {
    margin-bottom: 1rem;
}

.issue-archive a {
    text-decoration: none;
}

.issue-archive h2 {
    margin-bottom: 0;
}

.issue-hero .issue-title {
    bottom: 0;
    left: 50%;
    max-width: 1080px;
    position: absolute;
    transform: translateX(-50%);
    width: calc( 100% - 2rem );
    z-index: 2;
}

.asw .wp-block-quote {
    font: normal 1rem var(--mono);
}

.asw .wp-block-quote:before {
    content: none;
}

.asw .wp-block-quote p:first-of-type .first-word {
    font-size: 1rem;
    font-weight: normal;
}

.paid-ad {
    display: table;
    margin: 2rem auto;
}

.paid-ad img {
    display: block;
    margin: 0 auto;
}

.paid-ad .heading {
    font: normal 0.85rem var(--mono);
    margin: 0 auto 1rem auto;
    text-align: center;
}

footer a.newsletter-button {
    display: table;
    background-color: white;
    border: 1px solid white;
    color: black;
    margin: 1rem auto 0 auto;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font: normal 1rem var(--mono);
}

footer a.newsletter-button:hover {
    background-color: black;
    color: white;
}

.archive.contributor .grid {
    grid-template-columns: 1fr;
}

span.timestamp {
    display: inline-block;
    font-family: var(--mono);
    margin-right: 1rem;
}

.archive.contributor .excerpt {
    font-size: 0.85rem;
    margin: 1rem 0;
}

.contributors-index {
    margin: 2rem auto;
}

.contributors-index ul {
    list-style-type: none;
}

.contributors-index ul li {
    display: block;
    margin-bottom: 1rem;
}

.contributors-index ul li a {
    text-decoration: none;
}

.carousel-wrap {
    margin: 2rem 0 2rem 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.media-carousel {
    margin: 0 auto;
    max-width: 1080px;
    position: relative;
    width: calc( 100% - 8rem );
}

.media-carousel .slicknav {
    cursor: pointer;
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 250ms linear 0s;
}

.media-carousel .slicknav.slick-disabled {
    cursor: not-allowed;
    opacity: 0.25;
}

.media-carousel .slick-prev {
    left: -1rem;
}

.media-carousel .slick-prev:hover {
    left: -1.25rem;
}

.media-carousel .slick-next {
    right: -1rem;
}

.media-carousel .slick-next:hover {
    right: -1.25rem;
}

ul.slick-dots {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    margin: 1rem auto;
    padding: 0;
}

.slick-dots button {
    background: transparent;
    cursor: pointer;
    font-family: var(--mono);
    border: 0;
    margin: 5px;
}

.gallery .slick-dots button {
    color: white;
}

.slick-dots .slick-active button {
    opacity: 0.5;
}

.account-header {
    background-color: white;
    color: var(--slate);
    font: normal 0.85rem var(--mono);
    padding: 0.5rem 0;
}

.home .account-header .container {
    max-width: calc( 100% - 4rem );
}

.account-header a,
body.home .account-header a,
body.page .account-header a,
body.gallery .account-header  a{
    color: black;
    text-decoration: underline;
}

.page-content input:not([type=submit]) {
    background: transparent;
    border: 0;
    border-bottom: 1px solid white;
    color: white;
    display: block;
    font: normal 1rem var(--mono);
    max-width: 100% !important;
    padding: 0.5rem 0;
    width: 100%;
}

.page-content input:not([type=submit]):focus {
    border: 1px dashed white;
    outline: none;
}

#loginform .login-remember label input {
    display: inline-block;
    width: auto;
}

.page-content input[type=submit] {
    appearance: none;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    display: table;
    float: right;
    font: normal 1rem var(--mono);
    padding: 0.5rem 1rem;
    text-transform: uppercase;
}


#loginform {
    display: table;
    width: 100%;
    margin-bottom: 2rem;
}

.pmpro_login_wrap {
    display: table;
    width: 100%;
}

.pmpro_actions_nav {
    margin-top: 1rem;
}


#pmpro_levels_table {
    width: 100%;
    text-align: left;
}

.asw .pmpro_btn,
.asw .pmpro_btn:link,
.asw .pmpro_content_message a,
.asw .pmpro_content_message a:link {
    border-radius: 0;
    background-color: white;
    color: black;
    font: normal 1rem var(--mono);
    text-transform: uppercase;
}

.page-content .pmpro_checkout-field input:not([type="submit"]) {
  display: inline-block;
  width: 90%;
}

.page-content .pmpro_checkout-field input#CVV {
  width: 50%;
}
.pmpro_form hr {
  border: 1px solid black;
  margin: 2rem 0;
  display: block;
}

.pmpro_table {
    margin: 1rem 0;
    text-align: left;
}

.page-content a {
    text-decoration: underline;
}

.page-content ul {
    margin: 1rem;
}

.page-content h3 {
    font: normal 1.25rem var(--mono);
}

.page-content input[type=button] {
    background-color: black;
    border: 0;
    display: table;
    padding: 0.5rem 1rem;
    width: auto;
}

.page-content input[type=button]:hover {
    background-color: black;
    color: white;
    opacity: 0.85;
}

.pmpro_table tr {
    display: table;
    margin-bottom: 1rem;
    width: 100%;
}

#pmpro_btn-submit-paypalexpress {
    border: 0;
    margin: 0 auto;
    width: auto;
}

a.subscribe {
    font-weight: bold;
}

.printomatic {
    margin: 1rem 0;
}

.contributors-index h2 {
    font: normal 1.25rem var(--mono);
}

.contributors-index a:hover h2 {
    text-decoration: underline;
}

.contributors-index .author-description {
    opacity: 0.9;
}

.video-lightbox-container {
    display: none;
}

.lightbox-video {
    min-width: 80vw;
    padding-top: 56%;
    position: relative;
}

.lightbox-video iframe {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.video-lightbox-trigger img {
    margin-bottom: 1rem;
    width: 100%;
}

a.video-lightbox-trigger .caption {
    border: 0;
    font-size: 0.85rem;
    color: #999;
    font-family: var(--mono);
    font-weight: 300;
    text-align: left;
    text-decoration: none;
}

a.button {
    display: table;
    color: white;
    background-color: black;
    padding: 1rem 2rem;
    font: normal 1.25rem var(--mono);
    text-decoration: none;
}

a.button:hover {
    background-color: white;
    color: black;
}

.external-link {
    margin: 1rem 0;
}

.podcast-card a {
    text-decoration: none;
}

.podcast-card a:hover .title {
    text-decoration: underline;
}

.podcast-card .timestamp {
    font: normal 0.85rem var(--mono);
    margin: 0.5rem 0;
}

.newsletter-container input {
    border: 1px solid black;
    margin-bottom: 3px;
    padding: 1rem;
}

.newsletter-container input[type=button] {
    background-color: black;
    color: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.post-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.post-date {
    font-family: var(--mono);
}

body.background-dark {
    background-color: var(--slate);
}

body.background-dark .post-title,
body.background-dark .post-content,
body.background-dark .copyright {
    color: var(--grey);
}

body.background-dark .post-title a,
body.background-dark .post-content a, 
body.background-dark .copyright a {
    color: white;
}

body.background-dark .header-logo,
body.background-dark .printomatic,
body.background-dark article.post-content:after,
body.background-dark .post-title h1:before {
    filter: invert(1);
}

body.background-dark .nav-toggle span {
    background: white;
}

@media screen and (max-height: 700px) {
    .homepage-hero {
        height: auto;
    }
}

@media screen and ( max-width: 768px ) {
    /* tablet.css won't inherit these styles  */

    ul.sub-menu {
        border-left: 2px solid black;
        margin-bottom: 1rem;
        padding-left: 1rem;
    }
    
    .main-menu li .sub-menu li a {
        margin: 0.5rem 0;
    }

    .paid-ad .desktop-only {
        display: none;
    }

    .account-links {
        margin-top: 1rem;
    }
}



/*LIGHTBOX STYLE*/
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  .lightbox .lightbox-video {
    display: block;
    width: 100%;
    padding-bottom: 56%;
    position: relative;
  }
  .lightbox iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
  }
  .lightbox img {
    display: block;
    margin: 0 auto;
  }
  .lightbox .lightbox-close {
    position: absolute;
    display: block;
    top: 10px;
    right: 10px;
    color: #ffffff;
    font-size: 26px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
  }
  .lightbox .lightbox-close:hover {
    text-decoration: none;
  }
  .lightbox .lightbox-container {
    max-width: 1024px;
    margin: 100px auto 25px;
  }

  .hebrew {
    font-family: "Alef", serif !important;
  }