/*
Theme Name: Haris Custom Theme
Theme URI: https://example.com
Author: Haris
Author URI: https://example.com
Description: Custom WordPress Theme
Version: 1.0
License: GPL2
Text Domain: haris-custom-theme
*/

/* ============================== Variables ============================== */
:root {
	--primary-color: #2563eb;
	--secondary-color: #7c3aed;
	--bg: #ffffff;
	--panel: #f6f8fb;
	--text: #0f172a;
	--muted: #64748b;
	--border: #e5e9f2;
	--radius: 16px;
	--success: #16a34a;
	--danger: #ef4444;
	--comment-bg: #ffffff;
	--panel-bg: #fbfcfd;
	--muted: #6b7280;
	--accent-hover: #0c948e;
	--shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
	--max-width: 1024px;
	--gap: 14px;
	--avatar-size: 48px;
}

/* ============================== Base ============================== */
* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	background: radial-gradient(1200px 200px at 20% -50%, rgba(255, 255, 255, .4), transparent), linear-gradient(135deg, #f7f8ff 0%, #eef3ff 30%, #f9f9ff 60%, #ffffff 100%);
	font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
}

a {
	color: var(--danger);
	text-decoration: none;
}
.site-logo a img{
    width: 150px; height: auto;
}
a:hover {
	text-decoration: underline;
	color:var(--secondary-color);
}

.container {
	width: min(1400px, 100vw);
	margin: 0 auto;
	padding: 10px;
}
.related-section{
	margin-top: 30px;
}
.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/* always 4 cards per row (desktop) */
	gap: 24px;
	margin-top: 24px;
overflow: auto;
}

@media (max-width: 1024px) {
	.related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.header .header-inner{
	    padding: 10px 0px;
	}
}

@media (max-width: 640px) {
	.related-posts-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================== Header ============================== */
.header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
    background: var(--panel); 
}

.header-inner {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	width: 90%;
	margin: auto;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
    color: var(--accent-2);
}

.brand .logo {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* ============================== Top Navigation ============================== */
.nav-toggle {
	display: none;
	cursor: pointer;
}

.primary-menu {
	display: flex;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0px 0px 0px 30px;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
display: block;
    padding: 14px 2px;
    border-radius: 0;
    transition: background .2s ease, color .2s ease;
    font-size: 16px;
    color: var(--accent-1);
    font-weight: 600;
}

.primary-menu a:hover {
	color:var(--secondary-color);
	text-decoration: none;
}

/* Dropdown */
.primary-menu li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--panel);
	padding: 8px 0;
	border-radius: 0px;
	min-width: 180px;
	border: 1px solid var(--border);
	z-index: 10;
}

.primary-menu li:hover>ul {
	display: block;
	list-style: none;
}

.primary-menu li ul li a {
	padding: 5px 10px;
	white-space: nowrap;
	border-bottom: 1px solid #d7d7d7;
}

.primary-menu li ul li a:hover {
	/*background: var(--secondary-color);*/
	color: var(--secondary-color);
}

/* ============================== Hero ============================== */
.hero {
	display: grid;
	gap: 16px;
	padding: 24px;
	border-radius: var(--radius);
	background:
		radial-gradient(1200px 600px at 10% -10%, color-mix(in oklab, var(--primary-color) 18%, transparent), transparent),
		linear-gradient(180deg, var(--panel), var(--panel));
}

.hero h1 {
	margin: 0 0 6px;
	font-size: clamp(28px, 5vw, 44px);
}

.hero p {
	margin: 0;
	color: var(--accent-2);
}

.hero .cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ============================== Buttons ============================== */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 12px;
	font-weight: 700;
	background: var(--primary-color);
	color: var(--accent-2);
	border: 1px solid color-mix(in oklab, var(--primary-color) 60%, #ffffff);
	transition: transform .15s ease, background .2s ease;
}

.button:hover {
	background: var(--secondary-color);
	transform: translateY(-1px);
}

.button.secondary {
	background: transparent;
	border-color: var(--border);
	color:var(--accent-2);
}

/* ============================== Grid Helpers ============================== */
.grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(12, 1fr);
}

.col-12 {
	grid-column: span 12;
}

.col-8 {
	grid-column: span 8;
}

.col-4 {
	grid-column: span 4;
}

@media (max-width: 900px) {

	.col-8,
	.col-4 {
		grid-column: span 12;
	}
}

