
/*standard card styles */

.icon {
    height: 1.75rem;
    width: auto
}

.icon.h1-adjacent {
    height: 2.5rem;
}

.icon.h2-adjacent {
    height: 1.7rem;
}

.icon.h3-adjacent {
    height: 0.95rem;
}

.icon.p-adjacent {
    height: 0.85rem;
}

.icon.small-adjacent {
    height: 0.75rem;
}

@media screen and (max-width: 991px) {
    .icon {
        height: 1rem;
        width: auto
    }

    .icon.h1-adjacent {
        height: 1.4rem;
    }

    .icon.h2-adjacent {
        height: 1.35rem;
    }

    .icon.p-adjacent {
        height: 0.7rem;
    }
}

@media screen and (max-width: 991px) {
    .icon {
        height: 0.75rem;
        width: auto
    }
}

.standard-post{
    max-width:100%;
    grid-column: span 6;
    
}

h2.post-title a{
    font-family: var(--font-family-sans-serif);
    font-size: 2.75rem;
    color: var(--jfi-red);
    font-weight: normal;
    line-height: 100% !important;
    text-decoration:none;
}

/* sources card styles*/

.sources-post{
    max-width:100%;
    grid-column: span 4;
}

h3.post-title a{
    font-family: var(--font-family-sans-serif);
    font-size: 2.1875rem;
    color: var(--jfi-red);
    font-weight: normal;
    line-height: 100% !important;
    text-decoration:none;
  
}

/*featured post block*/

.featured-post-subtitle{
    font-family: var(--font-family-serif-italic);
    font-size: 1.875rem;
    color: var(--jfi-red);
    font-weight: normal;
    line-height:normal;

}


@media screen and (max-width: 991px) {
    .featured-post-subtitle {
            font-size: 1rem;
    }
}


.featured-image {
    padding-bottom: 35%;
    position: relative;
    margin-left:auto;
    margin-right:auto;
}

.featured-image > a{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}


.featured-image > a > img{
    object-fit: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    
    }

    .featured-image > img{
        object-fit: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    }

    .series-featured-image{
        margin:auto;
    }

    .series-featured-image > img{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height:60vh;
    
    }
    /*featured image caption*/

    .featured-image-caption *,
    .longform-featured-image-caption * {
        font-size:1rem !important;
        line-height:1.25rem !important;
    }


 h3.red-link-style a{
    font-family: var(--font-family-sans-serif);
    /* font-size: 2.1875rem; */
    display: block;
   margin-bottom:0;
   text-decoration:none !important;
 }


 h3.red-link-style.underline a{
    font-family: var(--font-family-sans-serif);
    /* font-size: 2.1875rem; */
    display: block;
   margin-bottom:0;
   border-bottom: 1px solid;
   line-height: inherit;
   
 }

 h3.red-link-style.underline a:hover{
    border-bottom: 1px solid transparent;
    line-height: inherit;
}

/*longform shortform block hide scrollbars*/

.longform-scroll::-webkit-scrollbar,
.shortform-scroll::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
  }

  .longform-scroll, .shortform-scroll{
    -ms-overflow-style: none;
    /* for Internet Explorer, Edge */
    scrollbar-width: none;
    /* for Firefox */
  }

/*column with fade over posts*/

.column-fade{
    overflow-y: scroll;
    padding-bottom: 175px;
   

}

.column-fade-container{
    position: relative;
}


.column-fade-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    box-shadow: inset 0 -250px 75px -75px var(--white);
    pointer-events: none;
 
}

.fader-padding{
    padding-bottom:75px;
}



/*template part for bottom of page gradient*/

.column-fade-footer{
    position: sticky;
    margin: 0 -2rem -2rem;
    bottom: 0;
    height: 8vh;
    background: var(--white);
    pointer-events: none;
    -webkit-box-shadow: 0px -50px 34px 15px rgb(255 255 255 / 75%);
    box-shadow: 0px -50px 34px 15px rgb(255 255 255 / 75%);
}

