/*
Theme Name: Astra Custom Child
Theme URI: https://ss.semloz.xyz/
Description: Custom child theme for Astra.
Author: Custom
Template: astra
Version: 4.0.2
*/


/* ==========================================================
   GLOBAL
   ========================================================== */

html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

.custom-site {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #ffffff;
}

.custom-site-content {
	width: 100%;
	margin: 0;
	padding: 0;
}


/* ==========================================================
   SINGLE POST MAIN LAYOUT
   ========================================================== */

.custom-single-container {
	width: calc(100% - 40px);
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px 0 50px;
}

.custom-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 270px;
	gap: 30px;
	align-items: start;
}

.custom-main-content {
	width: 100%;
	min-width: 0;
}

.custom-single-post {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #ffffff;
}


/* ==========================================================
   REMOVE FEATURED IMAGE SPACE FROM MAIN SINGLE POST ONLY
   ========================================================== */

.custom-single-page .custom-main-content > .post-thumb,
.custom-single-page .custom-main-content > .featured-image,
.custom-single-page .custom-main-content > .post-featured-image,
.custom-single-page .custom-main-content > .wp-post-image,
.custom-single-page .custom-main-content > figure.post-thumb,
.custom-single-page .custom-main-content > .ast-article-post-image,
.custom-single-page .custom-main-content > .ast-post-image,
.custom-single-page .custom-main-content > .post-image,
.custom-single-page .custom-main-content .ast-article-post-image,
.custom-single-page .custom-main-content .ast-post-image {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}


/* ==========================================================
   SINGLE POST HEADER
   ========================================================== */

.single-post-header {
	width: 100%;
	margin: 0 0 28px;
	padding: 0;
}

.single-post-category {
	margin: 0 0 10px;
	padding: 0;
}

.single-post-category a {
	display: inline-block;
	margin: 0;
	padding: 5px 10px;

	background: #f3f4f6;
	color: #1769aa;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;

	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.3px;

	border-radius: 2px;
}

.single-post-category a:hover {
	color: #0f4f80;
	background: #e9edf1;
}


/* ==========================================================
   SINGLE POST TITLE
   ========================================================== */

.single-post-title {
	margin: 0 0 13px !important;
	padding: 0 !important;

	color: #222222 !important;

	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 34px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;

	letter-spacing: -0.3px;
}


/* ==========================================================
   SINGLE POST META
   ========================================================== */

.single-post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	margin: 0;
	padding: 0;

	color: #777777;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.single-post-meta span {
	display: inline-flex;
	align-items: center;

	margin: 0;
	padding: 0;
}

.single-post-meta span + span::before {
	content: "•";

	display: inline-block;

	margin: 0 9px;

	color: #b5b5b5;
}

.single-post-author {
	color: #666666;
}

.single-post-updated {
	color: #777777;
}


/* ==========================================================
   SINGLE POST CONTENT
   ========================================================== */

.single-post-content {
	width: 100%;
	margin: 0;
	padding: 0;

	color: #444444;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.8;
}


/* ==========================================================
   PARAGRAPHS
   ========================================================== */

.single-post-content p {
	margin: 0 0 20px;
	padding: 0;
}

.single-post-content p:last-child {
	margin-bottom: 0;
}


/* ==========================================================
   HEADINGS
   ========================================================== */

.single-post-content h2 {
	margin: 32px 0 14px;
	padding: 0;

	color: #222222;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.35;
}

.single-post-content h3 {
	margin: 28px 0 12px;
	padding: 0;

	color: #222222;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.4;
}

