<commit_before>/*
	Theme Name: Our World In Data
	Theme URI: https://ourworldindata.org;
	Description: A responsive custom theme for Our World In Data
	Author: <NAME>
	Author URI: https://ourworldindata.org

	Version: 1.2

	Tags: responsive layout

	License: MIT
	License URI: https://opensource.org/licenses/MIT
*/

@import '~normalize.css';

@import 'css/variables.scss';
@import 'css/mixins.scss';

@import 'css/category-coloring.scss';
@import 'css/util.scss';
@import 'css/layout.scss';
@import 'css/general.scss';
@import 'css/header.scss';
@import 'css/footer.scss';

@import 'css/content.scss';
@import 'css/forms.scss';
@import 'css/page.scss';

@import 'css/pages/homepage.scss';
@import 'css/pages/donate.scss';
@import 'css/pages/faq.scss';

/* HACK (Mispy): Fix search autozooming on iPhone Safari.
   http://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone */

@media screen and (-webkit-min-device-pixel-ratio:0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

#wpadminbar {
    direction: ltr;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    height: 32px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: $zindex-adminbar;
    font-size: 13px;
    font-weight: 400;
	line-height: 32px;
	opacity: 0.3;
}

#wpadminbar li {
	float: left;
	list-style-type: none;
}

#wpadminbar li > a {
    height: 32px;
    padding: 0 8px 0 7px;
    color: #3366cc;
}

/* Blog posts and blog index page (on /blog)
--------------------------------------------- */

header.blog-header h1 {
	text-align: center;
	font-family: $serif-font-stack;
	font-weight: 400;
	background: $primary-color;
	color: white;
	margin: auto;
	margin-bottom: 1rem;
	font-size: 1.8rem;
	line-height: 1;
	padding: 1.25rem 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

header.blog-header h1 > a {
	color: white;
}

body.blog main {
	padding-left: 1rem;
	padding-right: 1rem;
}

body.blog .site-content {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

body.blog h2 {
    font-family: $serif-font-stack;
    font-weight: 400;
    margin-bottom: 14px;
}

body.blog ul.posts {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 1em;
}

body.blog li.post {
	list-style-type: none;
	width: calc(33.3333% - 2em);
	margin-bottom: 2em;
}

body.blog li.post h3 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 19px;
	line-height: 24px;
	font-family: $serif-font-stack;
	font-weight: 400;
}

body.blog li.post .entry-meta {
	font-size: 14px;
}

body.blog li.post a {
	color: inherit;
}

body.blog li.post a:hover h3 {
	color: #d10a11;
}

body.blog li.post a:hover img {
	border: 1px solid #999;
}

body.blog li.post img {
	border: 1px solid #e0e0e0;
	width: 100%;
	height: 215px;
	object-fit: cover;
}

@media only screen and (min-width: 768px) {
	body.blog main {
		margin-top: 40px;
	}
}

@media only screen and (max-width: 767px) {
	body.blog li.post {
		width: 100%;
		padding-bottom: 30px;
		border-bottom: 1px solid #e0e0e0;
		margin-bottom: 30px;
	}
}


body.single-post main {
	background: #f6f6f6;
	border-bottom: 1px solid #ddd;
}

body.single-post .site-content {
	padding: 1rem;
	padding-top: 1rem;
}

body.single-post article {
	max-width: 900px;
	margin: auto;
}

body.single-post article {
	background: white;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
}

body.single-post h1.entry-title {
	margin: 0;
}

h1.entry-title > a {
	color: #222;
}

h1.entry-title > a:hover {
	color: #d10a11;
}

.pagination {
	text-align: center;
	padding-bottom: 30px;
}

.pagination .page-numbers {
    background-color: #000;
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: $sans-serif-font-stack;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 12px;
    text-transform: uppercase;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	color: #fff;
	background: #f04848;
}

@media only screen and (max-width: 800px) {
	body.blog article, body.single-post article {
		padding: 1rem;
	}

	body.blog .site-content, body.single-post .site-content {
		padding: 0.5rem;
	}

	#blog-sidebar {
		display: none;
	}
}

@media only screen and (min-width: 800px) {
	#blog-content {
		max-width: 1170px;
		margin: auto;
	}


	#blog-sidebar {
		background: white;
	}

	#blog-sidebar h3 {
		margin-bottom: 14px;
	}

	#blog-sidebar h3 > a {
		color: #c0023e;
	}

	#blog-sidebar h3 > a:hover {
		color: #5b011d;
	}
}

@media only screen {
	.screen-reader-text {
		display: none;
	}
}