/* ============================== Cards & Surfaces ============================== */
.card,
.sidebar .widget,
.post-content,
.product-card {
	background: var(--panel-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.card {
	overflow: hidden;
	transition: transform .2s ease;
}

.card:hover {
	transform: translateY(-2px);
}

.card-body {
	padding: 16px;
}

.card-title {
	margin: 0 0 6px;
	font-size: 20px;
}

.card-meta {
	color: var(--accent-2);
	font-size: 14px;
}

.card-thumb img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

/* ============================== Post content ============================== */
.post-content {
	padding: 24px;
}

.post-meta {
	color:var(--accent-2);
	margin-bottom: 16px;
}

.post-content header img {
	width: 100%;
	object-fit: cover;
}

/* ============================== Sidebar ============================== */
.sidebar .widget {
	padding: 16px;
	margin-bottom: 16px;
}

/* ============================== Footer ============================== */
.footer {
	margin-top: 48px;
	border-top: 1px solid var(--border);
	background: #fff;
}

.footer .widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.footer .copy {
	color: var(--accent-2);
	padding: 16px 0;
}

@media (max-width: 900px) {
	.footer .widgets {
		grid-template-columns: 1fr;
	}
	
.auth-cta .button {
    padding: 6px 10px;
    font-size: 11px;
}
}

/* ============================== Woo: Product Grid ============================== */
.product-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
	.product-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 800px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}

.product-card .thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.product-card .body {
	padding: 12px;
}

.price {
	font-weight: 700;
}

/* ============================== Badges ============================== */
.badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--secondary-color);
	color: var(--accent-2);
	border: 0;
	font-size: 12px;
}

/* ============================== Pagination ============================== */
.pagination {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin: 24px 0;
	border-top: 1px solid transparent;
	/* reserved space to align with feed variants */
	padding-top: 0;
}

.pagination .page-numbers {
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
}

.pagination .current {
	background: var(--primary-color);
	color: var(--accent-2);
	border-color: transparent;
}

/* ============================== Responsive Menu (small screens) ============================== */
@media (max-width: 800px) {
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}

	.primary-menu {
		display: none;
		flex-direction: column;
		gap: 8px;
		background: var(--panel);
		padding: 12px;
		border: 1px solid var(--border);
		border-radius: var(--radius);
	}

	/*.primary-menu.open {*/
	/*	display: flex;*/
	/*}*/
}

/* ============================== Off-canvas Mobile Nav ============================== */
.offcanvas {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(85vw, 320px);
	background: var(--panel);
	border-right: 1px solid var(--border);
	transform: translateX(-100%);
	transition: transform .25s ease;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.offcanvas.open {
	transform: translateX(0);
}

.offcanvas-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
}

.offcanvas-title {
	font-weight: 700;
}

.offcanvas-close {
	background: transparent;
	border: 0;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--accent-2);
}

.offcanvas-body {
	overflow: auto;
	padding: 8px 6px 20px 6px;
}

.mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-menu>li>a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--accent-2);
}

.mobile-menu>li>a:hover {
	background: var(--primary-color);
	color: var(--accent-2);
}

/* dropdown inside offcanvas (depth 2) */
.mobile-menu li.menu-item-has-children>a {
	position: relative;
}

.mobile-menu li ul {
	list-style: none;
	margin: 4px 0 8px 12px;
	padding-left: 8px;
	border-left: 2px solid var(--border);
}

.mobile-menu li ul a {
	display: block;
	padding: 7px 10px;
	border-bottom: 1px solid #d5d5d5;
	width: 100%;
	color: var(--accent-2);
}

.menu-item.menu-item-type-taxonomy {
	margin-bottom: 10px;
}

/* Backdrop + body lock */
.offcanvas-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(2, 6, 23, .45);
	z-index: 999;
}

body.nav-open {
	overflow: hidden;
}

/* Hide off-canvas artifacts on desktop */
@media (min-width: 992px) {
	.button.nav-toggle.button.secondary {
		display: none !important;
	}
}

/* ============================== Tabs (Blog / Articles) ============================== */
.tabs {
	position: sticky;
	top: 56px;
	z-index: 20;
	display: flex;
	gap: 8px;
	padding: 8px 16px;
	/*background: #fff;*/
	/*border-bottom: 1px solid #eee;*/
	max-width: 100%;
	margin: 0 auto;
}

