section {
	padding-top: 1rem;
}

/* Features */
section.features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1rem;
}
section.features div.feature {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: 8px;
	overflow: hidden;
	background: #3535a5;

	background-position: 0% 25%;
	background-size: cover;
	background-repeat: no-repeat;
	transition: 1s ease;
	text-shadow:
		 0px  0px  1px black,
		-1px  0px  0px black,
		 0px -1px  0px black,
		 1px  0px  0px black,
		 0px  1px  0px black;
}
section.features div.feature:first-child {
	font-size: 1.25rem;
	background-position: 30% 30%;
	grid-column: 1 / -1;
}
section.features div.feature > div {
	padding: 2rem;
	z-index: 1;
	color: white;
	clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(8px);
	width: calc(50% + 4rem);
	height: 100%;
	transition: background 0.5s ease, backdrop-filter 0.5s ease;
	box-sizing: border-box;
}
section.features div.feature:first-child > div {
	padding: 3rem;
	clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
	width: calc(50% + 6rem);
}
section.features div.feature:hover {
	background-position: 40% 50%;
}
section.features div.feature:first-child:hover {
	background-position: 60% 60%;
}
section.features div.feature:hover > div {
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(16px);
}
section.features div.feature div h1 {
	margin: 0;
	font-size: calc(1.3rem + 0.6vw);
	color: white;
	font-style: italic;
}
section.features div.feature div span {
	color: white;
}
section.features div.feature div a {
	color: white;
	font-weight: bold;
}
section.features div.feature:first-child div h1 {
	font-size: calc(2rem + 1vw);
	line-height: 1.2;
}
@media only screen and (max-device-width: 1080px) {
	section.features div.feature {
		background-position: center;
	}
}
@media only screen and (max-width: 960px) {
	section.features div.feature > div {
		clip-path: none !important;
	}
}
@media only screen and (max-width: 640px) {
	section.features {
		grid-template-columns: 1fr;
	}
	section.features div.feature {
		background-position: center !important;
	}
	section.features div.feature:first-child {
		font-size: 1rem;
	}
	section.features div.feature > div {
		width: auto;
	}
	section.features div.feature:first-child > div {
		padding: 2rem;
		width: auto;
	}
}

/* Articles */
section.articles {
	display: grid;
	grid-template-columns: 9fr minmax(250px, 1fr);
	grid-gap: 1rem;
	margin-top: 1rem;
	border-top: 1px solid #ccc;
}
section.articles.issue {
	grid-template-columns: minmax(210px, 1fr) 9fr;
	grid-gap: 2rem;
}
section.articles.published {
	grid-template-columns: 9fr minmax(210px, 1fr);
	grid-gap: 2rem;
}
@media only screen and (max-width: 960px) {
	section.articles {
		grid-template-columns: 9fr minmax(120px, 1fr);
	}
	section.articles.issue {
		grid-template-columns: minmax(210px, 1fr) 9fr;
	}
	section.articles.published {
		grid-template-columns: 9fr minmax(210px, 1fr);
	}
}
section.articles article {
	padding: 1rem 0rem;
	border-top: 1px solid #ccc;
	scroll-margin-top: 4rem;
}
section.articles article:first-of-type {
	border: none;
	padding-top: 0rem;
}
section.articles article div.production {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-column-gap: 1rem;
	align-items: start;
}
@media only screen and (max-width: 960px) {
	section.articles article div.production {
		grid-template-columns: 1fr;
		grid-row-gap: 1rem;
	}
}
@media only screen and (max-width: 800px) {
	section.articles article div.production {
		grid-template-columns: 2fr 1fr;
	}
}
@media only screen and (max-width: 640px) {
	section.articles article div.production {
		grid-template-columns: 1fr;
		grid-row-gap: 1rem;
	}
}
section.articles article div.production div.small-image {
	clip-path: circle();
	height: 100%;
	max-height: 275px;
	background-position: 50%;
	background-size: auto 100%;
	background-repeat: no-repeat;
}
@media only screen and (max-width: 960px) {
	section.articles article div.production div.small-image {
		clip-path: initial;
		height: 275px;
		background-size: cover;
	}
}
@media only screen and (max-width: 800px) {
	section.articles article div.production div.small-image {
		clip-path: circle();
		height: 100%;
		background-size: auto 100%;
	}
}
@media only screen and (max-width: 640px) {
	section.articles article div.production div.small-image {
		clip-path: initial;
		height: 275px;
		background-size: cover;
	}
}
section.articles article div.backlog-production {
	display: grid;
	grid-template-columns: 1fr calc(140px + 1rem);
	grid-column-gap: 1rem;
	align-items: start;
}
section.articles article div.backlog-production div.small-image {
	width: 140px;
	height: 198px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	box-shadow: 0px 0px 8px #ccc;
	transform: rotate(7.2deg) translateX(-1rem);
}
@media only screen and (max-width: 640px) {
	section.articles article div.backlog-production {
		grid-template-columns: 1fr 210px;
	}
	section.articles article div.backlog-production div.small-image {
		transform: rotate(5deg) translateX(-1rem);
	}
}
section.articles article.unread h2::before {
	content: '\0261B\0FE0E\ ';
	color: #a53535;
}
section article h1,
section article h2,
section article h3,
section article h4,
section article h5,
section article h6 {
	font-size: calc(1.5rem + 2vw);
	margin: 0;
	line-height: 1.2;
}
section article h2 {
	font-size: calc(1.3rem + 1vw);
}
section article h3 {
	font-size: calc(1.3rem + 0.6vw);
}
section article h4 {
	font-size: calc(1.3rem + 0.3vw);
}
section article h5 {
	font-size: calc(1.2rem + 0.3vw);
}
section article h6 {
	font-size: calc(1.2rem + 0.1vw);
}
section article span.date {
	color: #333;
}
@media only screen and (max-width: 800px) {
	section.articles, section.articles.issue, section.articles.published {
		grid-template-columns: 1fr;
	}
}