/* The little section at the top of blog posts that links to related entries */
.blog-info {
    background-color: #E9EEF2;
    color: #406592;
	padding: 0.625rem;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	text-align: center;

	> p:last-child {
		margin-bottom: 0;
	}

    > p:first-child {
        margin-top: 0;
    }
}

/* Optional abstract for blog posts */
.blog-abstract {
	background-color: #f8f7fe;
	padding: 20px;
}

main {
	min-height: 500px;
}

#fancybox-frame {
	width: 100% !important;
}
#fancybox-wrap .chart-wrapper-inner {
	box-sizing: border-box !important;
}

.deep-link {
    position: relative;
    left: -4px;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: -5px;
    margin-left: -20px;
    font-size: 16px;
    text-indent: -9999px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLX<KEY>') no-repeat center;
    background-size: contain;
    opacity: 0;
    vertical-align: middle;
}


h2:hover .deep-link,
h3:hover .deep-link,
h4:hover .deep-link,
h5:hover .deep-link,
h6:hover .deep-link {
	opacity: 1.0;
}

#un-button.un-bottom.css3 {
	left: 0 !important;
	margin-left: 20px !important;
	font-size: 16px;
}


/* search */
.archive-pagination {
	margin: 40px auto;
    text-align: center;
}

.article-content a,
.article-footer a {
	@include owid-link;
}

/* Homepage
--------------------------------------------- */

#homepage-content {
	padding: 30px 0;
}

.social a {
	font-size: 24px;
	background-color: #c0023e;
	color: white;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	margin-right: 5px;

	svg {
		width: 24px;
		height: 24px;
	}
}

.social a:hover {
	color: white;
	background-color: #5b011d;
}

#homepage-content h3 {
	font-family: $serif-font-stack;
	font-weight: 400;
	margin-bottom: 14px;
}

#homepage-content h3 > a {
	color: #c0023e;
}

#homepage-content h3 > a:hover {
	color: #5b011d;
}

#homepage-content iframe {
	margin-bottom: 20px;
}

#homepage-latest {
	padding: 10px 20px;
}

#homepage-blog h4 {
	font-family: $serif-font-stack;
	font-weight: 400;
	margin-bottom: 0.25rem;
	font-size: 20px;
}

#homepage-blog li {
	list-style-type: none;
}

#homepage-blog li a {
	color: #222;
}

#homepage-blog li a:hover {
	color: #d10a11;
}

#homepage-blog > a {
	color: #c0023e;
}

#homepage-blog > a:hover {
	color: #5b011d;
}

#homepage-blog a.more {
	font-size: 17px;
}

@include lg-only {
	#homepage-blog {
		float: right;
		width: 30%;
		padding: 10px 20px;
	}

	#homepage-entries {
		float: left;
		width: 70%;
		padding: 10px 20px;
	}

	#homepage-entries p {
		font-size: 17px;
	}

	#homepage-entries div > a {
		font-size: 14px;
	}

	#homepage-entries span {
		margin-right: 0;
	}

	#homepage-entries span::after {
		content: "";
	}

	#homepage-content .owid-presentations {
		float: right;
		width: 30%;
		padding: 10px 20px;
	}

	#homepage-content .owid-presentations p {
		text-align: left;
		font-size: 16px;
	}

	#homepage-content .owid-presentations div > a {
		width: 100%;
	}

	#homepage-twitter {
		float: right;
		width: 30%;
		padding: 10px 20px;
	}

	#homepage-twitter .social {
		margin-bottom: 10px;
	}

	.owid-data .link-container {
		display: flex;
		flex-flow: row wrap;
	    display: -webkit-flex;
	    -webkit-flex-flow: row wrap;
	    display: -ms-flexbox;
	    -ms-flex-flow: row wrap;
	}

	.owid-data li a {
		width: 33.3333%;
		display: inline-block;
	}
}

@include sm-only {
	#homepage-twitter {
		display: none;
	}

	#homepage-blog {
		margin-bottom: 20px;
	}
}

/* Teaching Page
--------------------------------------------- */

.teaching-hub #category-nav,
.teaching-hub #entries-nav {
	display: none;
}

.teaching-hub .article-content h2 {
	font-family: inherit;
	font-size: 36px;
	font-weight: 700;
	text-align: left;
	margin: 1rem 0 2rem;
}

.teaching-hub .columns {
	margin-bottom: 1.5rem;
}

.teaching-hub .columns .column {
	display: inline-block;
	margin: 0 .6rem .6rem 0;
}

@media screen and (max-width: 640px) {
	.teaching-hub .columns .column {
		display: block;
	}
}

.teaching-hub .button {
	background-color: #3a4c71;
	color: white;
	padding: 0.75rem 1.4rem;
	text-align: center;
	line-height: 1.2;
	display: block;
}

.teaching-hub .button:hover {
	text-decoration: none;
	background-color: #4b5c7e;
	color: white;
}