.tabs .button {
	flex: 1;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 600;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
}

.tabs .button[aria-selected="true"] {
	background: var(--panel);
	color: var(--accent-1);
	border-color: #111;
}

@media (max-width: 768px) {
	.tabs {
		top: 0;
		padding-inline: 12px;
	}
}

/* ============================== Medium-like Feed (Blog & Articles) ============================== */
/* Feed wrapper becomes single-column list; global .grid unaffected */
#panel-blog .grid,
#panel-articles .grid {
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	display: block;
}

/* Post card layout (hardened against overflow) */
#panel-blog article.post-card,
#panel-articles article.post-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(180px, 26vw, 280px);
	/* text | image */
	gap: 16px 20px;
	align-items: start;
	padding: 24px 15px;
	background: transparent;
	border: 0px solid !important;
}
.blogleft .col-12{
 border: 1px solid #eee;
}

/* Thumbnail right column */
article.post-card .thumb {
	display: block;
	/* anchors default inline -> force block */
	order: 2;
	min-width: 0;
	/* allow shrink inside grid track */
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 12px;
}

/* Image fits its box; intrinsic width won't push layout */
article.post-card .thumb img,
article.post-card .wp-post-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.related-posts-grid .entry-title {
	font-size: 16px !important;
	padding: 20px 10px;
}

/* Text column */
article.post-card .body {
	order: 1;
	display: block;
	gap: 8px;
}

/* Title */
article.post-card .entry-title {
	margin: 0;
	font-size: clamp(18px, 2.2vw, 40px);
	font-weight: 700;
	word-break: break-word;
}

article.post-card .entry-title a {
	color: var(--accent-3);
	text-decoration: none;
	line-height: normal
}

article.post-card:hover .entry-title a {
    text-decoration: none;
    color: var(--accent-3);
}
.ha-btn:hover{
    background: var(--secondary-color);
    color: var(--accent-3);
}
/* Excerpt: 2-line clamp */
article.post-card .entry-excerpt {
	margin: 0;
	color: var(--accent-2);
	font-size: clamp(14px, 1.6vw, 16px);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Meta row: author · date · read time */
article.post-card .entry-meta {
	margin-top: 6px;
	font-size: 11px;
	color: var(--accent-3);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

article.post-card .entry-meta .dot::before {
	content: "•";
	color: var(--accent-2);
}

/* Feed pagination */
#panel-blog .pagination,
#panel-articles .pagination {
	border-top: 1px solid #eee;
	margin-top: 8px;
	padding-top: 16px;
}

/* Small screens: tighter thumbnail */
@media (max-width: 768px) {

	#panel-blog article.post-card,
	#panel-articles article.post-card {
		grid-template-columns: minmax(0, 1fr) 120px;
		padding: 16px 0;
	}

	article.post-card .thumb {
		border-radius: 8px;
	}
}

/* ============================== Hover polish ============================== */
@media (hover:hover) {

	article.post-card,
	.product-card {
		transition: background 0.2s ease;
	}

	article.post-card:hover,
	.product-card:hover {
		background: rgba(0, 0, 0, 0.02);
	}
}

/* BLOG SIDEBAR */

.layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 992px) {
	.layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		/* main + sidebar */
		align-items: start;
	}
}

/* .tabs {
	display: inline-flex;
	gap: 8px;
} */

/* .button {
	padding: 8px 12px;
	cursor: pointer;
}

.button.secondary {
	opacity: .7;
} */

.grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 16px;
}

@media (min-width: 768px) {
	.grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* Sidebar blocks */
.sidebar {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 16px;
}

.side-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 0px;
}

.side-card h3 {
	margin: 0 0 10px;
	font-weight: 700;
	padding: 10px;
	background: var(--panel);
	color: var(--accent-1);
	text-align: left;
font-size: 22px;
}

.link-list,
.cat-list,
.trend-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.link-list a,
.cat-list a,
.trend-list a {
	text-decoration: none;
}
.trend-item:hover a{
    color: var(--accent-2);
}

.trend-item:hover{
background: var(--secondary-color);
}
.trend-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	border-bottom: 1px solid #e5e5e5;
	padding: 10px;
}

