/** template-article.min.css with sidebar styles **/

/* Original styles */
.grid__item--article-main {
	margin-top: 0
}

.grid__item--article-main .rte {
	overflow-x: hidden
}

.grid__item--article-main .rte h1:first-of-type,
.grid__item--article-main .rte h2:first-of-type,
.grid__item--article-main .rte h3:first-of-type,
.grid__item--article-main .rte h4:first-of-type,
.grid__item--article-main .rte h5:first-of-type,
.grid__item--article-main .rte h6:first-of-type {
	margin-top: 0
}

.post-time {
	display: block;
	text-align: center
}

.article--image-wrapper {
	padding-bottom: 20px
}

@media only screen and (max-width:767px) {
	#shopify-section-article-template .blog-main--wrapper {
		padding-top: 0
	}
}

.blog-main--wrapper .social-sharing {
	bottom: 0;
	opacity: 1;
	position: relative;
	right: 0;
	text-align: left;
	margin-top: 15px
}

.blog-main--wrapper .social-sharing h5 {
	text-transform: none;
	font-size: 12px
}

#comments .comment-wrapper {
	background: var(--body-secondary-color);
	padding: 20px;
	margin-top: 20px
}

#comments .comment-wrapper .comment-data {
	font-size: 12px
}

.article-prev-next-wrapper .left a,
.article-prev-next-wrapper .left svg,
.article-prev-next-wrapper .right a,
.article-prev-next-wrapper .right svg {
	color: var(--link-color);
	vertical-align: middle
}