.single-post-content h4 {
	margin: 24px 0 10px;
	padding: 0;

	color: #222222;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.single-post-content h2:first-child,
.single-post-content h3:first-child,
.single-post-content h4:first-child {
	margin-top: 0;
}


/* ==========================================================
   ARTICLE LINKS
   ========================================================== */

.single-post-content a {
	color: #1769aa;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.single-post-content a:hover {
	color: #0f4f80;
}


/* ==========================================================
   BOLD TEXT
   ========================================================== */

.single-post-content strong,
.single-post-content b {
	color: #333333;
	font-weight: 700;
}


/* ==========================================================
   LISTS
   ========================================================== */

.single-post-content ul,
.single-post-content ol {
	margin: 0 0 22px;
	padding-left: 25px;
}

.single-post-content li {
	margin: 0 0 8px;
	padding: 0;
}

.single-post-content li:last-child {
	margin-bottom: 0;
}


/* ==========================================================
   BLOCKQUOTE
   ========================================================== */

.single-post-content blockquote {
	margin: 25px 0;
	padding: 15px 20px;

	background: #f7f7f7;

	border-left: 4px solid #1769aa;

	color: #555555;

	font-size: 16px;
	line-height: 1.7;
}

.single-post-content blockquote p {
	margin-bottom: 0;
}


/* ==========================================================
   ARTICLE IMAGES
   ========================================================== */

.single-post-content img {
	display: block;

	max-width: 100%;
	height: auto;

	margin: 24px auto;
}

.single-post-content figure {
	margin: 25px 0;
	padding: 0;
}

.single-post-content figure img {
	margin: 0 auto;
}

.single-post-content figcaption {
	margin-top: 7px;

	color: #777777;

	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}


/* ==========================================================
   TABLES
   ========================================================== */

.single-post-content table {
	width: 100%;
	margin: 25px 0;

	border-collapse: collapse;
	border-spacing: 0;

	font-size: 14px;
	line-height: 1.5;
}

.single-post-content th,
.single-post-content td {
	padding: 10px 12px;

	border: 1px solid #dddddd;

	text-align: left;
	vertical-align: top;
}

.single-post-content th {
	background: #f5f5f5;
	color: #333333;
	font-weight: 700;
}


/* ==========================================================
   HORIZONTAL RULE
   ========================================================== */

.single-post-content hr {
	margin: 30px 0;

	border: 0;
	border-top: 1px solid #e5e5e5;
}


/* ==========================================================
   PAGE LINKS
   ========================================================== */

.single-post-content .page-links {
	margin: 30px 0 0;
	padding: 15px 0;

	border-top: 1px solid #e5e5e5;

	color: #555555;
	font-size: 14px;
}

.single-post-content .page-links a {
	display: inline-block;

	margin-left: 5px;
	padding: 3px 8px;

	border: 1px solid #dddddd;

	text-decoration: none;
}


/* ==========================================================
   SINGLE POST FOOTER
   ========================================================== */

.single-post-footer {
	width: 100%;
	margin: 35px 0 0;
	padding: 0;
}


/* ==========================================================
   TAGS
   ========================================================== */

.single-post-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	gap: 7px;

	margin: 0 0 30px;
	padding: 18px 0;

	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}

.tags-label {
	margin-right: 3px;

	color: #444444;

	font-size: 13px;
	font-weight: 700;
}

.post-tag {
	display: inline-block;

	margin: 0;
	padding: 4px 9px;

	background: #f4f4f4;
	color: #666666;

	font-size: 12px;
	line-height: 1.4;

	text-decoration: none;

	border: 1px solid #e3e3e3;
	border-radius: 2px;
}

.post-tag:hover {
	background: #eeeeee;
	color: #1769aa;
}


/* ==========================================================
   PREVIOUS / NEXT ARTICLE
   ========================================================== */

.single-post-navigation {
	display: grid;

	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

	gap: 18px;

	width: 100%;
	margin: 0;
	padding: 0;
}

.previous-post,
.next-post {
	display: flex;
	flex-direction: column;

	min-width: 0;

	margin: 0;
	padding: 17px 18px;

	background: #ffffff;

	border: 1px solid #e1e1e1;
	border-radius: 3px;
}

.previous-post {
	text-align: left;
}

.next-post {
	text-align: right;
}

