/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Hello Elementor Child Theme
Author: Manus AI
Author URI: https://manus.im
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

/* ============================================
   GENERAL STYLES
   ============================================ */

:root {
	--primary-text-color: #333333;
	--secondary-text-color: #666666;
	--tertiary-text-color: #999999;
	--background-color: #ffffff;
	--border-color: #e0e0e0;
	--max-content-width: 900px;
}

html, body {
	background-color: var(--background-color);
	color: var(--primary-text-color);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
}

/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */

.site-main {
	max-width: var(--max-content-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================================
   POST HEADER SECTION
   ============================================ */

.post-header-section {
	margin-bottom: 60px;
}
.post-featured-image {
    width: 100vw; /* This makes the image span the full viewport width */
    margin-left: calc(50% - 50vw); /* This centers the image and pulls it to the edges */
    margin-right: calc(50% - 50vw);
    margin-bottom: 40px;
    overflow: hidden;
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
   POST META CONTAINER
   ============================================ */

.post-meta-container {
	text-align: left;
}

.post-category {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tertiary-text-color);
	margin-bottom: 15px;
}

.entry-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px 0;
	color: var(--primary-text-color);
	font-family: Georgia, 'Times New Roman', serif;
	letter-spacing: -0.5px;
}

.post-date-read-time {
	font-size: 14px;
	color: var(--tertiary-text-color);
	font-weight: 400;
	letter-spacing: 0.5px;
}

.post-date {
	margin-right: 10px;
}

.post-read-time {
	margin-left: 10px;
}

/* ============================================
   POST CONTENT WRAPPER
   ============================================ */

.post-content-wrapper {
	margin-bottom: 60px;
}

.post-entry-content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--primary-text-color);
}

.post-entry-content p {
	margin-bottom: 20px;
	text-align: justify;
}

.post-entry-content h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 40px 0 20px 0;
	color: var(--primary-text-color);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.post-entry-content h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 30px 0 15px 0;
	color: var(--primary-text-color);
}

.post-entry-content img {
	max-width: 100%;
	height: auto;
	margin: 30px 0;
	display: block;
}

.post-entry-content figure {
	margin: 30px 0;
}

.post-entry-content figcaption {
	font-size: 14px;
	color: var(--tertiary-text-color);
	text-align: center;
	margin-top: 10px;
	font-style: italic;
}

/* ============================================
   POST TAGS
   ============================================ */

.post-tags {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	font-size: 14px;
	color: var(--secondary-text-color);
}

.tag-links {
	display: inline;
}

.tag-links a {
	color: var(--secondary-text-color);
	text-decoration: none;
	margin-right: 10px;
	transition: color 0.3s ease;
}

.tag-links a:hover {
	color: var(--primary-text-color);
	text-decoration: underline;
}

/* ============================================
   SOCIAL SHARE SECTION
   ============================================ */

.post-social-share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin: 50px 0;
	padding: 30px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.share-label {
	font-size: 14px;
	color: var(--secondary-text-color);
	font-weight: 500;
	letter-spacing: 0.5px;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--tertiary-text-color);
	color: var(--background-color);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
	background-color: var(--primary-text-color);
	transform: scale(1.1);
}

.social-icon.facebook {
	background-color: #3b5998;
}

.social-icon.facebook:hover {
	background-color: #2d4373;
}

.social-icon.linkedin {
	background-color: #0077b5;
}

.social-icon.linkedin:hover {
	background-color: #005885;
}

/* ============================================
   RELATED ARTICLES SECTION
   ============================================ */

.related-articles-section {
	margin-top: 80px;
	padding-top: 60px;
	border-top: 1px solid var(--border-color);
}

.related-articles-section h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 40px;
	color: var(--primary-text-color);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	text-align: center;
}

.related-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}

.related-article-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article-card:hover {
	transform: translateY(-5px);
}

.related-article-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 20px;
	display: block;
}

.related-article-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 12px;
	font-size: 12px;
	color: var(--tertiary-text-color);
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.related-article-date {
	display: inline;
}

.related-article-read-time {
	display: inline;
}

.related-article-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--primary-text-color);
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.related-article-card a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

.related-article-card a:hover .related-article-title {
	color: var(--secondary-text-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
	.entry-title {
		font-size: 36px;
	}

	.related-articles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.related-article-image {
		height: 200px;
	}

	.related-article-title {
		font-size: 16px;
	}

	.post-social-share {
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.site-main {
		padding: 0 15px;
	}

	.entry-title {
		font-size: 28px;
	}

	.post-featured-image {
		margin-bottom: 30px;
	}

	.post-meta-container {
		margin-bottom: 30px;
	}

	.related-articles-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.related-article-image {
		height: 180px;
	}

	.post-entry-content {
		font-size: 15px;
	}

	.post-entry-content h2 {
		font-size: 20px;
		margin: 30px 0 15px 0;
	}

	.post-social-share {
		padding: 20px 0;
	}

	.related-articles-section h2 {
		font-size: 24px;
		margin-bottom: 30px;
	}
}