.teaching-hub a.button:visited {
	color: white;
}

.teaching-hub .primary-button {
	background-color: #B62300;
}

.teaching-hub .primary-button:hover {
	background-color: #bb4122;
}

.teaching-hub .button .label {
	font-weight: bold;
	margin-bottom: 0.3rem;
}

.teaching-hub .button .note {
	font-size: 68.75%;
	text-transform: uppercase;
	letter-spacing: 0.04rem;
	opacity: .6;
}

.teaching-hub .button span {
	display: block;
}

.teaching-hub .authors-byline {
	display: none;
}

.teaching-hub .button::selection {
	background: transparent;
}

/* OWID Data Entries Table
--------------------------------------------- */

.owid-data h1 {
	margin: 0;
	text-align: center;
	z-index: 1;
	position: relative;
}

.owid-data h1 > span {
	background: white;
	text-transform: uppercase;
	font-size: 24px;
	color: #002147;
	padding: 0 15px;
}

.owid-data .separator {
	position: relative;
	opacity: 0.8;
}

.owid-data hr {
    position: relative;
    margin: 0;
    top: -1.2em;

    background: #002147;
    border: 0;
    clear: both;
    color: #002147;
    display: block;
    height: 1px;
    padding: 0;
    margin-left: 20px;
    margin-right: 20px;
}

.owid-data ul {
	margin: 0 !important;
}

.owid-data li {
	list-style-type: none !important;
	margin-top: 5px;
	margin-bottom: 5px;
}

#homepage-entries li:last-child {
	margin-bottom: 30px;
}

.owid-data h4 {
	font-family: $serif-font-stack;
	font-weight: 400;
	margin-top: 25px;
	margin-bottom: 0;
	font-size: 16px;
	color: #002147;
	text-align: center;
	position: relative;
}

.owid-data .link-container {
	border-top: 2px solid #002147;
	border-left: 1px solid #ddd;
	margin-top: 3px;
}

.owid-data li a {
	display: block;
	box-sizing: border-box;
	border-bottom: 1px solid #ddd !important;
	border-right: 1px solid #ddd;
	padding: 5px 10px;
	background: none !important;
	font-size: 16px;
	color: #002147 !important;
}

.owid-data li a:hover {
	color: white !important;
	/*padding-bottom: 2px;*/
}

.owid-data a.starred:hover:after {
	color: white;
}

/* MISPY: Front page mobile-default responsiveness and data entry listing */

body.home .mobile.subheading {
	font-family: $serif-font-stack;
	color: rgb(255, 203, 31);
	font-size: 22px;
}

.owid-presentations li:nth-of-type(1) .link-container {
	border-top: 2px solid #333;
}

div.owid-presentations li:nth-of-type(1) h4 {
	color: #333;
}
div.owid-presentations li:nth-of-type(1) a:hover {
	background: #333 !important;
}

.footer-widgets .widget-title {
	color: #fff;
}

/* Blog post updates listing on front page */

.entry-meta {
	font-size: 80%;
	color: rgba(0,0,0,.5);
	margin-bottom: 10px;
}

/* Pages & Posts
--------------------------------------------- */