.trend-rank {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	border: 1px solid #eee;
	display: grid;
	place-items: center;
	font-size: .85rem;
	font-weight: 700;
	background: #f8f8f8;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (min-width:768px) {
	.product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.product-card {
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.product-card .body {
	padding: 10px;
}

.blogleft h2 {
	background:var(--panel);
	color: var(--accent-1);
	padding: 5px 20px;
	border-radius: 0px;
	margin-top: 0px;
}
/* 
.blogleft {
	border: 1px solid #ededed; 
} */

/* Updated PHP for Notification Pills */

/* Top Marquee Hero */
.top-marquee-hero {
	position: relative;
	height: 100%;
	/* <- requested */
	overflow: hidden;
	border-radius: 14px;
	padding: 14px 16px 0;
	background: radial-gradient(1200px 200px at 20% -50%, rgba(255, 255, 255, .4), transparent),
		linear-gradient(135deg, #f7f8ff 0%, #eef3ff 30%, #f9f9ff 60%, #ffffff 100%);
	box-shadow: 0 10px 30px rgba(21, 30, 60, 0.06);
}

.top-marquee-hero .tmh-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	filter: blur(18px);
	opacity: .8;
}

.tmh-bubble {
	position: absolute;
	border-radius: 999px;
	opacity: .5;
}

.tmh-bg .b1 {
	width: 180px;
	height: 180px;
	background: #a3b8ff;
	top: -40px;
	left: -30px;
}

.tmh-bg .b2 {
	width: 240px;
	height: 240px;
	background: #ffd2a8;
	bottom: -80px;
	right: 10%;
}

.tmh-bg .b3 {
	width: 160px;
	height: 160px;
	background: #bfffe2;
	top: 10px;
	right: 35%;
}

.tmh-head {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-right: 6px;
}

.tmh-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	color: var(--accent-2);
	letter-spacing: .2px;
}

.tmh-icon {
	width: 20px;
	height: 20px;
	fill: #3b82f6;
}

.tmh-pills {
	display: flex;
	gap: 8px;
	align-items: center;
	min-height: 28px;
 
}

.tmh-pill {
    align-items: center;
    gap: 6px;
       height: 90px;
    font-size:12px;
    transform: translateY(6px);
    opacity: 1;
    transition: .4s ease;
    backdrop-filter: blur(6px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    background: var(--accent-4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    color: var(--accent-2);
    text-decoration: none;
    white-space: normal;
    text-align:center;
}

.tmh-pill:hover {
	color: var(--accent-2);
	box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
	text-decoration: none;
}

.tmh-pill.is-active {
	transform: translateY(0);
	opacity: 1;
	background: var(--secondary-color);
	color: var(--accent-2);
}

.tmh-rail {
	position: relative;
	overflow: hidden;
	z-index: 2;
	margin-top: 12px;
	height: calc(200px - 54px);
	/* head + spacing */
	display: flex;
	align-items: center;
	mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}


.top-marquee-hero:hover .tmh-track {
	animation-play-state: paused;
}

@keyframes tmh-marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}

	/* because we duplicated items */
}

@media (max-width: 768px) {
  .tmh-head { overflow: hidden; }

  .tmh-pill {
    will-change: transform;
    animation: tmh-marquee 10s linear infinite;
  
  }


  .tmh-pill:hover { animation-play-state: paused; }

  @keyframes tmh-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); } */
  }


  @media (prefers-reduced-motion: reduce) {
    .tmh-pill { animation: none; }
  }
}
@media (max-width: 768px) {
  .tmh-pills {
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    gap: 0.5rem 0.75rem;
    overflow: scroll;
    min-height: 100%;
  }
  .tmh-pill {
    flex: 0 0 auto;               /* auto width on desktop */
    white-space: normal;  
    height:auto;/* wrap allowed on desktop */
  }
}

.tmh-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 18px rgba(16, 24, 40, .08);
    color: var(--accent-2);
    text-decoration:none;
}

/*TOPMENUBAR*/

