*,
*:before,
*:after {
	box-sizing: border-box;
	font-family: inherit;
	max-width: 100%;
}

main {
	width: 100%;
	max-width: 42rem;
	margin: 6rem auto;
	padding: 0 1rem;
}

.layout {
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
}

img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.post {
	h1 {
		margin-bottom: 1rem;
	}

	/* New meta styles */
	.meta {
		font-size: 0.9rem;
		color: var(--slate); /* Muted color for meta info */
		margin-top: 0.5rem;
		display: flex;
		gap: 1rem;
		align-items: center;
	}

	.meta span {
		color: var(--white); 
		display: inline-block;
		padding: 0.2rem 0.5rem;
		background-color: var(--dark);
		/* border: 1px solid #ddd;
		border-radius: 4px; */
	}

	.meta span.updated {
		color: var(--accent); 
		font-weight: bold;
	}

	img+h1 {
		margin-top: 1rem;
	}
}

li {
	margin-bottom: 0.25rem;
}

.posts-list {
	list-style-type: none;
	padding: 0;

	li {
		margin-bottom: 6rem;
	}

	img+h2 {
		margin-top: 1rem;
	}

	a {
		display: block;
	}

	/* New meta styles */
	.meta {
		font-size: 0.9rem;
		color: var(--slate); /* Muted color for meta info */
		margin-top: 0.5rem;
		display: flex;
		gap: 1rem;
		align-items: center;
	}

	.meta span {
		color: var(--white); 
		display: inline-block;
		padding: 0.2rem 0.5rem;
		background-color: var(--dark);
		/* border: 1px solid #ddd;
		border-radius: 4px; */
	}

	.meta span.updated {
		color: var(--accent); 
		font-weight: bold;
	}
}



.post-footer__categories {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-footer li {
	display: inline-block;
	font-size: 0.8rem;
}

.post-footer a {
	background-color: var(--lightAccent);
	padding: .5rem 0.75rem;
	text-transform: uppercase;
	font-family: var(--primaryFont);
	font-weight: bold;
}

.icon-link {
	position: relative;
}

.icon-link::before {
	content: url('/link.svg');
	fill: currentColor;
	position: absolute;
	left: -1rem;
	width: 1rem;
	height: 1rem;
	top: 0;
	opacity: 0.2;
	transition: opacity .2s;
}

@media (min-width: 48rem) {
	.icon-link::before {
		left: -1.5rem;
	}
}

.icon-link:hover::before {
	opacity: 1;
}

.blog-more{
	float:right;
}

.social-media-share {
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    margin-top: 0.5rem; /* Reduce space between post and icons */
    margin-bottom: 1rem; /* Optional: Add some space below the icons */
}

.social-media-content {
    display: flex;
    gap: 0.5rem; /* Reduce spacing between icons */
}

.social-media-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Smaller size */
    height: 30px;
    border-radius: 50%; /* Circular shape */
    background-color: var(--darker); /* Dark background for icons */
    color: var(--white); /* Icon color */
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* No underline */
    font-size: 0.8rem; /* Optional: Adjust font size for SVGs */
}

.social-media-content a:hover {
    background-color: var(--accent); /* Highlight on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

.social-media-content svg {
    width: 18px; /* Adjust SVG size */
    height: 18px;
}
