* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Lexend';
	font-size: 18px;
	line-height: 1.6;
	color: #333;
	background-color: #fbfbfb;
}

*, 
*::before, 
*::after {
	box-sizing: border-box;
}

/* Post content container */
.wp-block-post-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', Arial, sans-serif;
    line-height: 1.65;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
    color: #333333;
}

/* Headings */
h1 {
    font-size: 2rem; /* 32px at 16px base */ 
    font-weight: 700;
    color: #000000;
    margin: 1.5rem 0 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem; /* 24px */
    color: #000000;
    font-weight: 600;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.25rem; /* 20px */
    color: #333333;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem;
    line-height: 1.4;
}

h4, h5, h6 {
    font-size: 1.125rem; /* 18px */
    color: #333333;
    font-weight: 500;
    margin: 1rem 0 0.5rem;
    line-height: 1.4;
}

/* Paragraph */
p {
    font-size: 18px; /* 16px */
    color: #444444;
    margin: 1rem 0;
    line-height: 1.65;
}

/* Images */
img {
    max-width: 100%;
    height: auto; 
    border-radius: 5px;
    display: block; /* Prevents CLS */
}

/* Links */
a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #1c9aea; 
    outline: none; /* Accessibility */
}
 
/* Button */
button, .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2.ConcurrentModificationException: 3s ease, transform 0.2s ease;
}

button:hover, .button:hover,
button:focus, .button:focus {
    background: #174ea6;
    transform: translateY(-2px); /* Subtle lift */
    color: #ffffff;
    outline: none;
}

button:focus, .button:focus {
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.3);
}

/* Horizontal Rule */
hr {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 1.5rem 0;
}

/* Code Blocks (for tech/AI posts) */
pre {
    background: #1e1e1e;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem; /* 14px */
    overflow-x: auto;
    margin: 1rem 0;
    line-height: 1.5;
}

code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* Gutenberg Code Block */
.wp-block-code pre {
    background: #1e1e1e;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
}

ul {
	margin: 15px 0;
	padding-left: 30px;
}

ul li {
    margin-bottom: 10px;
}

ul li:last-child {
    margin-bottom: 0px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .wp-block-post-content {
        padding: 15px 10px;
    }
    h1 {
        font-size: 1.75rem; /* 28px */
    }
    h2 {
        font-size: 1.25rem; /* 20px */
    }
    h3 {
        font-size: 1.125rem; /* 18px */
    }
    h4, h5, h6 {
        font-size: 1rem; /* 16px */
    }
    p {
        font-size: 0.9375rem; /* 15px */
    }
    button, .button {
        padding: 0.5rem 1rem;
        font-size: 0.9375rem;
    }
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

.search-box {
	display: flex;
	position: relative;
}

.search-box form {
	position: relative;
}

.search-box form > input {
	border: 1px solid #1c9aea;
	padding: 15px 15px;
	border-radius: 4px;
	padding-left: 45px;
	font-size: 16px;
	line-height: 22px;
	font-weight: 500;
	width: 400px;
	color: #000;
	outline: 0;
}

.search-box form svg {
	position: absolute;
	left: 10px;
	top: 14px;
	width: 24px;
	height: 24px;
	fill: #1c9aea;
}

.main-header {
	padding: 15px 20px;
	background-color: #fff;
}

.main-header .mh-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 25px;
}

.main-header .mh-row .mh-logo {
	display: flex;
}

.main-header .mh-row .mh-logo a.custom-logo-link {
	display: flex;
}

.main-header .mh-row .mh-logo a.custom-logo-link img.custom-logo {
	max-width: 120px;
	margin: 0;
}