/* Recent posts section with images */
.blog-sidebar--recent-articles li {
	border-top: 1px solid var(--border-color, #e0e0e0);
	padding: 15px 0;
	transition: background-color 0.2s ease;
}

.blog-sidebar--recent-articles li:first-child {
	border-top: none;
	padding-top: 0;
}

.blog-sidebar--recent-articles li:last-child {
	padding-bottom: 0;
}

.blog-sidebar--recent-articles li:hover {
	background-color: rgba(0, 122, 204, 0.05);
	margin: 0 -10px;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 4px;
}

.blog-sidebar--recent-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.blog-sidebar--recent-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.blog-sidebar--recent-image {
	flex-shrink: 0;
}

.blog-sidebar--recent-image img {
	width: 60px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.blog-sidebar--recent-text {
	flex: 1;
	min-width: 0;
}

.blog-sidebar--recent-title {
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 6px 0;
	line-height: 1.3;
	color: var(--heading-color, #333);
	transition: color 0.2s ease;
	/* display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical; */
	overflow: hidden;
}

.blog-sidebar--recent-link:hover .blog-sidebar--recent-title {
	color: var(--link-color, #007acc);
}

.blog-sidebar--recent-date {
	font-size: 11px;
	color: var(--text-muted, #666);
	font-weight: 300;
	display: block;
	margin-bottom: 4px;
}

.blog-sidebar--recent-excerpt {
	font-size: 12px;
	color: var(--text-muted, #666);
	line-height: 1.4;
	margin: 4px 0 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-sidebar--recent-author {
	font-size: 11px;
	color: var(--text-muted, #888);
	font-style: italic;
	display: block;
	margin-top: 4px;
}

/* NEW SIDEBAR STYLES */

/* Layout with sidebar */
.blog-layout--with-sidebar {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* When sidebar is present */
.blog-layout--with-sidebar:has(.blog-sidebar) .blog-content {
	flex: 2;
	min-width: 0; /* Prevents flex item from overflowing */
}

/* When no sidebar is present */
.blog-layout--with-sidebar:not(:has(.blog-sidebar)) .blog-content {
	flex: 1;
	max-width: 100%;
}

.blog-sidebar {
	flex: 1;
	/* max-width: 350px; */
	min-width: 280px;
}

/* Sidebar sections */
.blog-sidebar--section {
	background: var(--body-secondary-color, #f8f8f8);
	border: 1px solid var(--border-color, #e0e0e0);
	border-radius: 8px;
	padding: 25px 20px;
	margin-bottom: 30px;
}

.blog-sidebar--title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 20px 0;
	color: var(--heading-color, #333);
	border-bottom: 2px solid var(--link-color, #007acc);
	padding-bottom: 10px;
}

.blog-sidebar--content {
	font-size: 14px;
	line-height: 1.5;
}

/* Contact form section */
.blog-sidebar--contact {
	background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.blog-sidebar--contact .blog-sidebar--title {
	color: var(--link-color, #007acc);
}

#forms-app-664349 {
	min-height: 200px;
}

/* Sidebar Contact Form Styles */
.sidebar-contact-form {
	width: 100%;
}

.sidebar-contact-form .form-group {
	margin-bottom: 15px;
}

.sidebar-contact-form label {
	display: block;
	font-weight: 500;
	margin-bottom: 5px;
	color: var(--heading-color, #333);
	font-size: 13px;
}

.sidebar-contact-form input,
.sidebar-contact-form textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--border-color, #ddd);
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.sidebar-contact-form input:focus,
.sidebar-contact-form textarea:focus {
	outline: none;
	border-color: var(--link-color, #007acc);
	box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.1);
}

.sidebar-contact-form textarea {
	resize: vertical;
	min-height: 80px;
	font-family: inherit;
}

.sidebar-contact-form .contact-submit {
	width: 100%;
	background: var(--link-color, #007acc);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.sidebar-contact-form .contact-submit:hover {
	background: var(--link-hover-color, #005a99);
}

.sidebar-contact-form .form-success {
	background: #d4edda;
	color: #155724;
	padding: 12px;
	border-radius: 4px;
	margin-bottom: 15px;
	border: 1px solid #c3e6cb;
}

.sidebar-contact-form .form-success p {
	margin: 0;
	font-size: 14px;
}

.sidebar-contact-form .form-errors {
	background: #f8d7da;
	color: #721c24;
	padding: 12px;
	border-radius: 4px;
	margin-bottom: 15px;
	border: 1px solid #f5c6cb;
	font-size: 13px;
}

/* Loading state styles */
.forms-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	font-size: 14px;
}

/* iframe responsive styling */
.blog-sidebar--contact iframe {
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom sidebar blocks */

/* Newsletter section */
.blog-sidebar--newsletter .newsletter-description {
	font-size: 13px;
	color: var(--text-muted, #666);
	margin: 0 0 15px 0;
	line-height: 1.4;
}

.newsletter-input-group {
	display: flex;
	gap: 0;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid var(--border-color, #ddd);
}

.newsletter-input {
	flex: 1;
	padding: 10px 12px;
	border: none;
	font-size: 14px;
	outline: none;
}

.newsletter-submit {
	background: var(--link-color, #007acc);
	color: white;
	border: none;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.newsletter-submit:hover {
	background: var(--link-hover-color, #005a99);
}

/* Social media section */
.social-links-grid {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	text-decoration: none;
	color: white;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.social-link--facebook {
	background: #1877f2;
}

.social-link--twitter {
	background: #1da1f2;
}

.social-link--instagram {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link--youtube {
	background: #ff0000;
}

.social-link--linkedin {
	background: #0077b5;
}

.social-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
	flex-shrink: 0;
}

/* Advertisement section */
.blog-sidebar--ad .ad-content {
	text-align: center;
}

.blog-sidebar--ad .ad-banner {
	text-align: center;
}

.blog-sidebar--ad .ad-banner img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	transition: transform 0.2s ease;
}

.blog-sidebar--ad .ad-banner a:hover img {
	transform: scale(1.02);
}

/* Custom HTML section */
.blog-sidebar--custom-html .rte {
	font-size: 14px;
	line-height: 1.5;
}

.blog-sidebar--custom-html .rte h1,
.blog-sidebar--custom-html .rte h2,
.blog-sidebar--custom-html .rte h3,
.blog-sidebar--custom-html .rte h4,
.blog-sidebar--custom-html .rte h5,
.blog-sidebar--custom-html .rte h6 {
	margin-top: 0;
	margin-bottom: 10px;
}

.blog-sidebar--custom-html .rte p {
	margin-bottom: 12px;
}

.blog-sidebar--custom-html .rte ul,
.blog-sidebar--custom-html .rte ol {
	margin-bottom: 12px;
	padding-left: 20px;
}

.post-by {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #c6c6c6;
    border-bottom: 1px solid #c6c6c6;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow: 1px 0px 20px 0px #f3f3f3;
}
.post-by time, {
    color: #595858;
}
@media only screen and (min-width: 992px) {
.post-by .social-sharing {
    border-left: 1px solid #c6c6c6;
    padding-left: 1rem;
}
.post-by .social-sharing:first-child {
    border-left: none;
    padding-left: 0;
}
}
/* Tabs responsive updates for new features */
@media only screen and (max-width: 992px) {
	.post-by {
		display: block;
		/* justify-content: space-between; */
		/* align-items: center; */
		border-top: 1px solid #c6c6c6;
		border-bottom: 1px solid #c6c6c6;
		padding-bottom: 1rem;
		padding-left: 1rem;
		padding-right: 1rem;
		box-shadow: 1px 0px 10px 0px #f3f3f3;
	}
	.post-by div.blog-main--wrapper{
    	border-bottom: 1px solid #c6c6c6;
    	padding-bottom: 0.5rem;
	}
}

/* Mobile responsive updates for new features */
@media only screen and (max-width: 768px) {
	.blog-sidebar--recent-item {
		gap: 10px;
	}
	
	.blog-sidebar--recent-image img {
		width: 50px;
		height: 35px;
	}
	
	.newsletter-input-group {
		flex-direction: column;
		border-radius: 4px;
	}
	
	.newsletter-input {
		border-bottom: 1px solid var(--border-color, #ddd);
	}
	
	.newsletter-submit {
		border-radius: 0 0 4px 4px;
	}
	
	.social-links-grid {
		gap: 6px;
	}
	
	.social-link {
		padding: 10px 12px;
	}
}

/* Recent posts section */
.blog-sidebar--recent-articles {
	list-style: none;
	padding: 0;
	margin: 0;
}

.blog-sidebar--recent-articles li {
	border-top: 1px solid var(--border-color, #e0e0e0);
	padding: 15px 0;
	transition: background-color 0.2s ease;
}

.blog-sidebar--recent-articles li:first-child {
	border-top: none;
	padding-top: 0;
}

.blog-sidebar--recent-articles li:last-child {
	padding-bottom: 0;
}

.blog-sidebar--recent-articles li:hover {
	background-color: rgba(0, 122, 204, 0.05);
	margin: 0 -10px;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 4px;
}

.blog-sidebar--recent-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.blog-sidebar--recent-title {
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 8px 0;
	line-height: 1.3;
	color: var(--heading-color, #333);
	transition: color 0.2s ease;
}

.blog-sidebar--recent-link:hover .blog-sidebar--recent-title {
	color: var(--link-color, #007acc);
}

.blog-sidebar--recent-date {
	font-size: 12px;
	color: var(--text-muted, #666);
	font-weight: 300;
	display: block;
}

/* Categories section */
.blog-sidebar--categories-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.blog-sidebar--category-item {
	display: inline-block;
}

.blog-sidebar--category-link {
	display: inline-block;
	background: var(--link-color, #007acc);
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.blog-sidebar--category-link:hover {
	background: var(--link-hover-color, #005a99);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(0, 122, 204, 0.3);
}

.blog-sidebar--no-categories {
	color: var(--text-muted, #666);
	font-style: italic;
	text-align: center;
	margin: 0;
}

/* Mobile responsive design */
@media only screen and (max-width: 1024px) {
	.blog-layout--with-sidebar {
		gap: 30px;
	}
	
	.blog-sidebar {
		max-width: 300px;
		min-width: 250px;
	}
}

@media only screen and (max-width: 768px) {
	.blog-layout--with-sidebar {
		flex-direction: column;
		gap: 40px;
	}
	
	.blog-content,
	.blog-sidebar {
		flex: none;
		max-width: none;
		min-width: auto;
		width: 100%;
	}
	
	.blog-sidebar--section {
		padding: 20px 15px;
		margin-bottom: 25px;
	}
	
	.blog-sidebar--title {
		font-size: 16px;
		margin-bottom: 15px;
	}
}

@media only screen and (max-width: 480px) {
	.blog-sidebar--section {
		padding: 15px 12px;
		margin-bottom: 20px;
	}
	
	.blog-sidebar--categories-list {
		gap: 6px;
	}
	
	.blog-sidebar--category-link {
		padding: 5px 10px;
		font-size: 11px;
	}
}

b, strong {
    font-weight: 900 !important;
}