.LongFormPage .articleHeader {
	margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.articleHeader > h1 {
    font-family: $serif-font-stack;	font-weight: 400;
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 20px;

    @include sm-only {
        font-size: 2.25rem;
    }
}

.article-content > section:not(:first-child) {
    margin-top: 60px;
    padding-top: 30px;
}

.article-content > section {
	/* The CSS here is very precise so as not to interfere with any iframeless embeds */

	> p {
		margin-bottom: 1em;
	}

	/* Major sections e.g. I. Empirical View */
	> h2 {
		font-family: $serif-font-stack;
		font-size: 3rem;
		font-weight: 400;
		text-align: center;
        margin-top: 0;
        padding-top: 2rem;
		margin-bottom: 5.25rem;
		line-height: 1.25em;

        @include sm-only {
            font-size: 2.5rem;
        }
	}

	/* Subsections e.g. I.1 Historical perspective */
	> h3 {
		font-family: $serif-font-stack;
		font-size: 2.25rem;
		font-weight: 400;
		line-height: 1.25em;
		margin-top: 4.5rem;
		margin-bottom: 1.5rem;

        @include sm-only {
            font-size: 1.75rem;
        }
	}

	/* Intratext headings e.g. How different are countries in terms of central government involvement in the economy? */
	> h4 {
		font-family: $serif-font-stack;
		font-weight: 400;
		font-size: 1.5rem;
		line-height: 1.4em;
		margin-top: 2.75rem;
		margin-bottom: 1rem;

        @include sm-only {
            font-size: 1.25rem;
        }
	}

	> h5 {
		font-family: $serif-font-stack;
		font-weight: 400;
		line-height: 1.2;
		margin: 0 0 20px;
		padding-top: 10px;
		border-top: 1px;
		border-top-style: solid;
		border-top-color: #d3d3d3;
		padding-left: 15px;
		border-left: 1px;
		border-left-style: solid;
		border-left-color: #d3d3d3;
		font-size: 22px;
	}

	/* Image captions */
	> h6 {
		margin-top: 40px;
		margin-bottom: 5px;
	}
	> h6 + p img {
		margin-top: 0;
	}

	> blockquote {
		font-style: italic;
	}

	> .tableContainer {
		width: 100%;
		overflow-x: auto;
	}


	/* Center latex equations that occur on their own line e.g. https://ourworldindata.org/projections-of-future-education/#data-quality-definitions */
	svg.latex:only-child {
		display: block;
		margin: auto;
	}
}

hr {
	color: lightgrey;
	border-bottom:none;
	border-left:none;
	border-right: none;
	padding-bottom: 8px;
	border-top: 1px;
	border-top-style: solid;
	margin-bottom: 0;
}

/* The style of horizontal lines in the data sources section of every entry */
hr.datasources-hr {
	color: lightgrey;
	border-top:none;
	border-left:none;
	border-right: 1px;
	border-right-style: solid;
	padding-bottom: 8px;
	border-bottom: 1px;
	border-bottom-style: solid;
	margin-bottom: 0;
	position: relative;
	top: -40px;
	padding-top: 20px;
}

.article-footer {
	font-size: 0.8em;
    line-height: 1.7em;
    margin-top: 40px;
    margin-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0,0,0,0.5);
    padding-top: 60px;
	padding-bottom: 48px;

	h3 {
		font-size: 15px;
		font-weight: 500;
		margin-top: 2em;
		margin-bottom: 0;
		color: rgba(0,0,0,0.65);
	}

	ol.references {
		margin-top: 1em;
	}

	ol.references > li {
		margin-left: 20px;
		padding-left: 5px;
		margin-bottom: 1em;
		list-style-type: decimal;
		list-style-position: outside;
	}

	.citation {
		font-size: 11px;
		line-height: 15px;
		border-left: 1px solid rgba(0, 0, 0, 0.1);
		padding-left: 18px;
		border: 1px solid rgba(0,0,0,0.1);
		background: rgba(0, 0, 0, 0.02);
		padding: 10px 18px;
		border-radius: 3px;
		color: rgba(150, 150, 150, 1);
		overflow: hidden;
		margin-top: -6px;
		white-space: pre-wrap;
		word-wrap: break-word;
	}
}


img {
	max-width: 100%;
}

.article-content img {
	display: block;
	margin: 1em auto;
	border: 1px solid #ccc;
	padding: 10px;
}

figure[data-grapher-src] {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	text-align: center;
	line-height: 0;

	width: 100%;

	> a {
		border-bottom: none !important;
	}

	> a > div {
		display: inline-block;
		position: relative;
	}

	> a > div:hover {
		-webkit-box-shadow: 0px 0px 4px #000;
		-moz-box-shadow: 0px 0px 4px #000;
		box-shadow: 0px 0px 4px #000;
	}

	img {
		margin: 0;
		padding: 0;
		width: 100%;
		max-width: 850px;
	}
}

figure[data-grapher-src].grapherPreview {
    padding: 1em 0;
}

figure[data-grapher-src]:not(.grapherPreview) {
	height: 575px;
}



article.page h1.entry-title {
	text-align: center;
	margin: 0 0 1rem;
}

article.page .authors-byline {
	margin-top: 0.5rem;
	text-align: center;
	font-family: $serif-font-stack;
    font-size: 1.125rem;
    color: rgba($text-color, .8);
}

article.page .authors-byline a {
	color: inherit;
}

article.page .authors-byline a:hover {
	color: #c0023e;
}

article.page header.articleHeader {
	margin-bottom: 1.2rem;
}

article.post {
	max-width: 1080px;
	margin: auto;
	padding: 1.5rem;
}

.article-content ol, .article-content ul {
    margin-bottom: 30px;
    margin-left: 40px;
    font-weight: normal;
    font-family: $sans-serif-font-stack;
}

.article-content ul ul {
	margin-bottom: 0;
}

.article-content > p > ul > li {
	margin-bottom: 5px;
}

/* For wide tables and such on mobile */
.article-content p {
	overflow-x: auto;
	overflow-y: hidden;
}<commit_msg>Remove unnecessary font-family for lists<commit_after>/*
	Theme Name: Our World In Data
	Theme URI: https://ourworldindata.org;
	Description: A responsive custom theme for Our World In Data
	Author: <NAME>
	Author URI: https://ourworldindata.org

	Version: 1.2

	Tags: responsive layout

	License: MIT
	License URI: https://opensource.org/licenses/MIT
*/