.navigation-label {
	display: block;

	margin: 0 0 8px;
	padding: 0;

	color: #777777;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;

	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.navigation-post-link {
	display: block;

	width: 100%;
	margin: 0;
	padding: 0;

	color: #222222 !important;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;

	text-decoration: none !important;

	overflow-wrap: anywhere;
}

.navigation-post-link strong {
	display: block;

	margin: 0;
	padding: 0;

	color: inherit;

	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
}

.navigation-post-link:hover {
	color: #1769aa !important;
}


/* ==========================================================
   NO RESULTS
   ========================================================== */

.custom-no-results {
	width: 100%;
	margin: 0;
	padding: 35px 0;
}

.custom-no-results h1 {
	margin: 0 0 12px;
	padding: 0;

	color: #222222;

	font-size: 28px;
	line-height: 1.3;
}

.custom-no-results p {
	margin: 0 0 20px;
	padding: 0;

	color: #666666;
	font-size: 15px;
}

.custom-button {
	display: inline-block;

	padding: 9px 15px;

	background: #1769aa;
	color: #ffffff !important;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;

	text-decoration: none !important;

	border-radius: 2px;
}

.custom-button:hover {
	background: #0f4f80;
	color: #ffffff !important;
}


/* ==========================================================
   FOOTER
   ========================================================== */

body .ss-minimal-footer {
	display: block !important;

	width: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	background: #ffffff !important;

	border-top: 1px solid #e5e5e5 !important;
}


/* ==========================================================
   FOOTER INNER
   ========================================================== */

body .ss-minimal-footer .ss-minimal-footer-inner {
	display: flex !important;

	align-items: center !important;

	justify-content: space-between !important;

	width: calc(100% - 40px) !important;

	max-width: 1100px !important;

	min-height: 52px !important;

	margin: 0 auto !important;

	padding: 0 !important;

	gap: 30px !important;
}


/* ==========================================================
   COPYRIGHT
   ========================================================== */

body .ss-minimal-footer .ss-footer-copyright {
	display: block !important;

	flex: 0 0 auto !important;

	width: auto !important;

	margin: 0 !important;

	padding: 0 !important;

	color: #666666 !important;

	font-family: Arial, Helvetica, sans-serif !important;

	font-size: 15px !important;

	font-weight: 400 !important;

	line-height: 1.5 !important;

	white-space: nowrap !important;
}


/* ==========================================================
   LINKS CONTAINER
   ========================================================== */

body .ss-minimal-footer .ss-footer-links {
	display: flex !important;

	align-items: center !important;

	justify-content: flex-end !important;

	flex: 0 1 auto !important;

	width: auto !important;

	margin: 0 !important;

	padding: 0 !important;

	white-space: nowrap !important;
}


/* ==========================================================
   FOOTER LINKS
   ========================================================== */

body .ss-minimal-footer .ss-footer-links a {
	display: inline-block !important;

	width: auto !important;

	margin: 0 !important;

	padding: 0 10px !important;

	color: #666666 !important;

	font-family: Arial, Helvetica, sans-serif !important;

	font-size: 14px !important;

	font-weight: 400 !important;

	line-height: 1.5 !important;

	text-decoration: none !important;

	white-space: nowrap !important;

	border-right: 1px solid #dddddd !important;
}


body .ss-minimal-footer .ss-footer-links a:first-child {
	padding-left: 0 !important;
}


body .ss-minimal-footer .ss-footer-links a:last-child {
	padding-right: 0 !important;

	border-right: 0 !important;
}


body .ss-minimal-footer .ss-footer-links a:hover {
	color: #1769aa !important;
}


/* ==========================================================
   BACK TO TOP
   ========================================================== */

body .ss-minimal-footer .ss-footer-top {
	display: flex !important;

	align-items: center !important;

	justify-content: center !important;

	flex: 0 0 28px !important;

	width: 28px !important;

	height: 28px !important;

	margin: 0 0 0 5px !important;

	padding: 0 !important;

	color: #ffffff !important;

	background: #777777 !important;

	font-family: Arial, Helvetica, sans-serif !important;

	font-size: 15px !important;

	font-weight: 700 !important;

	line-height: 1 !important;

	text-decoration: none !important;

	border-radius: 2px !important;
}


body .ss-minimal-footer .ss-footer-top:hover {
	color: #ffffff !important;

	background: #555555 !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

	.custom-single-container {
		width: calc(100% - 30px);
		max-width: 920px;
	}

	.custom-single-layout {
		grid-template-columns: minmax(0, 1fr) 245px;
		gap: 24px;
	}

	.single-post-title {
		font-size: 31px !important;
	}

	body .ss-minimal-footer .ss-minimal-footer-inner {
		width: calc(100% - 30px) !important;

		max-width: 920px !important;

		gap: 20px !important;
	}


	body .ss-minimal-footer .ss-footer-copyright {
		font-size: 14px !important;
	}


	body .ss-minimal-footer .ss-footer-links a {
		font-size: 13px !important;

		padding-left: 7px !important;

		padding-right: 7px !important;
	}

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

	.custom-single-container {
		width: calc(100% - 24px);
		max-width: none;
		margin: 0 auto;
		padding: 25px 0 40px;
	}

	.custom-single-layout {
		display: block;
	}

	.custom-main-content {
		width: 100%;
	}

	.single-post-header {
		margin-bottom: 24px;
	}

	.single-post-title {
		font-size: 28px !important;
		line-height: 1.3 !important;
	}

	.single-post-content {
		font-size: 16px;
		line-height: 1.75;
	}

	.single-post-content h2 {
		font-size: 24px;
	}

	.single-post-content h3 {
		font-size: 20px;
	}

	.single-post-navigation {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.previous-post,
	.next-post {
		text-align: left;
	}


	/* Footer */

	body .ss-minimal-footer .ss-minimal-footer-inner {
		display: flex !important;

		flex-direction: column !important;

		align-items: center !important;

		justify-content: center !important;

		width: calc(100% - 24px) !important;

		min-height: 100px !important;

		padding: 14px 0 !important;

		gap: 10px !important;
	}


	body .ss-minimal-footer .ss-footer-copyright {
		width: 100% !important;

		text-align: center !important;

		font-size: 14px !important;

		white-space: normal !important;
	}


	body .ss-minimal-footer .ss-footer-links {
		display: flex !important;

		align-items: center !important;

		justify-content: center !important;

		flex-wrap: wrap !important;

		width: 100% !important;

		white-space: normal !important;

		row-gap: 7px !important;
	}


	body .ss-minimal-footer .ss-footer-links a {
		font-size: 13px !important;

		padding-left: 7px !important;

		padding-right: 7px !important;
	}


	body .ss-minimal-footer .ss-footer-top {
		display: none !important;
	}

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

	.custom-single-container {
		width: calc(100% - 16px);
		padding-top: 20px;
	}

	.single-post-title {
		font-size: 25px !important;
	}

	.single-post-meta {
		font-size: 12px;
	}

	.single-post-content {
		font-size: 15px;
		line-height: 1.75;
	}

	.single-post-content h2 {
		font-size: 22px;
	}

	.single-post-content h3 {
		font-size: 19px;
	}

	.single-post-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.single-post-tags {
		padding: 15px 0;
	}


	body .ss-minimal-footer .ss-minimal-footer-inner {
		width: calc(100% - 16px) !important;

		min-height: 105px !important;

		padding-top: 14px !important;

		padding-bottom: 14px !important;
	}


	body .ss-minimal-footer .ss-footer-copyright {
		font-size: 14px !important;
	}


	body .ss-minimal-footer .ss-footer-links a {
		font-size: 12px !important;

		padding-left: 6px !important;

		padding-right: 6px !important;
	}

}