/* Article */
article p {
	text-align: justify;
	line-height: 1.5;
}
article div.features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
	width: 100%;
	margin-top: 16px;
}
article div.features div.feature {
	vertical-align: top;
	display: inline-block;
	word-wrap: break-word;
	text-align: left;
	line-height: 1.5;
}
article div.features div.feature.wide-feature {
	grid-column: span 2;
}
article div.features div.feature strong {
	display: block;
}
article div.image {
	max-width: 90%;
	margin: 2rem auto;
	text-align: center;
}
article div.image img {
	width: 100%;
	max-width: 800px;
	max-height: 500px;
	display: block;
	margin: auto;
	object-fit: contain;
}
article div.image span {
	display: block;
	max-width: 800px;
	margin: auto;
	margin-top: 1rem;
	color: #333;
}
@media only screen and (max-width: 1080px) {
	article div.features {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media only screen and (max-width: 640px) {
	article div.features {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 360px) {
	article div.features {
		grid-template-columns: repeat(1, 1fr);
	}
	article div.features div.feature.wide-feature {
		grid-column: span 1;
	}
}

/* Header */
div.header {
	text-align: center;
}
div.header h1 {
	font-style: italic;
}

div.half-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
	border-top: 1px solid #ccc;
	padding-top: 1rem;
}
@media only screen and (max-width: 640px) {
	div.half-grid {
		grid-template-columns: 1fr;
	}
}

/* Archive index */
section.articles div div.issues {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3rem 1rem;
	margin: 1rem 0rem;
}
@media only screen and (max-width: 1080px) {
	section.articles div div.issues {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media only screen and (max-width: 640px) {
	section.articles div div.issues {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* Issues */
div.issues a.issue {
	display: block;
	text-decoration: none;
	color: black;
	font-size: 1rem;
	padding: 0rem;
	margin: auto;
	text-align: center;
	width: max-content;
}
div.issues a.issue > div {
	width: 210px;
	height: 297px;
	background: #3535a5;
	color: white;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
	position: relative;
	transition: box-shadow 0.2s ease;
	margin: 0 auto 0.5rem;
	overflow: hidden;
}
div.issues a.issue > div span.name {
	font-size: 1.5rem;
}
div.issues a.issue > div span.subtitle {
	display: block;
	font-size: 0.5rem;
	line-height: 0.2;
	margin-bottom: 0.25rem;
}
div.issues a.issue > div span.includes {
	display: block;
	font-size: 0.5rem;
	line-height: 1;
	margin-top: 0.75rem;
	position: relative;
	z-index: 1;
}
div.issues a.issue > div div {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom;
	position: absolute;
	width: 100%;
	height: 50%;
	left: 0px;
	bottom: 32px;
}
div.issues a.issue > div span.caption {
	font-size: 0.3rem;
	position: absolute;
	width: calc(100% - 10px);
	height: 20px;
	left: 5px;
	bottom: 9px;
	text-align: justify;
}
div.issues a.issue h5 {
	margin: 0;
}
div.issues a.issue:hover > div {
	box-shadow: 0px 0px 8px black;
}

/* Aside */
section.articles aside {
	position: sticky;
	top: 5.5rem;
	height: max-content;
	padding-bottom: 1rem;
}
@media only screen and (max-width: 1080px) {
	section.articles aside {
		top: 8.5rem;
	}
}
section.articles aside h3 {
	font-size: calc(1.275rem + 0.3vw);
	font-style: italic;
	margin: 0rem 0rem 1rem;
}
section.articles aside.sidebar-info div {
	text-align: left;
	background: #eee;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1rem;
}
@media only screen and (max-width: 960px) {
	section.articles aside.sidebar-info div {
		display: none;
	}
}
@media only screen and (max-width: 800px) {
	section.articles aside.sidebar-info div {
		display: block;
	}
}
section.articles aside.sidebar-info a.article {
	display: block;
	text-decoration: none;
	color: black;
	border-top: 1px solid #ccc;
	font-size: 1rem;
	margin: 1rem 0rem;
}
section.articles aside.sidebar-info a.article:first-of-type {
	border: none;
}
section.articles aside.sidebar-info a.article h4 {
	margin: 0;
	padding: 0.5rem 0rem;
	transition: margin 0.2s ease;
}
section.articles aside.sidebar-info a.article:hover h4 {
	margin-left: 4px;
}
section.articles aside.sidebar-info a.article span.date {
	color: #333;
}
/* Aside for issue */
section.articles aside.sidebar-issue {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1rem;
}
@media only screen and (max-width: 800px) {
	section.articles aside {
		position: initial;
	}
	section.articles aside.sidebar-issue {
		grid-template-columns: 1fr 1fr;
	}
}
section.articles aside.sidebar-issue a.aside-button {
	display: block;
	width: max-content;
	border-bottom: 1px solid #ccc;
	transition: 0.2s ease;
	padding: 0.5rem;
	margin: 0.5rem auto;
	text-align: center;
	text-decoration: none;
	color: black;
	cursor: pointer;
}
section.articles aside.sidebar-issue a.aside-button:visited {
	color: black;
}
section.articles aside.sidebar-issue a.aside-button:hover,
section.articles aside.sidebar-issue a.aside-button:focus {
	border-color: #3535a5;
	color: #3535a5;
}
section.articles aside.sidebar-issue a.section {
	display: block;
	padding: 0.5rem 1rem;
	border-left: 2px solid #ccc;
	text-decoration: none;
	color: black;
	cursor: pointer;
	transition: 0.2s ease;
}
section.articles aside.sidebar-issue a.section:visited {
	color: black;
}
section.articles aside.sidebar-issue a.section:hover,
section.articles aside.sidebar-issue a.section:focus {
	color: #444;
	border-color: #888;
}
section.articles aside.sidebar-issue a.section.active {
	font-weight: bold;
	border-color: #3535a5;
	color: #3535a5;
}

/* Navigation bar */
section article nav {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	text-align: center;
	white-space: nowrap;
	justify-content: space-between;
	width: 100%;
	margin: 1rem auto;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
section article nav a {
	padding: 1rem 0.5rem;
	text-decoration: none;
	color: black;
	transition: color 0.2s ease;
}
section article nav a:visited {
	color: black;
}
section article nav a:hover,
section article nav a:focus {
	color: grey;
}
section article nav a.active {
	font-weight: bold;
}

/* Form */
form {
	margin: 1rem;
}
form input {
	display: block;
	outline: none;
	border: none;
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
	font-size: 1rem;
	background: transparent;
	margin: 1rem auto;
	padding: 0.5rem;
	transition: border 0.5s ease;
	width: 100%;
}
form input[type=checkbox] {
	display: initial;
	width: auto;
	accent-color: #3535a5;
}
form input[type=submit] {
	border-bottom: 2px solid transparent;
	cursor: pointer;
	width: max-content;
}
form input[type=submit]:hover {
	border-color: #3535a5;
}
form input:invalid {
	border-color: #a53535;
}

/* Login form */
div.login-subscribe-area {
	display: grid;
	grid-template-columns: 1fr 1px 1fr;
	grid-column-gap: 1rem;
}
div.login-subscribe-area div.issues {
	display: flex;
	position: relative;
	z-index: 2;
	pointer-events: none;
	transform: scale(calc(9 / 10));
	width: 100%;
	top: 12px;
}
div.login-subscribe-area a.issue > div {
	margin: 0 !important;
}
div.login-subscribe-area a.issue {
	box-shadow: 0px 0px 1rem black;
	position: relative;
}
div.login-subscribe-area a.issue:nth-child(1) {
	z-index: 100;
	left: calc(30rem / 2 - 105px);
	top: -6px;
	transform: scale(calc(10 / 9));
}
div.login-subscribe-area a.issue:nth-child(2) {
	z-index: 99;
	transform: rotate(10deg);
	left: calc(30rem / 2 - 210px);
}
div.login-subscribe-area a.issue:nth-child(3) {
	z-index: 98;
	transform: rotate(-10deg);
	left: calc(30rem / 2 - 630px);
}
div.login {
	width: 100%;
	height: 100%;
	margin: auto;
}
div.modal div.login {
	width: 100%;
}
div.login p {
	text-align: justify;
}
div.login form {
	margin: auto;
	padding: 2rem 0rem;
	text-align: center;
	width: 100%;
	max-width: 30rem;
}
div.login form input[type=text],
div.login form input[type=email],
div.login form input[type=password] {
	width: 75%;
}
div.login form input[type=radio] {
	display: initial;
	width: auto;
	accent-color: #3535a5;
}
div.login form input[type=submit] {
	color: white;
	background: #3535a5;
	padding: 14px;
	width: 50%;
	border: none !important;
	border-radius: 5rem;
}
div.login form hr {
	width: 50%;
	height: 1px;
	background-color: #ccc;
	border: 0;
}
div.plan-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 1rem;
}
div.plan-list div {
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	padding: 1rem;
	cursor: default;
	transition: box-shadow 0.3s ease;
}
div.plan-list div:hover {
	box-shadow: 0px 0px 0.5rem #ccc;
}
div.plan-list div h2 {
	margin-top: 0;
}
@media only screen and (max-width: 960px) {
	div.plan-list {
		grid-template-columns: 1fr 1fr;
	}
	div.plan-list div:last-child {
		grid-column: span 2;
	}
	div.login-subscribe-area {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1px auto;
	}
}
@media only screen and (max-width: 720px) {
	div.plan-list {
		grid-template-columns: 1fr;
	}
	div.plan-list div:last-child {
		grid-column: span 1;
	}
}

/* Steps */
ol.steps {
	width: max-content;
	max-width: 100%;
	margin: auto;
	list-style-type: none;
	box-sizing: border-box;
	display: flex;
	gap: 0.25rem;
	padding: 0.5rem 1rem;
	white-space: nowrap;
	overflow-x: scroll;
	scrollbar-width: none;
}
ol.steps li {
	display: inline-flex;
	white-space: nowrap;
	position: relative;
	padding-left: 1em;
}
ol.steps li:first-child {
	padding-left: 0;
}
ol.steps li:not(:first-child)::before {
	content: '';
	display: block;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0em;
	width: .4375em;
	height: .4375em;
	margin: auto 0;
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	border-style: solid;
	border-width: 1px 1px 0 0;
	border-color: grey;
}
ol.steps li span {
	color: grey;
}

/* Search box */
form.search-box {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-column-gap: 1rem;
	width: 100%;
	max-width: 35rem;
	margin: auto;
}
@media only screen and (max-width: 640px) {
	form.search-box {
		grid-template-columns: 1fr;
	}
	form.search-box input[type="checkbox"] {
		display: block;
	}
}

/* Table */
table tr {
	border-bottom: 1px solid #ccc;
}
table tr:not(.table-heading) {
	transition: 0.2s ease;
}
table tr:hover:not(.table-heading) {
	background-color: #eee;
}
table tr[onclick] {
	cursor: pointer;
}
table th {
	font-family: "georgia", serif;
	color: #3535a5;
}
table td, table th {
	text-align: left;
	padding-left: 8px;
	padding-right: 8px;
}
@media only screen and (max-width: 640px) {
	table tr.table-heading {
		display: none;
	}
	table td {
		overflow: hidden;
	}
	table td, table th {
		display: block;
	}
	table td:nth-child(1) {
		font-weight: bold;
	}
}

/* Large list */
.large-list {
	column-count: 3;
	column-gap: 2rem;
	text-align: left;
}
@media only screen and (max-width: 960px) {
	.large-list {
		column-count: 2;
	}
}
@media only screen and (max-width: 480px) {
	.large-list {
		column-count: 1;
	}
}

/* Button link */
a.button {
	display: block;
	box-sizing: border-box;
	padding: 14px;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	text-align: center;
	cursor: pointer;
	user-select: none;
	text-decoration: none;
	width: 100%;
	background: #3535a5;
	color: white;
	border-radius: 5rem;
	transition: 0.2s ease;
}
a.button:hover,
a.button:focus {
	background: #252595;
}
