/* ----------------------------------------------- */
/* BASIC SETUP */
/* ----------------------------------------------- */

h1 { font-size: 2rem; color: #000000;
	margin: 10px 0px 20px 0px; }
h2 { font-size: 1.6rem; color: #000000;
	margin: 10px 0px 20px 0px; }
h3 { font-size: 1.4rem; color: #000000;
	text-align: center; font-weight: 700; }
.spacedh2 { padding-top: 10px; }
.spacedh3 { padding-top: 20px; }

/* ----------------------------------------------- */
/* GRID COMPONENTS */
/* ----------------------------------------------- */

.section-main {
	background-color: #f1f1f1;
	padding: 20px 10px; }
main {
	max-width: 1200px;
	margin: 50px auto;
	background-color: #ffffff;
	border-radius: 10px; }
.main-img {
	max-width: 100%;
	border-radius: 10px 10px 0px 0px; }
.main-area { padding: 20px; }

/* ----------------------------------------------- */
/* IMAGE-TEXT BLOCK */
/* ----------------------------------------------- */

.img-txt-block { padding: 10px 0px; }
.itm-img-flx { text-align: center; }
.img-txt-img {
	max-width: 100%;
	border-radius: 10px; }

/* ----------------------------------------------- */
/* COMMENTS */
/* ----------------------------------------------- */

.comments-block {
	margin: 50px 0px;
	padding-top: 10px;
	border-top: 1px solid #f1f1f1;
	border-bottom: 1px solid #f1f1f1; }
.comment-block {
	padding: 10px;
	margin-bottom: 20px;
	background-color: #f1f1f1;
	border-radius: 10px; }
.cmttxt { font-size: 85%; }

/* ----------------------------------------------- */
/* CARDS */
/* ----------------------------------------------- */

.topic-area { margin: 0px auto; }
.topic-cards {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 10px;
	grid-row-gap: 10px;
	padding-bottom: 20px;
	justify-content: center; }
.topic-card {
	flex: 1 1 380px;;
	max-width: 380px;
	padding: 20px 20px 0px 20px;
	border-radius: 10px;
	border: 1px solid #cccccc;
	text-align: left; }
.topic-img {
	max-width: 100%;
	border-radius: 5px; }
.topic-card:hover {
	box-shadow: 0px 2px 5px #cccccc; }

/* ----------------------------------------------- */
/* MEDIA QUERIES */
/* ----------------------------------------------- */

@media only screen and (min-width: 481px) {
	.comment-block { padding: 20px; }
}
@media only screen and (min-width: 931px) {
	.img-txt-block { display: flex;
		align-items: center; padding: 0px; }	
	.img-txt-block:first-of-type {
		align-items: flex-start; }
	.itm-img-flx { flex: 1; margin-bottom: 0px; }
	.img-txt-img:first-of-type { margin-top: 20px; }
	.itm-txt-flx { flex: 2; margin-right: 20px; 
		border-right: 4px solid #f1f1f1; 
		padding-right: 10px; }
}
@media only screen and (min-height: 641px) {
	.section-main { padding-top: 100px; }
}