/*
 * SuperFast Bro - Integrated idblog-core Stylesheet (Fork 2026)
 * Version: 2.4.0
 * Aesthetic GenZ Clean Design System
 */

/* General Clearfix & Helpers */
.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
}
.clearfix::after {
	clear: both;
}

/* ============================================================
   1. BREADCRUMBS PILL (GenZ Clean Pill)
   ============================================================ */
.breadcrumbs {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	padding: 8px 18px;
	border-radius: var(--radius-full, 9999px);
	border: 1px solid var(--border, #e2e8f0);
	background: var(--card, #ffffff);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.05));
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow-x: auto;
	max-width: 100%;
	margin-bottom: 20px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.breadcrumbs::-webkit-scrollbar {
	display: none;
}

.breadcrumbs a {
	color: var(--muted, #64748b);
	text-decoration: none;
	transition: color 0.15s ease;
}

.breadcrumbs a:hover {
	color: var(--brand, #6366f1);
}

.breadcrumbs span {
	color: var(--ink, #0f172a);
}

.breadcrumbs .separator {
	color: var(--muted, #64748b);
	opacity: 0.4;
	padding: 0 6px;
}

/* ============================================================
   2. AUTHOR BOX (Modern Profile Card)
   ============================================================ */
.gmr-authorbox {
	background: var(--card, #ffffff);
	border: 1px solid var(--border, #e2e8f0);
	border-radius: var(--radius, 16px);
	box-shadow: var(--shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.06));
	padding: 24px 28px;
	margin-top: 28px;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	word-wrap: break-word;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gmr-ab-gravatar {
	flex-shrink: 0;
	margin: 0;
}

.gmr-ab-gravatar img.avatar {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-full, 9999px);
	object-fit: cover;
	display: block;
	box-shadow: 0 0 0 3px var(--brand-light, rgba(99, 102, 241, 0.08));
	padding: 0;
	border: none;
}

.gmr-ab-content {
	flex: 1;
	padding-left: 0;
}

.gmr-ab-authorname {
	margin-bottom: 6px;
}

.gmr-ab-authorname span.uname {
	font-size: 16px;
	font-weight: 700;
	color: var(--ink, #0f172a);
	line-height: 1.3;
}

.gmr-ab-authorname a {
	color: var(--ink, #0f172a);
	text-decoration: none;
}

.gmr-ab-authorname a:hover {
	color: var(--brand, #6366f1);
}

.gmr-ab-content p {
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--muted, #64748b);
	margin: 0;
}

@media (max-width: 600px) {
	.gmr-authorbox {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 20px;
	}
}

/* ============================================================
   3. RELATED POSTS (Modern 3-Column Card Grid)
   ============================================================ */
div.idblog-related-post {
	margin-top: 32px;
	overflow: hidden;
}

div.idblog-related-post h3.related-title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink, #0f172a);
	margin: 0 0 18px 0;
	position: relative;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--brand-light, rgba(99, 102, 241, 0.08));
}

div.idblog-related-post h3.related-title::before {
	display: none;
}

div.idblog-related-post h3.related-title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 36px;
	height: 2px;
	background: var(--brand-gradient, linear-gradient(135deg, #6366f1 0%, #ec4899 100%));
}

.idblog-related-post ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.idblog-related-post ul li {
	background: var(--card, #ffffff);
	border: 1px solid var(--border, #e2e8f0);
	border-radius: var(--radius-sm, 8px);
	overflow: hidden;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.05));
	margin: 0;
	padding: 0;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.idblog-related-post ul li:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.06));
	border-color: var(--brand-glow, rgba(99, 102, 241, 0.25));
}

.idblog-related-post ul li img {
	width: 100%;
	aspect-ratio: 16/10;
	object-fit: cover;
	display: block;
	margin-bottom: 0;
}

.idblog-related-post ul li p {
	padding: 12px 14px;
	margin: 0;
}

.idblog-related-post ul li p a {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--ink, #0f172a);
	text-decoration: none;
	display: block;
	transition: color 0.15s ease;
}

.idblog-related-post ul li p a:hover {
	color: var(--brand, #6366f1);
}

@media (max-width: 600px) {
	.idblog-related-post ul {
		grid-template-columns: 1fr;
	}
	.idblog-related-post ul li {
		display: flex;
		align-items: center;
	}
	.idblog-related-post ul li img {
		width: 100px;
		max-width: 100px;
		height: 80px;
		aspect-ratio: auto;
		flex-shrink: 0;
	}
}

/* ============================================================
   4. SOCIAL SHARE (Modern GenZ Pill Buttons)
   ============================================================ */
.superfast-after-content {
	border-top: 1px solid var(--border, #e2e8f0);
	margin-top: 32px;
	padding-top: 24px;
}

.idblog-social-share h3 {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted, #64748b);
}

ul.idblog-socialicon-share {
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	list-style: none;
}

ul.idblog-socialicon-share li {
	margin: 0;
	text-align: center;
}

ul.idblog-socialicon-share li a {
	color: #fff !important;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: none;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

ul.idblog-socialicon-share li a:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

ul.idblog-socialicon-share li.twitter a { background: #1da1f2; }
ul.idblog-socialicon-share li.facebook a { background: #1877f2; }
ul.idblog-socialicon-share li.pinterest a { background: #e60022; }
ul.idblog-socialicon-share li.telegram a { background: #0088cc; }
ul.idblog-socialicon-share li.whatsapp a { background: #25d366; }

ul.idblog-socialicon-share li a:focus-visible {
	outline: 2px solid var(--brand, #6366f1);
	outline-offset: 2px;
}

@media (max-width: 480px) {
	ul.idblog-socialicon-share { gap: 8px; }
	ul.idblog-socialicon-share li a { width: 34px; height: 34px; font-size: 14px; }
}

/* ============================================================
   5. ADS CONTAINERS & RESPONSIVE BANNERS
   ============================================================ */
.idblog-center-ads { text-align: center; }
.idblog-center-right { text-align: right; }
.idblog-topbanner { float: right !important; max-width: 728px; width: 100%; }

@media (max-width: 1200px) {
	.idblog-topbanner {
		float: none !important;
		text-align: center;
		display: block !important;
		width: 100%;
		margin: 0 auto;
	}
}

.idblog-banner-secondpost,
.idblog-topbanner-aftermenu {
	margin-bottom: 24px;
	text-align: center;
}

.idblog-footerbanner {
	margin-top: 24px;
	text-align: center;
}

.idblog-banner-beforecontent.pull-left { margin-right: 20px; }
.idblog-banner-beforecontent.pull-right { margin-left: 20px; }

.idblog-banner-beforecontent,
.idblog-banner-insidecontent,
.idblog-banner-aftercontent {
	margin-bottom: 24px;
	text-align: center;
}

/* Sticky Bottom Float Banner (90px standard) */
.idblog-floatbanner { position: relative; }
.idblog-floatbanner-footer {
	z-index: 999;
	position: fixed;
	text-align: center;
	bottom: 0;
	left: 0;
	right: 0;
	height: 90px;
	overflow: hidden;
	background: var(--card, #ffffff);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

#wpadminbar .idblog-floatbanner-footer { bottom: -32px; }

@media (max-width: 768px) {
	.idblog-floatbanner-footer { position: static !important; }
}
@media (max-width: 1200px) {
	.idblog-floatbanner { display: none; }
}

.gmr-hidden { display: none !important; }

/* ============================================================
   6. DARK MODE OVERRIDES FOR IDBLOG-CORE
   ============================================================ */
html[data-theme='dark'] .breadcrumbs {
	background: var(--card, #111827) !important;
	border-color: var(--border, #1e293b) !important;
}

html[data-theme='dark'] .breadcrumbs a {
	color: var(--muted, #94a3b8) !important;
}

html[data-theme='dark'] .breadcrumbs a:hover {
	color: var(--brand, #818cf8) !important;
}

html[data-theme='dark'] .breadcrumbs span {
	color: var(--ink, #f8fafc) !important;
}

html[data-theme='dark'] .gmr-authorbox {
	background: var(--card, #111827) !important;
	border-color: var(--border, #1e293b) !important;
}

html[data-theme='dark'] .gmr-ab-authorname span.uname,
html[data-theme='dark'] .gmr-ab-authorname a {
	color: var(--ink, #f8fafc) !important;
}

html[data-theme='dark'] .gmr-ab-content p {
	color: var(--muted, #94a3b8) !important;
}

html[data-theme='dark'] div.idblog-related-post h3.related-title {
	color: var(--ink, #f8fafc) !important;
}

html[data-theme='dark'] .idblog-related-post ul li {
	background: var(--card, #111827) !important;
	border-color: var(--border, #1e293b) !important;
}

html[data-theme='dark'] .idblog-related-post ul li p a {
	color: var(--ink, #f8fafc) !important;
}

html[data-theme='dark'] .idblog-related-post ul li p a:hover {
	color: var(--brand, #818cf8) !important;
}

html[data-theme='dark'] .superfast-after-content {
	border-color: var(--border, #1e293b) !important;
}

html[data-theme='dark'] .idblog-floatbanner-footer {
	background: var(--card, #111827) !important;
}