.fade-spacer{
    position: sticky;
    bottom: 0;
    height: 8vh;
    background: var(--white);
    background: linear-gradient(var(--white), var(--white));
    filter: blur(1.5rem);
    -webkit-box-shadow: 0px -50px 34px 15px rgba(255,255,255,0.75); 
    box-shadow: 0px -50px 34px 15px rgba(255,255,255,0.75);
}



.svg-inline{
    margin-bottom: 0;
    display: flex;
}



/*newsletter signup block*/

#newsletter-signup {
    scroll-margin-top: 75px;
}

.newsletter-signup{
    border: 1px solid var(--jfi-blue);
}

.newsletter-signup h3.form-text *{
    font-family: var(--font-family-sans-serif);
    font-size: 2.1875rem;
    color: var(--jfi-red);
    text-align:center;

}

.newsletter-signup input[type="email"],
.newsletter-signup input[type="text"] {
    border-width: 0 0 1px 0;
    border-color: var(--jfi-blue);
}

.newsletter-signup input[type="checkbox"] {
    margin: 0;
}

.newsletter-signup .checkmark {
    display: inline-block;
    top: 0;
    left: 0;
    height: 0.75rem;
    width: 0.75rem;
    border: 1px solid var(--jfi-red);
    transform: rotate(45deg);
    box-shadow: inset 0px 0px 0px 1px var(--white);
    transition: all 0.2s ease;
}

.newsletter-signup li:hover input ~ label .checkmark {
    background-color: var(--jfi-red);
}

.newsletter-signup li input:checked ~ label .checkmark {
    background-color: var(--jfi-red);
}

.newsletter-signup input[type="submit"] {
    font-family: inherit;
    background-color: transparent;
    padding: 0;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: var(--jfi-blue);
    cursor: pointer;
}


.border-bottom-dotted{
    background-image: url(../assets/icons/dot-blue.svg);
    background-size: 5px;
    background-repeat: repeat-x;
    margin: auto 0.5rem 0 0.5rem;
    flex: 1;
    height: 0.75rem;
    min-width: 2rem;
}

/* series/ sources header */

.page-description-header{
    min-height:22vh;
}

.sources-header{
    background-image: url(../assets/icons/sources-blue-header.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 20vh;

}

.series-header{
    background-image: url(../assets/icons/series-blue-header.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 20vh;

}

.page-description-header p{
    color: var(--jfi-blue) !important;
}


/*further readong card */
h3.further-reading-title *{
    font-size:2rem;
    text-decoration:none;
   
}

h3.further-reading-title{
    line-height: 1rem !important;
} 


/* category filters */

@supports(-webkit-appearance: none) or (-moz-appearance: none) {
    input[type='checkbox'],
    input[type='radio'] {
      -webkit-appearance: none;
      -moz-appearance: none;
    }
  }

#category-filter.filters-visible{
    display: flex;
}

#category-filter{
    display:none;
}

#category-filter input {
    display: inline-block;
    vertical-align: bottom;
    margin: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1px  var(--jfi-blue) solid;
   margin-right:0.3rem;
  }


  #category-filter input:checked {
    background: radial-gradient(var(--jfi-blue) 0%, var(--jfi-blue) 55%, transparent 60%, transparent);
    border: 1px var(--jfi-blue) solid;
  }


  #category-filter input:checked:hover {
    background:transparent;

    
  }

 #category-filter input:hover {
    background: radial-gradient(var(--jfi-blue) 0%, var(--jfi-blue) 55%, transparent 60%, transparent);

 
    
  }




#category-filter label{
    padding-left: 0.25rem;
  }
  

#category-filter label,
.category-filter p{
    font-family: var(--font-family-sans-serif);
    font-size: 1.5rem;
    color: var(--jfi-blue);
    font-weight: normal;
    line-height: normal;
}

#category-filter label:hover {
    cursor: pointer;
  }