/*Hide placeholder section on home page. Placeholder is needed to show home page instead of default user profile page after login.*/
div.region.region--content-above.grid-full.layout--pass--content-medium.ie11-autorow {
	display: none;
}

div.region.region--content-above.grid-full.layout--pass--content-medium {
	display: none;
}

article.contextual-region.node.node--type-page.node--view-mode-full {
    display: none;
}

article.node.node--type-page.node--view-mode-full {
    display: none;
}

/*Hide View, Edit, Delete, Revisions tabs on home page. These lead to the placeholder page.*/
div#block-olivero-primary-local-tasks.contextual-region.block.block-core.block-local-tasks-block {
		display: none;
}

/*Decrease space between sections in main content area*/
/*Don't alter margin for .region > * because that moves Login link in top navigation*/
@media (min-width: 62.5rem) {
	div#block-reminder {
		margin-bottom: 2rem;
	}
	div#block-welcometothenabokovian-2 {
		margin-bottom: 1rem;
	}
	div#block-currentsocietynewshighlights  {
		margin-bottom: 1rem;
	}
}

@media (min-width: 43.75rem) {
	div#block-reminder {
		margin-bottom: 2rem;
	}
	div#block-welcometothenabokovian-2 {
		margin-bottom: 1rem;
	}
	div#block-currentsocietynewshighlights  {
		margin-bottom: 1rem;
	}
}

/*Improve alignment of optional image in home page block*/
div.wide-image.field.field--name-field-image.field--type-image.field--label-hidden.field__item {
	margin: 0;
	margin-bottom: 1rem;
}

/*Decrease spaces at the bottom of news feed in side bar*/
@media (min-width: 62.5rem) {
	div#block-views-block-front-page-news-block-1-2 {
		margin-bottom: 0;
	}
	div.view-content {
		margin-bottom: 0;
	}
}

@media (min-width: 62.5rem) {
	div#block-views-block-front-page-news-block-1 {
		margin-bottom: 0;
	}
	div.view-content {
		margin-bottom: 0;
	}
}


@media (min-width: 43.75rem) {
	div#block-views-block-front-page-news-block-1-2 {
		margin-bottom: 0;
	}
	div.view-content {
		margin-bottom: 0;
	}
}

@media (min-width: 43.75rem) {
	div#block-views-block-front-page-news-block-1 {
		margin-bottom: 0;
	}
	div.view-content {
		margin-bottom: 0;
	}
}

/*Add space at the bottom of news feed in side bar to avoid left border encroachment onto the next section*/
@media (min-width: 62.5rem) {
	aside.region.region--sidebar {
		margin-bottom: 3rem;
	}
}

@media (min-width: 43.75rem) {
	aside.region.region--sidebar {
		margin-bottom: 3rem;
	}
}

/*Dont't touch padding-bottom of node__content because it affects other sections*/

/*Hide author for news teasers*/
.node--view-mode-teaser .node__meta {
	display: none;
}

/*Hide teaser text for news feed in side bar, keep title only*/
article.node.node--type-article.node--promoted.node--view-mode-teaser div.node__content div.text-content.clearfix.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item {
	display: none;
}
div.teaser__content {
	display: none;	
}

/*Remove bottom margin after teaser title*/
article.node.node--type-article.node--promoted.node--view-mode-teaser.node__title {
    margin-bottom: 0.5rem;
}

/*Smaller margin and padding for news teasers*/
@media (min-width: 62.5rem) {
article.node.node--type-article.node--promoted.node--view-mode-teaser {
    margin-bottom: 1.125rem;
		}
article.node.node--type-article.node--promoted.node--view-mode-teaser:after {
		border-top: solid 2px #0000001a;
		}
article.node.node--type-article.node--promoted.node--view-mode-teaser div.node__content {
    padding-bottom: 1.125rem;
		}
article.contextual-region.node.node--type-article.node--promoted.node--view-mode-teaser {
	padding-bottom: 1.125rem;
	}
article.node.node--type-article.node--promoted.node--view-mode-teaser.teaser {
	padding-bottom: 1.125rem;
	}
}

div.contextual-region.view.view-front-page-news.view-id-front_page_news.view-display-id-block_1 {
	row-gap: 1rem;
}

div.contextual-region.view.view-front-page-news.view-id-front_page_news.view-display-id-block_1 div.view-content {
	row-gap: 0px;
}

div.view.view-front-page-news.view-id-front_page_news.view-display-id-block_1 {
	row-gap: 1rem;
}

div.view.view-front-page-news.view-id-front_page_news.view-display-id-block_1 div.view-content {
	row-gap: 0px;
}

/*Decrease font size for home page news teasers*/
.node--view-mode-teaser .node__title {
	font-size: 1.125rem;
	line-height: 1.3rem;
}


/*Smaller margin and padding for publication teasers*/
@media (min-width: 62.5rem) {
article.contextual-region.node.node--type-publication.node--promoted.node--view-mode-teaser.teaser {
    padding-bottom: 1.125rem;
		}
article.contextual-region.node.node--type-publication.node--promoted.node--view-mode-teaser.teaser {
    margin-bottom: 1.125rem;
		}
		
article.node.node--type-publication.node--promoted.node--view-mode-teaser.teaser {
    padding-bottom: 1.125rem;
		}
		
article.node.node--type-publication.node--promoted.node--view-mode-teaser.teaser {
    margin-bottom: 1.125rem;
		}
}

div.contextual-region.view.view-all-publications.view-id-all_publications.view-display-id-block_1 {
	row-gap: 1rem;
}

div.contextual-region.view.view-all-publications.view-id-all_publications.view-display-id-block_1 div.view-content {
	row-gap: 0px;
}

div.view.view-all-publications.view-id-all_publications.view-display-id-block_1 {
	row-gap: 1rem;
}

div.view.view-all-publications.view-id-all_publications.view-display-id-block_1 div.view-content {
	row-gap: 0px;
}

/*Consistent spacing for teasers at smaller widths*/
article.node.node--type-article.node--promoted.node--view-mode-teaser.teaser {
	padding-block-end: 0.5rem;
	margin-bottom: 1rem;
}

article.contextual-region.node.node--type-publication.node--promoted.node--view-mode-teaser.teaser {
	padding-block-end: 0.5rem;
	margin-bottom: 1rem;
}

article.node.node--type-publication.node--promoted.node--view-mode-teaser.teaser {
	padding-block-end: 0.5rem;
	margin-bottom: 1rem;
}

/*Bring news images inside left side bar*/
.teaser__top {
    flex-wrap: wrap;
}

.teaser__image img {
    border-radius: unset;
}

@media (min-width: 62.5rem) {
    .teaser__image {
        position: unset;
        width: 100%;
    }
    
     .teaser__image img {
        width: 100%;
        height: unset;
    }
}

/*Make all links on homepage look the same*/
main.site-main a {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
}

div#block-reminder a {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
}

div#block-latestdiscovery a {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
}

div#block-classicsfromthenabokovian a {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
}

div#block-upcomingconferencescallsforpapers a {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
}