@charset "UTF-8";
/* CSS Document */

/* ===== Posts ===== */

*:has(> :is(.single_post, .post_list)) {
	padding-bottom: 60px !important;
	/*border: 3px red solid;	*/
}

.single_post, .post_list {
	/*display: flex;*/
	justify-content: flex-end;
	/*margin-bottom: 60px;	*/
}

#body, #sidebar {
	display: block;
}

#body {
  flex: 1;
  min-width: 0; /* important for text overflow */	
	background-color: #FFF;
	/*border-radius: 30px;*/
	position: relative;
	/* clamp(MINIMUM, calc(STARTING_VALUE - VW_RATE), MAXIMUM) */
	padding-top: clamp(80px, calc(80px - 4vw), 100px) !important;
	/*padding-top: 100px;*/
}

.single_post #body.pad1 {
	padding-bottom: 65px !important;
}

#body h1 {
	padding-top: 40px;
}

#body h1:not(.single_post #body h1) {
	margin-bottom: 0;
}

#body h2 {
	line-height: 1;
}

.single_post #body h2 {
	font-size: 1.25em;
}

.single_post #body :is(p:not(p.big_number),li) {
	font-size: 0.9em;
}

.author.meta {
	font-family: var(--display);
	margin-bottom: 20px;
	transform: translateY(-5px);
}

.topics {
	background-color: var(--light);
	padding: 20px;
	border-radius: 20px 20px 0 0;
	margin-top: 15px;
	font-family: var(--display);
}

.topics + *:not(.wp-block-post-featured-image) {
	margin-top: 30px;
}

.wp-block-post-featured-image img {
	position: relative;
	border-radius: 35px 0 35px 35px;
	/*transform: translateX(calc(-4vw - 15px));	*/
/*	width: calc(100% + 8vw + 30px);
	margin-left: calc(-4vw - 15px);*/
}

#sidebar {
	padding: 15px 0;
    flex-shrink: 0;
    background-color: #fff;
    font-family: var(--display);
    margin-left: 10px;
}

#sidebar section {
	border-bottom: 5px solid #FFF;
	margin: 0;
	padding: 17px 17px 2px;
}

#sidebar h2 {
	font-size: 1.2em;
}

#sidebar ul.latest_posts {
	padding: 0;
}

#sidebar ul.latest_posts li {
	list-style-type: none;
}

#sidebar ul.latest_posts li span {
	font-size: 0.85em;
}

#sidebar a {
	font-weight: 600;
}

#sidebar .more_cats {
	display: none;
}

#sidebar .blog_archives {
	padding-bottom: 19px;
}

#sidebar .select1 .selectric {
  background: var(--hot);
}

/* Triangle arrow */
#sidebar .select1 .selectric .button::after {
  border-top: 11px solid var(--light);
  transform: translateY(-0.5px);
}

#sidebar .share_buttons {
	padding-bottom: 19px;
}

#sidebar .share_buttons img {
   width: 30px;
   margin-top: 5px;
   margin-right: 5px;
   height: auto;
}

/* ======== News Posts ======== */

.post_list.news h1 {
	margin-bottom: 20px !important;
}

.news_post h1 {
	font-size: 2.5em;
}

/* ======== Post Nav ======== */

.post_nav {
	position: absolute;
	inset: 0;
}

.post_nav div {
	display: flex;
	justify-content: flex-end;
	padding: 20px 20px 10px;
	/*background-color: red;*/
	/*opacity: 0.5;*/
	/*background-color: rgb(227, 255, 255);*/
	height: fit-content;
	font-family: var(--display);
	/*padding-bottom: 30px;*/
}

.post_nav div:has(.link_prev) {
	justify-content: space-between;
}

.post_nav div.dtop {
	display: none;
}

.post_nav a {
	height: fit-content !important;
}

.post_nav.nav_foot {
	bottom: 0;
	top: auto;
}

/* Fix Pass Thru */
.post_nav.nav_head {
  pointer-events: none;
}

.post_nav.nav_head a {
  pointer-events: auto;
  padding: 6px 12px !important;
}

/* ===== Post Listing ===== */

.post_list {
	border-radius: 30px;
	/*border: solid red 2px;*/
	overflow: hidden;
}

.post_list #body {
	padding: 30px;
}

.post_list h3 {
	font-size: 1.4em;
}

.post_list h3 a {
	text-decoration: none;
}

.blog_block {
	margin-bottom: 25px;
}

.blog_block .inner {
	border: solid var(--dark) 2px;
	height: 100%;
	border-radius: 20px;
	padding: 20px 20px 4px 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;	
	justify-content: space-between;
}

.blog_block .post_thumb {
	/*width: 100%;*/
/*	position: relative;
	height: auto;
	width: calc(100% + 32px);
	margin-left: -16px;
	margin-top: -16px;
	margin-bottom: 15px;*/
	width: 25%;	
	float: right;
}

.blog_block .post_thumb img {
	border-radius: 1000px;
	max-width: 100%;
	height: auto;
/*	width: 100%;
	height: auto;
	border-radius: 16px 16px 0 0;*/
}

.blog_block .inner p {
	font-size: 0.8em;
}

.blog_block .topics {
	width: calc(100% + 32px);
	margin-left: -16px;	
	/*margin-bottom: -16px;*/
	margin-bottom: 0;
	border-radius: 0 0 16px 16px;
}

.pagination {
	display: flex;
	justify-content: center;
}

.pagination > * {
	width: fit-content;
	font-family: var(--display);
}

/* ===== Special Styles ===== */



@media(min-width: 576px) {

	figure.alignright {
		width: fit-content;
  		/*float: inherit;*/
  		float: right;
  		max-width: 250px;
  		height: auto;
  		margin-left: 1.5em;
	}

}

@media(min-width: 768px) {

	.single_post, .post_list {
		display: flex;
	}

	#body {
		flex: 1;
	}

	#body h1 {
		padding-top: 0px;
	}	

	#sidebar {
		padding: 4vw 0 15px;
		width: 300px;
	}

	.wp-block-post-featured-image {
		/*width: calc(100% + 8vw + 15px);*/
	}	

	/* ======== Post Nav ======== */

	.post_nav div.dtop {
		display: flex;
	}

	.post_nav .m_only {
		display: none;
	}

	/* ===== Special Styles ===== */

	.row.colfill.floatright {
		width: 50%;
		margin-left: 20px;
	}		

}

@media(min-width: 1200px) {

	.single_post #body.pad1 {
		padding-bottom: 4vw !important;
	}	
	
	.single_post, .post_list {
		/*border-radius: 30px;*/
	}

	.wp-block-post-featured-image {
		/*width: calc(98% + 8vw);*/
	}	

	.wp-block-post-featured-image img {
		/*border-radius: 0 30px 30px 0;*/
	}	
}