@import '~normalize.css';

@import 'css/variables.scss';
@import 'css/mixins.scss';

@import 'css/category-coloring.scss';
@import 'css/util.scss';
@import 'css/layout.scss';
@import 'css/general.scss';
@import 'css/header.scss';
@import 'css/footer.scss';

@import 'css/content.scss';
@import 'css/forms.scss';
@import 'css/page.scss';

@import 'css/pages/homepage.scss';
@import 'css/pages/donate.scss';
@import 'css/pages/faq.scss';

/* HACK (Mispy): Fix search autozooming on iPhone Safari.
   http://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone */

@media screen and (-webkit-min-device-pixel-ratio:0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

#wpadminbar {
    direction: ltr;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    height: 32px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: $zindex-adminbar;
    font-size: 13px;
    font-weight: 400;
	line-height: 32px;
	opacity: 0.3;
}

#wpadminbar li {
	float: left;
	list-style-type: none;
}

#wpadminbar li > a {
    height: 32px;
    padding: 0 8px 0 7px;
    color: #3366cc;
}

/* Blog posts and blog index page (on /blog)
--------------------------------------------- */

header.blog-header h1 {
	text-align: center;
	font-family: $serif-font-stack;
	font-weight: 400;
	background: $primary-color;
	color: white;
	margin: auto;
	margin-bottom: 1rem;
	font-size: 1.8rem;
	line-height: 1;
	padding: 1.25rem 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

header.blog-header h1 > a {
	color: white;
}

body.blog main {
	padding-left: 1rem;
	padding-right: 1rem;
}

body.blog .site-content {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

body.blog h2 {
    font-family: $serif-font-stack;
    font-weight: 400;
    margin-bottom: 14px;
}

body.blog ul.posts {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 1em;
}

body.blog li.post {
	list-style-type: none;
	width: calc(33.3333% - 2em);
	margin-bottom: 2em;
}

body.blog li.post h3 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 19px;
	line-height: 24px;
	font-family: $serif-font-stack;
	font-weight: 400;
}

body.blog li.post .entry-meta {
	font-size: 14px;
}

body.blog li.post a {
	color: inherit;
}

body.blog li.post a:hover h3 {
	color: #d10a11;
}

body.blog li.post a:hover img {
	border: 1px solid #999;
}

body.blog li.post img {
	border: 1px solid #e0e0e0;
	width: 100%;
	height: 215px;
	object-fit: cover;
}

@media only screen and (min-width: 768px) {
	body.blog main {
		margin-top: 40px;
	}
}

@media only screen and (max-width: 767px) {
	body.blog li.post {
		width: 100%;
		padding-bottom: 30px;
		border-bottom: 1px solid #e0e0e0;
		margin-bottom: 30px;
	}
}


body.single-post main {
	background: #f6f6f6;
	border-bottom: 1px solid #ddd;
}

body.single-post .site-content {
	padding: 1rem;
	padding-top: 1rem;
}

body.single-post article {
	max-width: 900px;
	margin: auto;
}

body.single-post article {
	background: white;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
}

body.single-post h1.entry-title {
	margin: 0;
}

h1.entry-title > a {
	color: #222;
}

h1.entry-title > a:hover {
	color: #d10a11;
}

.pagination {
	text-align: center;
	padding-bottom: 30px;
}

.pagination .page-numbers {
    background-color: #000;
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: $sans-serif-font-stack;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 12px;
    text-transform: uppercase;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	color: #fff;
	background: #f04848;
}

@media only screen and (max-width: 800px) {
	body.blog article, body.single-post article {
		padding: 1rem;
	}

	body.blog .site-content, body.single-post .site-content {
		padding: 0.5rem;
	}

	#blog-sidebar {
		display: none;
	}
}

@media only screen and (min-width: 800px) {
	#blog-content {
		max-width: 1170px;
		margin: auto;
	}


	#blog-sidebar {
		background: white;
	}

	#blog-sidebar h3 {
		margin-bottom: 14px;
	}

	#blog-sidebar h3 > a {
		color: #c0023e;
	}

	#blog-sidebar h3 > a:hover {
		color: #5b011d;
	}
}

@media only screen {
	.screen-reader-text {
		display: none;
	}
}

/* The little section at the top of blog posts that links to related entries */
.blog-info {
    background-color: #E9EEF2;
    color: #406592;
	padding: 0.625rem;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	text-align: center;

	> p:last-child {
		margin-bottom: 0;
	}

    > p:first-child {
        margin-top: 0;
    }
}

