/*Single Post Utility Designs*/

/* ── Body content typography ── */

.body-left-page {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

/* Override global capitalize on paragraphs inside article body */
.body-left-page p {
	text-transform: none !important;
}

.body-left-page h2 { font-size: 2.2rem; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin: 32px 0 12px !important; padding: 0 !important; border-bottom: none !important; }
.body-left-page h3 { font-size: 1.9rem; font-weight: 700; color: #222; line-height: 1.35; margin: 24px 0 10px !important; }
.body-left-page h4 { font-size: 1.7rem; font-weight: 600; color: #333; line-height: 1.4; margin: 20px 0 8px !important; }

.body-left-page h2.wp-block-heading {
	font-size: 2.2rem;
	font-weight: 700;
	color: #1a1a1a;
	text-align: left;
	padding: 0 0 10px !important;
	margin: 32px 0 14px !important;
	text-transform: none;
	border-bottom: 2px solid #f0f0f0;
	background: none;
}

.body-left-page ul, .body-left-page ol {
	margin: 8px 0 16px;
	padding: 0 0 0 22px;
}

.body-left-page ul>li, .body-left-page ol>li {
	padding: 5px 0;
	list-style: auto;
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: #2d2d2d;
}

.body-left-page > img {
	width: 60% !important;
	margin: 0px auto;
	text-align: center;
	display: flex;
}

figcaption.wp-element-caption {
	font-size: 13px;
	margin-top: 7px;
	color: #888;
	text-align: center;
	font-style: italic;
}

.wp-block-image {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 15px;
	margin: 20px 0;
}

strong { font-weight: 700; color: #111; }

/* ── Table design ── */

figure.wp-block-table {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid #e5e5e5;
	margin: 24px 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	margin: 0;
	background: white;
}

thead {
	background: #f8f9fa;
	text-align: left;
}

thead th {
	padding: 13px 16px;
	font-size: 13px;
	font-weight: 700;
	color: #444;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e5e5e5;
}

td {
	border-bottom: 1px solid #eee;
	padding: 12px 16px;
	font-size: 15px;
	color: #333;
	vertical-align: top;
	line-height: 1.6;
}

tr:last-child td { border-bottom: none; }

tr:nth-child(even) { background-color: #fafafa; }

tr:hover { background-color: #f4f6f8; }

td:first-child {
	font-weight: 600;
	color: #1a1a1a;
	white-space: nowrap;
	width: auto;
}

/**Single Post Layout **/

.homemint_page {
	display: grid;
	grid-template-columns: 2.5fr 1fr;
	width: 90%;
	margin: 20px auto;
	grid-gap: 20px;
	padding: 16px;
}

.body-left-page {
	background: white;
	padding: 16px 16px;
}

div#rank-math-toc {
	width: 90%;
	background: white;
	padding: 10px 30px;
	border-radius: 20px;
	border: 1px solid gainsboro;
	margin: 10px auto;
}

div#rank-math-toc a {
	color: var(--bgdim);
	text-decoration: underline;
}

.body-left-page p {
	font-size: 17px;
	line-height: 1.82;
	margin: 0 0 18px;
	padding: 0;
	color: #2d2d2d;
	text-transform: none !important;
}

.custom_featured_image {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	margin: 0px auto;
	width: 90%;
}

.custom_featured_image img {
	max-width: 90%;
	height: auto;
	margin: 10px auto 0px;
	text-align: center;
	align-items: center;
	display: flex;
	min-width: 90%;
	box-shadow: var(--hoversha);
}

.custom_featured_image img:hover {
	transition: .1s ease all;
	transform: scale(1.01);
}

.featured_img_caption {
	font-size: 13px !important;
	color: var(--bgdim) !important;
	padding: 0px !important;
	margin: 0px 0px 7px 0px !important;
	text-transform: uppercase;
	text-align: center;
}

.post_top_share {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 6px;
}

.post_top_share div {
	height: 25px;
	width: 25px;
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 30%;
	box-shadow: var(--sha);
	cursor: pointer;
}

.post_top_share svg {
	width: 29px;
	height: 27px;
}

.post_top_share div:hover {
	transition: scale(1.1);
}

h1.posttitle {
    padding: 0px 16px;
    font-size: 30px;
    color: var(--pridim);
    font-weight: 700;
    text-transform: capitalize;
    text-align: left;
    margin: 0px auto;
}

.breadcrumb {
    margin: 0px;
    text-align: left;
    padding: 5px 16px;
    font-size: 1.6rem;
}

.breadcrumb a {
	color: var(--bgdim);
}

.post_top_info {
    margin: 5px 5px;
    padding: 0;
}

/* Single combined box — all meta items in one row */
.post_top_info_meta {
    display: inline-flex;
    align-items: stretch;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    flex-wrap: wrap;
}

/* Each item inside the box */
.post_top_info_meta > div {
    display: inline-flex;
    align-items: flex-end;
    gap: 9px;
    padding: 5px 4px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    background: none;
    border: none;
    border-radius: 0;
}

/* | separator between items */

.post_top_info_meta > div p,
.post_top_info_meta > div span {
	font-size: 13px !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #333 !important;
	line-height: 1 !important;
	text-transform: none !important;
}

.post_top_info_meta > div a {
	color: var(--pridim) !important;
	font-weight: 600;
	font-size: 13px !important;
	text-decoration: none;
}

.post_top_info_meta > div svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	opacity: 0.5;
}

/**Related Posts Design **/

.related_posts {
	width: 100%;
	max-width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, var(--asgtc));
	gap: 20px;
	justify-content: center;
	align-items: center;
	margin: 0px auto;
}

.related_post_child {
	width: var(--asgtc);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.related_post_child_featured {
	width: 100%;
}

.related_post_child_featured img {
	width: 100%;
	height: 100%;
	aspect-ratio: 2/1;
	object-fit: cover;
}

.related_post_child_title a h3 {
	font-size: 15px;
	padding: 0px;
	margin: 8px 3px;
	color: var(--bgdim);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-weight: 500;
	text-overflow: ellipse;
}

/**Post Author Box **/

.author-box {
	max-width: 95%;
	margin: 0px auto;
	border-radius: var(--curve);
	padding: 10px 0px;
	background: white;
	display: grid;
	grid-template-columns: 1fr 4fr;
	text-align: center;
	align-items: center;
}

.author-info {
	text-align: left;
}

.author-info h3,
.author-info h3 a {
	width: 98%;
	margin: 10px 0px;
	font-size: 1.8rem;
	color: var(--pri);
	text-align: center;
	font-weight: 600;
}

.author-info p {
	padding: 0px !important;
	margin: 0px !important;
	font-size: 18px;
	text-align: center;
}

.author-avatar,
.author-avatar img {
	width: 103px;
	height: 103px;
	margin: 0px auto;
	border-radius: 50%;
}

/*Author Box Social*/

.author_box_social {
	list-style: none;
	display: flex;
	gap: 14px;
	margin: 10px auto;
}

.author_box_social li {
	list-style: none !important;
	padding: 0px !IMPORTANT;
	margin: 0px !important;
}

.author_box_social li a svg {
	width: 45px;
	height: 45px;
	fill: var(--pri);
	aspect-ratio: 2/1;
	box-shadow: var(--sha);
	padding: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-radius: 50%;
}

/**Also Read Internal Links **/

.also_read_internal {
	margin: 20px auto;
	padding: 15px 14px;
	border-radius: 17px;
	text-align: center;
	width: 350px;
	border: 1px solid gainsboro;
	box-shadow: var(--hoversha);
	position: relative;
	display: flex;
	align-items: center;
}

.also_read_internal .also_read_internal_left img {
	width: 97px !important;
	height: 69px !important;
	border-radius: 9px;
}

.also_read_internal p {
	position: absolute;
	top: -25px;
	background: var(--pri);
	color: white !important;
	border-radius: 12px;
	padding: 3px 11px !important;
	font-size: 12px !IMPORTANT;
}

.also_read_internal_right h3 {
	font-size: 15px !important;
	font-weight: 500 !important;
	color: var(--bgdim) !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipse;
	text-align: left;
	margin-left: 9px;
}

/* Tablet / Mobile — max-width: 988px */

@media screen and (max-width: 988px) {

	.homemint_page {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin: 0px auto;
		grid-gap: 20px;
		padding: 0px;
	}

	.body-left-page {
		background: white;
		padding: 10px !important;
	}


	.breadcrumb {
		margin: 0;
		text-align: left;
		padding: 6px 16px 4px;
		font-size: 1.5rem;
	}

	.post_top_info {
		margin: 6px 16px;
		padding: 0;
	}

	.post_top_info_meta {
		flex-wrap: wrap;
		gap: 0;
	}

	.body-left-page img {
		width: 100% !important;
		margin: 0px auto;
		text-align: center;
		display: flex;
		min-width: 100%;
	}

	.author-box {
		max-width: 95%;
		margin: 20px auto;
		border-radius: var(--curve);
		padding: 24px 31px;
		background: white;
		display: grid;
		grid-template-columns: 1fr;
		text-align: center;
		align-items: center;
		box-shadow: var(--sha);
		border: 1px solid gainsboro;
	}
}

/* Small Mobile — max-width: 400px */

@media screen and (max-width: 400px) {

	.custom_featured_image {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		overflow: hidden;
		margin: 0px auto;
		width: 90%;
	}

	.post_top_share {
		display: none;
	}

	.homemint_page {
		display: flex;
		flex-direction: column;
		width: 96%;
		margin: 0px auto;
		grid-gap: 20px;
		padding: 0px;
	}

	.body-left-page {
		background: white;
		padding: 2px !IMPORTANT;
	}

	h1.posttitle {
		padding: 6px 12px 4px;
		font-size: 22px;
		color: var(--pridim);
		font-weight: 700;
		text-transform: capitalize;
		text-align: left;
		margin: 0;
	}

	.breadcrumb {
		margin: 0;
		text-align: left;
		padding: 6px 12px 4px;
		font-size: 1.3rem;
	}

	.post_top_info {
		width: 100%;
		margin: 6px 0 8px;
		padding: 0 12px;
		box-sizing: border-box;
	}

	.post_top_info_meta {
		display: flex;
		flex-wrap: wrap;
		gap: 0;
		justify-content: flex-start;
		text-align: left;
		width: 100%;
	}

	.author-box {
		max-width: 95%;
		margin: 10px auto;
		border-radius: var(--curve);
		padding: 10px 10px;
		background: white;
		display: grid;
		grid-template-columns: 1fr;
		text-align: center;
		align-items: center;
	}

	.author-info h3, .author-info h3 a {
		width: 98%;
		margin: 10px 0px;
		font-size: 1.8rem;
		color: var(--pri);
		text-align: center;
	}

	.author-info p {
		padding: 0px !important;
		margin: 0px !important;
		font-size: 1.6rem;
		text-align: center;
	}
}

/* Reading time badge — inherits pill style from .post_top_info_meta > div */

/* Post end social share */
.post_end_share {
   margin: 32px 0 24px;
   padding: 20px;
   background: #f9f9f9;
   border-radius: 16px;
   border: 1px solid #eee;
}

.post_end_share_label {
   font-size: 1.4rem !important;
   font-weight: 700;
   color: var(--bgdim);
   margin: 0 0 14px !important;
   padding: 0 !important;
   text-transform: none !important;
}

.post_end_share_btns {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
}

.share_end_btn {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   padding: 10px 18px;
   border-radius: 50px;
   font-size: 14px;
   font-weight: 600;
   color: white !important;
   text-decoration: none;
   transition: opacity 0.2s, transform 0.2s;
   cursor: pointer;
}

.share_end_btn:hover { opacity: 0.88; transform: translateY(-1px); }

.share_end_btn svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }

.share_wa  { background: #25D366; }
.share_fb  { background: #1877F2; }
.share_x   { background: #000; }
.share_li  { background: #0A66C2; }
.share_email { background: #444; }
.share_copy  { background: #666; }

/* Next / Previous post navigation */
.post_nav_nextprev {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 16px;
   margin: 24px 0;
}

.postnav_item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 16px;
   background: white;
   border: 1px solid #eee;
   border-radius: 14px;
   text-decoration: none;
   color: var(--bgdim);
   transition: box-shadow 0.2s, transform 0.2s;
   min-width: 0;
}

.postnav_item:hover {
   box-shadow: 0 4px 16px rgba(0,0,0,0.1);
   transform: translateY(-2px);
}

.postnav_item svg { flex-shrink: 0; fill: var(--pridim); }

.postnav_info {
   display: flex;
   flex-direction: column;
   min-width: 0;
}

.postnav_label {
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 1px;
   color: #999;
   font-weight: 600;
}

.postnav_title {
   font-size: 14px;
   font-weight: 600;
   color: var(--bgdim);
   overflow: hidden;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   text-overflow: ellipsis;
}

.postnav_next { text-align: right; justify-content: flex-end; }
.postnav_next .postnav_info { align-items: flex-end; }

@media (max-width: 600px) {
   .post_nav_nextprev { grid-template-columns: 1fr; }
   .post_end_share_btns { gap: 8px; }
   .share_end_btn { padding: 8px 14px; font-size: 13px; }
}

/* Travel-themed author box */
.author-box-travel {
   position: relative;
   background: white;
   border-radius: 20px;
   padding: 32px 28px 28px;
   margin: 24px 0;
   overflow: hidden;
   color: var(--bgdim);
   border: 1px solid #eee;
   box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.author-particles-canvas {
   position: absolute;
   inset: 0;
   width: 100% !important;
   height: 100% !important;
   pointer-events: none;
   z-index: 0;
}

.author-travel-plane {
   position: absolute;
   top: 14px;
   right: 20px;
   font-size: 26px;
   opacity: 0.1;
   animation: planeDrift 6s ease-in-out infinite;
   pointer-events: none;
   z-index: 1;
   color: var(--pridim);
}

@keyframes planeDrift {
   0%, 100% { transform: translate(0, 0) rotate(0deg); }
   33% { transform: translate(8px, -6px) rotate(5deg); }
   66% { transform: translate(-4px, 4px) rotate(-3deg); }
}

.author-travel-inner {
   display: flex;
   gap: 24px;
   align-items: flex-start;
   position: relative;
   z-index: 1;
}

.author-travel-avatar-wrap {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 8px;
   flex-shrink: 0;
}

.author-travel-img {
   width: 90px !important;
   height: 90px !important;
   border-radius: 50% !important;
   border: 3px solid #f0f0f0 !important;
   object-fit: cover;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.author-travel-badge {
   background: rgba(255,255,255,0.15);
   color: white;
   font-size: 11px;
   padding: 3px 10px;
   border-radius: 20px;
   font-weight: 600;
   letter-spacing: 0.5px;
   white-space: nowrap;
}

.author-travel-info { flex: 1; min-width: 0; }

.author-travel-name {
   font-size: 1.8rem !important;
   font-weight: 700 !important;
   margin: 0 0 8px !important;
   color: var(--bgdim) !important;
}

.author-travel-name a { color: var(--bgdim) !important; }

.author-travel-role {
   font-size: 11px !important;
   font-weight: 600 !important;
   letter-spacing: 1.5px;
   text-transform: uppercase;
   color: #E91E63 !important;
   margin: 0 0 4px !important;
}
.author-travel-initials {
   width: 90px; height: 90px; border-radius: 50%;
   background: linear-gradient(135deg, #E91E63, #F44336);
   color: #fff; font-size: 36px; font-weight: 800;
   display: flex; align-items: center; justify-content: center;
   flex-shrink: 0;
}
.author-social-ig { background: rgba(193,53,132,0.08) !important; border-color: rgba(193,53,132,0.25) !important; color: #c13584 !important; }
.author-social-ig svg { fill: #c13584 !important; }
.author-social-ig:hover { background: #c13584 !important; color: #fff !important; }
.author-social-ig:hover svg { fill: #fff !important; }
.author-social-fb { background: rgba(24,119,242,0.08) !important; border-color: rgba(24,119,242,0.25) !important; color: #1877f2 !important; }
.author-social-fb svg { fill: #1877f2 !important; }
.author-social-fb:hover { background: #1877f2 !important; color: #fff !important; }
.author-social-fb:hover svg { fill: #fff !important; }

.author-travel-bio {
   font-size: 14px !important;
   color: #555 !important;
   line-height: 1.6 !important;
   margin: 0 0 16px !important;
   padding: 0 !important;
}

.author-travel-social {
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
}

.author-social-chip {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 6px 14px;
   background: #f5f5f5;
   border: 1px solid #e5e5e5;
   border-radius: 20px;
   color: var(--bgdim) !important;
   font-size: 13px;
   font-weight: 500;
   transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.author-social-chip:hover { background: var(--prigri); color: white !important; border-color: transparent; }
.author-social-chip svg { fill: var(--bgdim); transition: fill 0.2s; }
.author-social-chip:hover svg { fill: white; }

@media (max-width: 600px) {
   .author-travel-inner { flex-direction: column; align-items: center; text-align: center; }
   .author-travel-name, .author-travel-bio { text-align: center !important; }
   .author-travel-social { justify-content: center; }
}