.main-header .mh-row .mh-search {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

footer.main-footer {
	padding: 15px 20px;
	background-color: #ffffff;
}

footer.main-footer .fb-crtext {
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	color: #000;
}

article.all-post {
	padding: 0 20px;
	padding-top: 80px;
	padding-bottom: 80px;
}
.ap-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.ap-col {
	width: calc(33.33% - 16px);
}

.post-card {
	background-color: #ffffff;
	box-shadow: 0 0 0 1px rgb(23 23 23 / 3%);
	border-radius: 4px;
	padding: 15px;
}

.post-card .post-card-img {
	display: block;
}

.post-card .post-card-img img {
	height: 200px;
	width: 100%;
	object-fit: cover;
	display: block;
	border-radius: 4px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;

	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	-ms-user-drag: none;
	user-drag: none;
}

.post-card .post-card-content {
	padding-top: 15px;
}

.post-card .post-card-content .post-card-date {
	display: flex;
	margin-bottom: 5px;
	font-size: 14px;
	color: #3d3d3d;
	font-weight: 500;
}

.post-card .post-card-content h3 {
	font-size: 28px;
	font-weight: 600;
	color: #171717;
	line-height: 38px;
	margin-top: 0px;
	margin-bottom: 10px;
}

.post-card .post-card-content p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.single-detail-post {
	padding: 0px 20px; 
}

.single-detail-post .sdp-content {
	max-width: 850px;
	margin: 0 auto;
	width: 100%;
}

.single-detail-post .sdp-content .blog-details-content {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #f6f6f6; 
}

.single-detail-post .sdp-content .blog-details-content figure.image-box {
	display: block;
	margin-bottom: 15px;
}

.single-detail-post .sdp-content .blog-details-content figure.image-box img {
	width: 100%; 
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
	display: block;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;

	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	-ms-user-drag: none;
	user-drag: none;
} 

.single-detail-post .sdp-content .blog-details-content .bdc-cd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.single-detail-post .sdp-content .blog-details-content .bdc-cd .bdc-cat {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	flex: 1;
}

.single-detail-post .sdp-content .blog-details-content .bdc-cd .bdc-cat a {
	font-size: 16px;
	font-weight: 500;
}

.single-detail-post .sdp-content .blog-details-content .bdc-cd .bdc-date {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 500;
	color: #3d3d3d;
}

.single-detail-post .sdp-content .blog-details-content .bdc-cd .bdc-date span {
	flex: 1;
}

.single-detail-post .sdp-content .blog-details-content .bdc-cd .bdc-date svg {
	width: 24px;
	height: 24px;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-tag {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-tag a {
	font-size: 14px;
	font-weight: 600;
	color: #0d8bd7;
	text-decoration: underline;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-share {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 15px;
	border-top: 1px solid #ddd;
	padding-top: 15px;
	justify-content: flex-end;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-share .pis-label {
	font-size: 14px;
	font-weight: 600;
	color: #000;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-share .pis-social {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-share a {
	display: flex;
	color: #000;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-share a:hover {
	color: #0b8bd6;
}

.single-detail-post .sdp-content .blog-details-content .post-info .pi-share a svg {
	width: 24px;
	height: 24px;
}

.recent-posts {
	padding-top: 100px;
	padding-bottom: 100px;
}

.recent-posts .apm-title {
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #000;
	text-align: center;
}

.recent-posts .ap-row {
	justify-content: center;
}

h1.bdc-title {
	color: #000;
}

section.main-title {
	border-top: 1px solid #f6f6f6;
	padding: 20px;
	background-color: #fff;
}

section.main-title h1 {
	margin: 0;
	text-align: center;
	color: #000;
}

@media (min-width: 768px) and (max-width: 991.98px) { 
	.ap-col {
		width: calc(50% - 12px);
	}
}

@media (max-width: 767.98px) { 
	.ap-col {
		width: 100%;
	}

	.main-header .mh-row .mh-logo a.custom-logo-link img.custom-logo {
		max-width: 110px;
	}

	.search-box {
		max-width: 400px;
		width: 100%;
	}

	.search-box form { 
		width: 100%;
	}

	.search-box form > input {
		width: 100%;
	}

	.single-detail-post .sdp-content .blog-details-content figure.image-box img { 
		height: 300px; 
	}
	section.main-title h1 {
		font-size: 22px;
	}
}

@media (max-width: 575.98px) { 
	.single-detail-post .sdp-content .blog-details-content figure.image-box img {
		height: 200px;
	}
}