/* Optional abstract for blog posts */
.blog-abstract {
	background-color: #f8f7fe;
	padding: 20px;
}

main {
	min-height: 500px;
}

#fancybox-frame {
	width: 100% !important;
}
#fancybox-wrap .chart-wrapper-inner {
	box-sizing: border-box !important;
}

.deep-link {
    position: relative;
    left: -4px;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: -5px;
    margin-left: -20px;
    font-size: 16px;
    text-indent: -9999px;
    background: url('data:image/png;base64,<KEY>') no-repeat center;
    background-size: contain;
    opacity: 0;
    vertical-align: middle;
}


h2:hover .deep-link,
h3:hover .deep-link,
h4:hover .deep-link,
h5:hover .deep-link,
h6:hover .deep-link {
	opacity: 1.0;
}

#un-button.un-bottom.css3 {
	left: 0 !important;
	margin-left: 20px !important;
	font-size: 16px;
}


/* search */
.archive-pagination {
	margin: 40px auto;
    text-align: center;
}

.article-content a,
.article-footer a {
	@include owid-link;
}

/* Homepage
--------------------------------------------- */

#homepage-content {
	padding: 30px 0;
}

.social a {
	font-size: 24px;
	background-color: #c0023e;
	color: white;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	margin-right: 5px;

	svg {
		width: 24px;
		height: 24px;
	}
}

.social a:hover {
	color: white;
	background-color: #5b011d;
}

#homepage-content h3 {
	font-family: $serif-font-stack;
	font-weight: 400;
	margin-bottom: 14px;
}

#homepage-content h3 > a {
	color: #c0023e;
}

#homepage-content h3 > a:hover {
	color: #5b011d;
}

#homepage-content iframe {
	margin-bottom: 20px;
}

#homepage-latest {
	padding: 10px 20px;
}

#homepage-blog h4 {
	font-family: $serif-font-stack;
	font-weight: 400;
	margin-bottom: 0.25rem;
	font-size: 20px;
}

#homepage-blog li {
	list-style-type: none;
}

#homepage-blog li a {
	color: #222;
}

#homepage-blog li a:hover {
	color: #d10a11;
}

#homepage-blog > a {
	color: #c0023e;
}

#homepage-blog > a:hover {
	color: #5b011d;
}

#homepage-blog a.more {
	font-size: 17px;
}

@include lg-only {
	#homepage-blog {
		float: right;
		width: 30%;
		padding: 10px 20px;
	}

	#homepage-entries {
		float: left;
		width: 70%;
		padding: 10px 20px;
	}

	#homepage-entries p {
		font-size: 17px;
	}

	#homepage-entries div > a {
		font-size: 14px;
	}

	#homepage-entries span {
		margin-right: 0;
	}

	#homepage-entries span::after {
		content: "";
	}

	#homepage-content .owid-presentations {
		float: right;
		width: 30%;
		padding: 10px 20px;
	}

	#homepage-content .owid-presentations p {
		text-align: left;
		font-size: 16px;
	}

	#homepage-content .owid-presentations div > a {
		width: 100%;
	}

	#homepage-twitter {
		float: right;
		width: 30%;
		padding: 10px 20px;
	}

	#homepage-twitter .social {
		margin-bottom: 10px;
	}

	.owid-data .link-container {
		display: flex;
		flex-flow: row wrap;
	    display: -webkit-flex;
	    -webkit-flex-flow: row wrap;
	    display: -ms-flexbox;
	    -ms-flex-flow: row wrap;
	}

	.owid-data li a {
		width: 33.3333%;
		display: inline-block;
	}
}

@include sm-only {
	#homepage-twitter {
		display: none;
	}

	#homepage-blog {
		margin-bottom: 20px;
	}
}

/* Teaching Page
--------------------------------------------- */

.teaching-hub #category-nav,
.teaching-hub #entries-nav {
	display: none;
}

.teaching-hub .article-content h2 {
	font-family: inherit;
	font-size: 36px;
	font-weight: 700;
	text-align: left;
	margin: 1rem 0 2rem;
}

.teaching-hub .columns {
	margin-bottom: 1.5rem;
}

.teaching-hub .columns .column {
	display: inline-block;
	margin: 0 .6rem .6rem 0;
}

@media screen and (max-width: 640px) {
	.teaching-hub .columns .column {
		display: block;
	}
}

.teaching-hub .button {
	background-color: #3a4c71;
	color: white;
	padding: 0.75rem 1.4rem;
	text-align: center;
	line-height: 1.2;
	display: block;
}

.teaching-hub .button:hover {
	text-decoration: none;
	background-color: #4b5c7e;
	color: white;
}