@media (max-width:900px) {
    .tmh-item {
    flex: 0 0 calc((100% - var(--tmh-gap)) / 2) !important;
    min-width: calc((100% - var(--tmh-gap)) / 2) !important;
  }  
}
    
  :root { --tmh-gap: 12px; }

  .tmh-head { padding: 0 12px; }

  .tmh-track {
    display: flex;
    gap: var(--tmh-gap);
    overflow: hidden;         
    scroll-behavior: smooth;
    padding: 8px 12px 12px;
  }

  .tmh-item {
    flex: 0 0 calc((100% - var(--tmh-gap)) / 6);
    min-width: calc((100% - var(--tmh-gap)) / 6);
    display: grid;
    align-content: start;
    row-gap: 6px;
    background: var(--accent-4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    color:var(--accent-2);
    text-decoration: none;
    white-space: normal;
    will-change: transform;
	animation: tmh-marquee 5s linear infinite;
  }

  .tmh-chip {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    padding: 6px 8px;
    background: var(--secondary-color);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent-2);
    text-align: center;
    font-weight: bold;
  }

  .tmh-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align:center;
  }


  .tmh-rail::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 0; }

@media (max-width:900px) {
  .tmh-head { overflow: hidden; }
  .tmh-pills:hover { animation-play-state: paused; }

  @keyframes tmh-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); } /* track पूरी तरह बाएं slide होगा */
  }

  /* Accessibility: motion reduce */
  @media (prefers-reduced-motion: reduce) {
    .tmh-pills { animation: none; }
  }
  .tmh-title {

    display: none;
}
}

@media (prefers-color-scheme: dark) {
	.top-marquee-hero {
		background: radial-gradient(1200px 200px at 20% -50%, rgba(255, 255, 255, .07), transparent),
			linear-gradient(135deg, #101319 0%, #0e1220 100%);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	}

	.tmh-item {
		background: rgba(18, 22, 36, .65);
		color: var(--accent-2);
		border-color: rgba(255, 255, 255, .08);
	}

	.tmh-chip {
		background: #1e293b;
		border-color: #334155;
		color: var(--accent-2);
	}

	.tmh-title {
		color: var(--accent-2);
	}

	.tmh-pill {
		background: rgba(18, 22, 36, .55);
		border-color: rgba(255, 255, 255, .08);
		color: var(--accent-2);
	}
}

/* // start bubule here */
html, body{ background: transparent; }
.site-bg{
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;    
  pointer-events: none;
}

#page, .site, .site-content, main, #primary {
  position: relative;
  z-index: 1;        
}
/* Bubbles */
.bg-bubble{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  animation: floaty 20s linear infinite alternate;
}
.bg-bubble.b1{ width:300px;height:300px; background:#a3b8ff; top:-80px; left:-100px; }
.bg-bubble.b2{ width:400px;height:400px; background:#ffd2a8; bottom:-150px; right:-50px; animation-delay:5s; }
.bg-bubble.b3{ width:250px;height:250px; background:#bfffe2; top:40%; right:30%; animation-delay:10s; }

@keyframes floaty {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(30px,-40px) scale(1.1); }
  100% { transform: translate(-30px,40px) scale(.95); }
}

.bg-dot{
  position:absolute;
  width:10px; height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.6);
  filter:blur(4px);
  opacity:.6;
  animation: dotFloat 15s linear infinite;
}

@keyframes dotFloat {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-120vh) scale(.5); }
}

/* sumbemnu classs starrt here */
.submenu-icon {
	font-size: 16px;
	margin-left: 6px;
	color: var(--accent-2);
	transition: transform .3s ease;
}

.menu-item-has-children:hover>a .submenu-icon {
	transform: rotate(180deg);
}

/* FOOTER CODE START HERE */

