/* General */
.content-text {
	font-size: 16px;
	line-height: 1.5rem;
	margin-bottom: 1rem;
}

/* Magazine Index Horizontal */
.magazine-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.magazine-header {
	grid-column: span 2 / span 2;
}

.magazine-thumbnail {
	width: 100%;
}

/* Home News Grid */
.home-news-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.home-news-item > a {
	text-decoration: none;
}

.home-news-item > a:hover .home-news-title {
	color: #fff;
}

.home-news-item > a:hover .home-news-wrapper {
	background: #004996;
	color: #fff;
}

.home-news-wrapper {
	background: #fff;
	color: #000;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: all 200ms ease-in-out;
}

.home-news-text {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	justify-content: space-between;
	padding: 1rem;
}

.home-news-title {
	color: #004996;
	font-size: 1.65em;
	font-weight: 600;
	margin-bottom: 0.75rem;
	transition: all 200ms ease-in-out;
}

/* Hot Topic Item */
.hot-topic-item {
	background: #fff;
	transition: all 200ms ease-in-out;
}

.hot-topic-item:hover {
	background: #004996;
}

.hot-topic-item > a {
	text-decoration: none;
}

.hot-topic-item > a:hover .hot-topic-item-title, .hot-topic-item > a:hover .hot-topic-item-text {
	color: #fff;
}

.hot-topic-item-wrapper {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	margin-bottom: 0.5rem;
}

.hot-topic-item-wrapper > img {
	height: auto;
	width: 100%;
}

.hot-topic-item-title {
	color: #004996;
	font-size: 1.25em;
	font-weight: 600;
	margin-bottom: 0.75rem;
	transition: all 200ms ease-in-out;
}

.hot-topic-item-text {
	color: #000;
	font-size: 16px;
	padding: 1rem;
	transition: all 200ms ease-in-out;
}

/* News Page */
.news-header {
	margin: 3rem auto;
	max-width: 56rem;
}

.news-header-text {
	margin: 2rem 0;
	text-align: left;
}

.news-header-title {
	border-bottom: 0px;
	font-weight: 600;
	line-height: normal;
}

.news-header-abstract {
	color: #000;
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.news-header-date {
	margin-bottom: 1rem;
}

.news-header-figure {
	margin: 0 0 1rem 0;
}

.news-header-image {
	margin-bottom: 0;
	width: 100%;
}

.news-header-caption {
	font-size: 14px;
	margin-bottom: 1rem;
	padding: 0.5rem 0;
}

.news-header-share-box {
	align-items: center;
	display: flex;
	flex-flow: row;
	gap: 1rem;
	justify-content: flex-start;
}

.news-article-container {
	margin: 3rem auto;
	max-width: 56rem;
}

/* Nested Content Page */
.link-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	margin-bottom: 1rem;
}

.link-grid-small {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 1rem;
}

.link-grid-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.link-grid-wrapper:hover {
	color: #fff;
	text-decoration: underline;
}

.link-grid-label {
	background: #004996;
	color: #fff;
	font-size: 16px;
	height: 100%;
	padding: 0.5rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
	/* Home News Grid */
	.home-news-item:last-child {
		margin-bottom: 1.25rem;
	}
}
	
@media screen and (min-width: 768px) {
	/* Magazine Index Horizontal */
	.magazine-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.magazine-header {
		grid-column: span 3 / span 3;
	}
	
	/* Home News Grid */
	.home-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 3rem;
	}
	
	/* Hot Topic Item */
	.hot-topic-item-wrapper {
		align-items: center;
		flex-direction: row;
		gap: 1rem;
	}
	
	.hot-topic-item-wrapper > img {
		height: 100%;
		width: 200px;
	}
	
	.hot-topic-item-text {
		padding: 0;
	}
	
	/* Nested Content Page */
	.link-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	
	.link-grid-small {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (min-width: 1139px) {
	/* Magazine Index Horizontal */
	.magazine-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.magazine-header {
		grid-column: span 4 / span 4;
	}
	
	/* Home News Grid */
	.home-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	
	/* Nested Content Page */
	.link-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	
	.link-grid-small {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Sponsor Index (4 cols) */
.si4c-introduction {
	margin-bottom: 1rem;
}

.si4c-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.si4c-grid a { text-decoration: none; }

@media screen and (min-width: 768px) {
	.si4c-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	
	.si4c-banner, .si4c-content { grid-column: span 2 / span 2; }
}

@media screen and (min-width: 1139px) {
	.si4c-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	
	.si4c-banner, .si4c-content { grid-column: span 4 / span 4; }
}

/* Support List */
.support-list-form {
	align-items: center;
	display: flex;
	flex-flow: row wrap;
	gap: 1rem;
	margin-bottom: 1rem;
}

.support-list-form button {
	background: #004996;
	border: 1px solid #004996;
	color: #fff;
	line-height: normal;
	padding: 0.75rem!important;
	text-decoration: none;
}

.support-list-form button:hover {
	background: #fff;
	color: #004996;
}

/* Details Panel */
.details-panel-container {
	border: 1px solid #004996;
	margin-bottom: 1rem;
}

.details-panel-container > summary::-webkit-details-marker { display: none; }

.details-panel-btn {
	align-items: center;
	background: #004996;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	font-weight: 600;
	gap: 0.5rem;
	justify-content: space-between;
	padding: 1rem;
}

.details-panel-title { text-align: left; }

.details-panel-contents { padding: 1rem; }