.teaching-hub a.button:visited {
	color: white;
}

.teaching-hub .primary-button {
	background-color: #B62300;
}

.teaching-hub .primary-button:hover {
	background-color: #bb4122;
}

.teaching-hub .button .label {
	font-weight: bold;
	margin-bottom: 0.3rem;
}

.teaching-hub .button .note {
	font-size: 68.75%;
	text-transform: uppercase;
	letter-spacing: 0.04rem;
	opacity: .6;
}

.teaching-hub .button span {
	display: block;
}

.teaching-hub .authors-byline {
	display: none;
}

.teaching-hub .button::selection {
	background: transparent;
}

/* OWID Data Entries Table
--------------------------------------------- */

.owid-data h1 {
	margin: 0;
	text-align: center;
	z-index: 1;
	position: relative;
}

.owid-data h1 > span {
	background: white;
	text-transform: uppercase;
	font-size: 24px;
	color: #002147;
	padding: 0 15px;
}

.owid-data .separator {
	position: relative;
	opacity: 0.8;
}

.owid-data hr {
    position: relative;
    margin: 0;
    top: -1.2em;

    background: #002147;
    border: 0;
    clear: both;
    color: #002147;
    display: block;
    height: 1px;
    padding: 0;
    margin-left: 20px;
    margin-right: 20px;
}

.owid-data ul {
	margin: 0 !important;
}

.owid-data li {
	list-style-type: none !important;
	margin-top: 5px;
	margin-bottom: 5px;
}

#homepage-entries li:last-child {
	margin-bottom: 30px;
}

.owid-data h4 {
	font-family: $serif-font-stack;
	font-weight: 400;
	margin-top: 25px;
	margin-bottom: 0;
	font-size: 16px;
	color: #002147;
	text-align: center;
	position: relative;
}

.owid-data .link-container {
	border-top: 2px solid #002147;
	border-left: 1px solid #ddd;
	margin-top: 3px;
}

.owid-data li a {
	display: block;
	box-sizing: border-box;
	border-bottom: 1px solid #ddd !important;
	border-right: 1px solid #ddd;
	padding: 5px 10px;
	background: none !important;
	font-size: 16px;
	color: #002147 !important;
}

.owid-data li a:hover {
	color: white !important;
	/*padding-bottom: 2px;*/
}

.owid-data a.starred:hover:after {
	color: white;
}

/* MISPY: Front page mobile-default responsiveness and data entry listing */

body.home .mobile.subheading {
	font-family: $serif-font-stack;
	color: rgb(255, 203, 31);
	font-size: 22px;
}

.owid-presentations li:nth-of-type(1) .link-container {
	border-top: 2px solid #333;
}

div.owid-presentations li:nth-of-type(1) h4 {
	color: #333;
}
div.owid-presentations li:nth-of-type(1) a:hover {
	background: #333 !important;
}

.footer-widgets .widget-title {
	color: #fff;
}

/* Blog post updates listing on front page */

.entry-meta {
	font-size: 80%;
	color: rgba(0,0,0,.5);
	margin-bottom: 10px;
}

/* Pages & Posts
--------------------------------------------- */