/* ===== Footer Neo (unique Medium-ish; black + accent) ===== */
.footer-neo{
  --accent: var(--accent, #7c3aed);
  --bg: #0b0f1a;
  --fg: #e5e7eb;
  --muted: #9aa3af;
  --line: rgba(255,255,255,.08);
        background: radial-gradient(1200px 200px at 20% -50%, rgba(255, 255, 255, .07), transparent), linear-gradient(135deg, #000000 0%, #023362 50%, #0e1220 100%);
  color: var(--accent-2);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.footer-neo a{ color: var(--accent-2); text-decoration: none; }
.footer-neo a:hover{ color: var(--accent-2); }

.footer-neo .fn-edge{
  height: 3px;
  background:
    linear-gradient(90deg, var(--secondary-color), color-mix(in oklab, var(--secondary-color) 20%, #fff) 35%, var(--secondary-color) 70%, transparent);
  opacity: .75;
}

/* Top */
.footer-neo .fn-top{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--line);
}
.footer-neo .fn-brand{ display:inline-flex; align-items:center; gap:10px; }
.footer-neo .fn-logo{
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 10px 20px color-mix(in oklab, var(--secondary-color) 25%, #000);
}
.footer-neo .fn-title{ font-weight: 800; color:var(--accent-2); letter-spacing: .2px; }
.footer-neo .fn-tagline{ margin: 0; color:var(--accent-2); }

.footer-neo .fn-social{ list-style:none; display:flex; gap:10px; margin:0; padding:0; }
.footer-neo .fn-social a{
  display:grid; place-items:center;
  width:38px; height:38px; border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.footer-neo .fn-social a:hover{
  background: var(--secondary-color); color:var(--accent-2); transform: translateY(-2px);
  box-shadow: 0 14px 28px color-mix(in oklab, var(--secondary-color) 35%, #000);
}

@media (max-width: 840px){
  .footer-neo .fn-top{ grid-template-columns: 1fr; justify-items: start; row-gap:10px; }
}

/* Grid */
.footer-neo .fn-grid{
  display: grid; gap: 24px; padding: 22px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px){ .footer-neo .fn-grid{ grid-template-columns: 1fr; } }
.footer-neo .fn-col{ min-width: 0; }

.footer-neo .fn-heading{
  margin: 0; color:var(--accent-2); text-transform: uppercase;
  font-size: 13px; font-weight: 800; letter-spacing: .3px;
}
.footer-neo .fn-headrow{
  display:flex; align-items: baseline; justify-content: space-between; gap:10px; margin-bottom: 10px;
}
.footer-neo .fn-seeall{ font-weight: 700; }

/* Cards (mini list with tiny thumbs) */
.footer-neo .fn-cards{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-neo .fn-card-link{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.footer-neo .fn-card:last-child .fn-card-link{ border-bottom: 0; }

.footer-neo .fn-thumbwrap{ width:56px; height:56px; border-radius: 12px; overflow:hidden; position: relative; }
.footer-neo .fn-thumb{ width:100%; height:100%; object-fit: cover; display:block; }
.footer-neo .fn-thumb.-empty{ display:block; width:100%; height:100%; background:
  radial-gradient(60% 60% at 50% 40%, var(--secondary-color), transparent 60%),
  linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.footer-neo .fn-card-body{ min-width:0; display:grid; gap:4px; }

.footer-neo .fn-card-title {
    color: var(--accent-2);
    font-weight: 700;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}
.footer-neo .fn-card-meta{ color: var(--accent-2); font-size: 12px; }

/* Chips */
.footer-neo .fn-chips{ display:flex; flex-wrap: wrap; gap:8px; }
.footer-neo .fn-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-weight: 700; font-size: 13px; color:var(--accent-2);
}
.footer-neo .fn-chip:hover{ background: var(--secondary-color); color:var(--accent-2); border-color: transparent; }
.footer-neo .fn-chip-dot{
  width:8px; height:8px; border-radius: 999px; background: var(--secondary-color);
}
.footer-neo .fn-chip.is-muted{ opacity:.6; }

/* Bottom */
.footer-neo .fn-bottom{
  display:grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items:center;
  padding: 14px 0 28px; border-top: 1px solid var(--line);
}
.footer-neo .fn-copy{ color: var(--accent-2); }
.footer-neo .fn-legal{ display:flex; gap:12px; }
.footer-neo .fn-legal a{ color: var(--accent-2); }
.footer-neo .fn-legal a:hover{ color: var(--accent-2); }

.footer-neo .fn-topbtn{
  all: unset; cursor: pointer;
  padding: 8px 12px; border-radius: 999px;
  background: #121621; color:var(--accent-2);
  border: 1px solid var(--line);
}
.footer-neo .fn-topbtn:hover{ background: var(--secondary-color); color:var(--accent-2); }

@media (max-width: 720px){
  .footer-neo .fn-bottom{ grid-template-columns: 1fr; }
  .footer-neo .fn-legal{ order: 3; }
  .footer-neo .fn-topbtn{ order: 2; width: max-content; }
}

.h3, h2, h3, .h1, h1, strong, h4,h5,h6{
color: var(--accent-3);
    }
.side-card h2{
	margin: 0 0 10px;
    font-weight: 700;
    padding: 10px;
    background: var(--panel);
    color: var(--accent-1);
    text-align: left;
    font-size: 22px;
}