.LongFormPage .articleHeader {
	margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.articleHeader > h1 {
    font-family: $serif-font-stack;	font-weight: 400;
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 20px;

    @include sm-only {
        font-size: 2.25rem;
    }
}

.article-content > section:not(:first-child) {
    margin-top: 60px;
    padding-top: 30px;
}

.article-content > section {
	/* The CSS here is very precise so as not to interfere with any iframeless embeds */

	> p {
		margin-bottom: 1em;
	}

	/* Major sections e.g. I. Empirical View */
	> h2 {
		font-family: $serif-font-stack;
		font-size: 3rem;
		font-weight: 400;
		text-align: center;
        margin-top: 0;
        padding-top: 2rem;
		margin-bottom: 5.25rem;
		line-height: 1.25em;

        @include sm-only {
            font-size: 2.5rem;
        }
	}

	/* Subsections e.g. I.1 Historical perspective */
	> h3 {
		font-family: $serif-font-stack;
		font-size: 2.25rem;
		font-weight: 400;
		line-height: 1.25em;
		margin-top: 4.5rem;
		margin-bottom: 1.5rem;

        @include sm-only {
            font-size: 1.75rem;
        }
	}

	/* Intratext headings e.g. How different are countries in terms of central government involvement in the economy? */
	> h4 {
		font-family: $serif-font-stack;
		font-weight: 400;
		font-size: 1.5rem;
		line-height: 1.4em;
		margin-top: 2.75rem;
		margin-bottom: 1rem;

        @include sm-only {
            font-size: 1.25rem;
        }
	}

	> h5 {
		font-family: $serif-font-stack;
		font-weight: 400;
		line-height: 1.2;
		margin: 0 0 20px;
		padding-top: 10px;
		border-top: 1px;
		border-top-style: solid;
		border-top-color: #d3d3d3;
		padding-left: 15px;
		border-left: 1px;
		border-left-style: solid;
		border-left-color: #d3d3d3;
		font-size: 22px;
	}

	/* Image captions */
	> h6 {
		margin-top: 40px;
		margin-bottom: 5px;
	}
	> h6 + p img {
		margin-top: 0;
	}

	> blockquote {
		font-style: italic;
	}

	> .tableContainer {
		width: 100%;
		overflow-x: auto;
	}


	/* Center latex equations that occur on their own line e.g. https://ourworldindata.org/projections-of-future-education/#data-quality-definitions */
	svg.latex:only-child {
		display: block;
		margin: auto;
	}
}

hr {
	color: lightgrey;
	border-bottom:none;
	border-left:none;
	border-right: none;
	padding-bottom: 8px;
	border-top: 1px;
	border-top-style: solid;
	margin-bottom: 0;
}

/* The style of horizontal lines in the data sources section of every entry */
hr.datasources-hr {
	color: lightgrey;
	border-top:none;
	border-left:none;
	border-right: 1px;
	border-right-style: solid;
	padding-bottom: 8px;
	border-bottom: 1px;
	border-bottom-style: solid;
	margin-bottom: 0;
	position: relative;
	top: -40px;
	padding-top: 20px;
}

.article-footer {
	font-size: 0.8em;
    line-height: 1.7em;
    margin-top: 40px;
    margin-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0,0,0,0.5);
    padding-top: 60px;
	padding-bottom: 48px;

	h3 {
		font-size: 15px;
		font-weight: 500;
		margin-top: 2em;
		margin-bottom: 0;
		color: rgba(0,0,0,0.65);
	}

	ol.references {
		margin-top: 1em;
	}

	ol.references > li {
		margin-left: 20px;
		padding-left: 5px;
		margin-bottom: 1em;
		list-style-type: decimal;
		list-style-position: outside;
	}

	.citation {
		font-size: 11px;
		line-height: 15px;
		border-left: 1px solid rgba(0, 0, 0, 0.1);
		padding-left: 18px;
		border: 1px solid rgba(0,0,0,0.1);
		background: rgba(0, 0, 0, 0.02);
		padding: 10px 18px;
		border-radius: 3px;
		color: rgba(150, 150, 150, 1);
		overflow: hidden;
		margin-top: -6px;
		white-space: pre-wrap;
		word-wrap: break-word;
	}
}


img {
	max-width: 100%;
}

.article-content img {
	display: block;
	margin: 1em auto;
	border: 1px solid #ccc;
	padding: 10px;
}

figure[data-grapher-src] {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	text-align: center;
	line-height: 0;

	width: 100%;

	> a {
		border-bottom: none !important;
	}

	> a > div {
		display: inline-block;
		position: relative;
	}

	> a > div:hover {
		-webkit-box-shadow: 0px 0px 4px #000;
		-moz-box-shadow: 0px 0px 4px #000;
		box-shadow: 0px 0px 4px #000;
	}

	img {
		margin: 0;
		padding: 0;
		width: 100%;
		max-width: 850px;
	}
}

figure[data-grapher-src].grapherPreview {
    padding: 1em 0;
}

figure[data-grapher-src]:not(.grapherPreview) {
	height: 575px;
}



article.page h1.entry-title {
	text-align: center;
	margin: 0 0 1rem;
}

article.page .authors-byline {
	margin-top: 0.5rem;
	text-align: center;
	font-family: $serif-font-stack;
    font-size: 1.125rem;
    color: rgba($text-color, .8);
}

article.page .authors-byline a {
	color: inherit;
}

article.page .authors-byline a:hover {
	color: #c0023e;
}

article.page header.articleHeader {
	margin-bottom: 1.2rem;
}

article.post {
	max-width: 1080px;
	margin: auto;
	padding: 1.5rem;
}

.article-content ol, .article-content ul {
    margin-bottom: 30px;
    margin-left: 40px;
    font-weight: normal;
}

.article-content ul ul {
	margin-bottom: 0;
}

.article-content > p > ul > li {
	margin-bottom: 5px;
}

/* For wide tables and such on mobile */
.article-content p {
	overflow-x: auto;
	overflow-y: hidden;
}
{'fraction_non_alphanumeric': 0.16238591153756143, 'fraction_numerical': 0.048999531944769484, 'mean_word_length': 2.996375964461071, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 79, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2719812', 'n_tokens_mistral': 15700, 'n_tokens_neox': 13971, 'n_words': 3108}