/*
 Theme Name:   NewsCard Child
 Theme URI:    https://example.com/
 Description:  چایلد تم شخصی‌سازی‌شده برای پوسته NewsCard
 Author:       شما
 Author URI:   https://example.com/
 Template:     newscard
 Version:      1.1.9
 Text Domain:  newscard-child
*/

/* ==========================================================
   استایل‌های سفارشی خودت رو از همینجا به پایین اضافه کن
   ========================================================== */

/* =====================================================================
 *  فونت استعداد (Estedad) - فونت اصلی سایت
 * ===================================================================== */
@font-face {
	font-family: 'Estedad';
	src: url('fonts/Estedad-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Estedad';
	src: url('fonts/Estedad-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Estedad';
	src: url('fonts/Estedad-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.site-title,
.site-description,
.entry-title,
.nav-menu,
.qotd-bar {
	font-family: 'Estedad', -apple-system, Tahoma, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
	font-weight: 700 !important;
}

body,
p, a, span, div, li {
	font-weight: 400;
}

/*
 * فیکس RTL برای متن‌های داخل اسلایدر Owl Carousel.
 * خود Owl Carousel روی .owl-stage مقدار direction:ltr می‌ذاره تا محاسبات
 * جابه‌جایی اسلایدها (translate3d) درست کار کنه. این مقدار به فرزندهاش هم
 * ارث می‌رسه و باعث بهم‌ریختن ترتیب کلمات/اعداد توی تیتر و تاریخ میشه.
 * اینجا فقط برای المان‌های متنی (نه خود استیج/آیتم) دوباره rtl رو ست می‌کنیم.
 */
.owl-carousel .entry-title,
.owl-carousel .entry-title a,
.owl-carousel .entry-meta,
.owl-carousel .cat-links,
.owl-carousel .date,
.owl-carousel .by-author {
	direction: rtl;
	text-align: right;
	unicode-bidi: isolate;
}

/* =====================================================================
 *  سخن روز (Quote of the Day)
 * ===================================================================== */
.qotd-bar {
	background: #0a0a0a;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.qotd-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(212, 175, 55, 0.10) 0%, transparent 35%, transparent 65%, rgba(212, 175, 55, 0.10) 100%);
	pointer-events: none;
}

.qotd-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 24px;
	padding: 10px 15px;
	font-size: 14px;
	line-height: 1.6;
}

.qotd-quote {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.qotd-label {
	color: #d4af37;
	font-weight: 700;
	white-space: nowrap;
	flex-shrink: 0;
	position: relative;
	padding-inline-start: 14px;
}

.qotd-label::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d4af37;
	box-shadow: 0 0 6px 1px rgba(212, 175, 55, 0.8);
}

.qotd-icon {
	color: #d4af37;
	font-size: 15px;
	flex-shrink: 0;
	opacity: 0.9;
}

.qotd-text {
	color: #f1f1f1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qotd-date {
	display: flex;
	align-items: center;
	gap: 7px;
	color: #b9b9b9;
	font-size: 12.5px;
	flex-shrink: 0;
	white-space: nowrap;
}

.qotd-date i {
	color: #d4af37;
}

@media (max-width: 767px) {
	.qotd-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 10px 15px;
	}
	.qotd-text {
		white-space: normal;
	}
	.qotd-date {
		font-size: 11.5px;
	}
}

/* =====================================================================
 *  حذف کامل نوار بالای هدر (info-bar)
 * ===================================================================== */
.info-bar {
	display: none !important;
}

/* =====================================================================
 *  تیکر زنده قیمت ارز دیجیتال
 * ===================================================================== */
.gp-crypto-ticker-wrapper {
	background: #f7f7f8;
	border-bottom: 1px solid #e7e7e9;
	overflow: hidden;
	position: relative;
	white-space: nowrap;
}

.gp-crypto-ticker-wrapper::before,
.gp-crypto-ticker-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40px;
	z-index: 2;
	pointer-events: none;
}
.gp-crypto-ticker-wrapper::before {
	left: 0;
	background: linear-gradient(90deg, #f7f7f8 20%, transparent);
}
.gp-crypto-ticker-wrapper::after {
	right: 0;
	background: linear-gradient(270deg, #f7f7f8 20%, transparent);
}

.gp-crypto-ticker-track {
	display: inline-flex;
	align-items: center;
	animation: gp-ticker-scroll 70s linear infinite;
	will-change: transform;
}

.gp-crypto-ticker-wrapper:hover .gp-crypto-ticker-track {
	animation-play-state: paused;
}

@keyframes gp-ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.gp-crypto-loading {
	padding: 9px 20px;
	color: #999;
	font-size: 13px;
	direction: rtl;
}

.gp-crypto-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border-inline-end: 1px solid #e7e7e9;
	flex-shrink: 0;
}

.gp-crypto-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	flex-shrink: 0;
}

.gp-crypto-name {
	font-size: 13px;
	font-weight: 600;
	color: #23272f;
	direction: rtl;
	unicode-bidi: isolate;
}

.gp-crypto-symbol {
	font-weight: 400;
	color: #9a9ea6;
	font-size: 12px;
}

.gp-crypto-price {
	font-size: 13px;
	font-weight: 700;
	color: #23272f;
	font-variant-numeric: tabular-nums;
}

.gp-crypto-change {
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	padding: 2px 7px;
	border-radius: 20px;
}

.gp-crypto-change.gp-up {
	color: #0f9d58;
	background: rgba(15, 157, 88, 0.1);
}

.gp-crypto-change.gp-down {
	color: #e02424;
	background: rgba(224, 36, 36, 0.1);
}

@media (max-width: 767px) {
	.gp-crypto-item {
		padding: 8px 12px;
		gap: 6px;
	}
	.gp-crypto-name,
	.gp-crypto-price,
	.gp-crypto-change {
		font-size: 12px;
	}
}

.gp-header {
	background: #0b0d10;
	border-bottom: 1px solid #26210f;
	position: sticky;
	top: 0;
	z-index: 500;
}
.gp-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 20px;
	gap: 12px;
}
.gp-header-social { justify-self: start; display: flex; align-items: center; gap: 10px; }
.gp-social-btn {
	width: 32px; height: 32px; border-radius: 50%;
	border: 1px solid #3a331a; color: #d4af37;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	flex-shrink: 0;
}
.gp-social-btn:hover { background: #d4af37; color: #0b0d10; border-color: #d4af37; }
.gp-header-logo { justify-self: center; display: flex; align-items: center; }
.gp-header-logo img { max-height: 42px; width: auto; display: block; }
.gp-logo-text { font-size: 22px; font-weight: 700; color: #f4d160; white-space: nowrap; }
.gp-header-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.gp-icon-btn {
	background: transparent; border: none; color: #eaeaea; font-size: 18px;
	cursor: pointer; padding: 4px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.gp-icon-btn:hover { color: #d4af37; }
.gp-login-link { font-size: 13px; color: #d8d8d8; white-space: nowrap; }
.gp-login-link:hover { color: #f4d160; }
.gp-register-btn {
	font-size: 13px; font-weight: 700; color: #14161a;
	background: linear-gradient(135deg, #f4d160, #d4af37);
	padding: 8px 18px; border-radius: 20px; white-space: nowrap;
	transition: opacity 0.2s ease;
}
.gp-register-btn:hover { opacity: 0.88; color: #14161a; }
.gp-menu-toggle { display: none; }

.gp-search-panel {
	max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
	background: #101216; border-top: 0px solid #26210f;
}
.gp-search-panel.is-open { max-height: 480px; border-top-width: 1px; }
.gp-search-panel-inner {
	max-width: 1180px; margin: 0 auto; display: flex; align-items: center;
	gap: 10px; padding: 14px 20px;
}
.gp-search-panel-icon { color: #d4af37; font-size: 15px; flex-shrink: 0; }
.gp-search-panel .gp-search-input {
	flex: 1;
	background: transparent !important;
	border: none !important;
	outline: none;
	color: #ffffff !important;
	font-size: 15px;
	font-family: inherit;
	box-shadow: none !important;
}
.gp-search-input::placeholder { color: #6f7278; }
.gp-search-results {
	max-width: 1180px; margin: 0 auto; padding: 0 20px; display: none;
	flex-direction: column; max-height: 380px; overflow-y: auto;
}
.gp-search-results.has-results { display: flex; padding-bottom: 14px; }
.gp-search-result-item {
	display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 8px;
}
.gp-search-result-item:hover { background: #1a1d22; }
.gp-search-result-item img,
.gp-search-result-noimg {
	width: 44px; height: 44px; border-radius: 6px; object-fit: cover;
	flex-shrink: 0; background: #1a1d22; display: flex;
	align-items: center; justify-content: center; color: #4a4d53; font-size: 16px;
}
.gp-search-result-title { font-size: 13.5px; color: #e6e6e6; line-height: 1.5; }
.gp-search-loading, .gp-search-empty { padding: 14px 6px; color: #8a8d94; font-size: 13px; }

.gp-mobile-menu { display: none; }

@media (max-width: 767px) {
	.gp-header-inner { padding: 10px 16px; }
	.gp-header-social { display: none; }
	.gp-login-link, .gp-header-actions .gp-register-btn { display: none; }
	.gp-menu-toggle { display: flex; }
	.gp-header-logo img { max-height: 32px; }
	.gp-logo-text { font-size: 18px; }
	.gp-mobile-menu {
		max-height: 0; overflow: hidden; background: #101216;
		transition: max-height 0.25s ease; flex-direction: column; gap: 10px; padding: 0 16px;
	}
	.gp-mobile-menu.is-open { display: flex; max-height: 300px; padding: 16px; border-top: 1px solid #26210f; }
	.gp-mobile-register, .gp-mobile-login { text-align: center; padding: 10px; border-radius: 20px; }
	.gp-mobile-login { background: #1a1d22; color: #eaeaea; }
	.gp-mobile-socials { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 4px; }
}

/* =====================================================================
 *  ریل شناور دسکتاپ
 * ===================================================================== */
.gp-side-rail {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 400;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #0b0d10;
	border: 1px solid #26210f;
	border-inline-end: none;
	border-radius: 30px 0 0 30px;
	padding: 10px 6px 10px 10px;
}

.gp-rail-item {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d4af37;
	font-size: 16px;
	position: relative;
	transition: background 0.2s ease, color 0.2s ease;
}

.gp-rail-item:hover {
	background: #d4af37;
	color: #0b0d10;
}

.gp-rail-tooltip {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	background: #101216;
	border: 1px solid #26210f;
	color: #eaeaea;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12.5px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gp-rail-item:hover .gp-rail-tooltip {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.gp-rail-badge {
	font-size: 10.5px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 10px;
}
.gp-rail-badge.gp-up { color: #0f9d58; background: rgba(15, 157, 88, 0.15); }
.gp-rail-badge.gp-down { color: #e02424; background: rgba(224, 36, 36, 0.15); }

/* =====================================================================
 *  تب‌بار پایین + شیت دسته‌ها - موبایل
 * ===================================================================== */
.gp-bottom-tabbar,
.gp-categories-sheet {
	display: none;
}

@media (max-width: 767px) {
	body {
		padding-bottom: 64px;
	}

	.gp-side-rail {
		display: none;
	}

	.gp-bottom-tabbar {
		display: flex;
		align-items: center;
		justify-content: space-around;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #0b0d10;
		border-top: 1px solid #26210f;
		padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
		z-index: 600;
	}

	.gp-tab-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		color: #9a9ea6;
		font-size: 10px;
		background: none;
		border: none;
	}
	.gp-tab-item i { font-size: 18px; }
	.gp-tab-item.is-active { color: #f4d160; }

	.gp-categories-sheet {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #0b0d10;
		border-top-left-radius: 16px;
		border-top-right-radius: 16px;
		padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
		transform: translateY(100%);
		transition: transform 0.3s ease;
		z-index: 650;
		max-height: 70vh;
		overflow-y: auto;
	}
	.gp-categories-sheet.is-open {
		transform: translateY(0);
	}
	.gp-sheet-handle {
		width: 36px;
		height: 4px;
		background: #2c2f36;
		border-radius: 4px;
		margin: 0 auto 12px;
	}
	.gp-sheet-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px;
		border-radius: 10px;
		background: #1a1d22;
		margin-bottom: 8px;
		color: #e6e6e6;
		font-size: 13.5px;
	}
	.gp-sheet-item-right {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.gp-sheet-item i {
		color: #f4d160;
		font-size: 16px;
	}
}

/* =====================================================================
 *  رنگ اختصاصی هر دسته روی تگ‌های cat-links (کارت پست‌ها، اسلایدر و...)
 * ===================================================================== */
.cat-links a[href*="/bitcoin/"]              { background: #f7931a !important; color: #ffffff !important; }
.cat-links a[href*="/ethereum/"]             { background: #627eea !important; color: #ffffff !important; }
.cat-links a[href*="/altcoins/"]             { background: #8e44ad !important; color: #ffffff !important; }
.cat-links a[href*="/meme-coins/"]           { background: #ff6fae !important; color: #ffffff !important; }
.cat-links a[href*="/stablecoin/"]           { background: #16a34a !important; color: #ffffff !important; }
.cat-links a[href*="/defi/"]                 { background: #06b6d4 !important; color: #ffffff !important; }
.cat-links a[href*="/blockchain/"]           { background: #3b82f6 !important; color: #ffffff !important; }
.cat-links a[href*="/ai/"]                   { background: #7c3aed !important; color: #ffffff !important; }
.cat-links a[href*="/metaverse-gamefi/"]     { background: #ec4899 !important; color: #ffffff !important; }
.cat-links a[href*="/markets-prices/"]       { background: #eab308 !important; color: #141414 !important; }
.cat-links a[href*="/predictions-analysis/"] { background: #f97316 !important; color: #ffffff !important; }
.cat-links a[href*="/news/"]                 { background: #ef4444 !important; color: #ffffff !important; }
.cat-links a[href*="/security-hacks-scams/"] { background: #dc2626 !important; color: #ffffff !important; }
.cat-links a[href*="/exchanges/"]            { background: #0ea5e9 !important; color: #ffffff !important; }
.cat-links a[href*="/mining/"]               { background: #78716c !important; color: #ffffff !important; }
.cat-links a[href*="/airdrops-buy-crypto/"]  { background: #14b8a6 !important; color: #ffffff !important; }
.cat-links a[href*="/etfs-institutional/"]   { background: #4338ca !important; color: #ffffff !important; }
.cat-links a[href*="/interviews-podcast/"]   { background: #db2777 !important; color: #ffffff !important; }
.cat-links a[href*="/opinion/"]              { background: #6366f1 !important; color: #ffffff !important; }
.cat-links a[href*="/glossary/"]             { background: #64748b !important; color: #ffffff !important; }
.cat-links a[href*="/learn/"]                { background: #059669 !important; color: #ffffff !important; }
.cat-links a[href*="/vizhe/"]                { background: #d4af37 !important; color: #141414 !important; }
.cat-links a[href*="/feature/"]              { background: #b45309 !important; color: #ffffff !important; }
.cat-links a[href*="/apple/"]                { background: #a3a3a3 !important; color: #141414 !important; }

/* =====================================================================
 *  متاهای هوشمند کارت‌های خبری
 * ===================================================================== */
.post-img-wrap {
	position: relative;
}

.gp-card-price-chip {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	background: rgba(11, 13, 16, 0.85);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(212, 175, 55, 0.4);
	border-radius: 20px;
	padding: 5px 10px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	direction: ltr;
	z-index: 2;
}
.gp-card-price-symbol { color: #d4af37; font-weight: 700; }
.gp-card-price-val { color: #ffffff; font-weight: 600; }
.gp-card-price-change { font-weight: 700; }
.gp-card-price-change.gp-up { color: #2ecc71; }
.gp-card-price-change.gp-down { color: #ff5c5c; }

.post-img-wrap::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--gp-cat-color, transparent);
	z-index: 2;
}

.gp-card-readtime {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #8a8d94;
	margin-inline-start: 10px;
}
.gp-card-readtime i {
	color: #d4af37;
	font-size: 11px;
}

/* =====================================================================
 *  آپدیت کارت‌های خبری: تاریخ روی عکس، متا جدید، اکسرپت کامل، دکمه سکه‌ای
 * ===================================================================== */
.hentry, .post-item.post-block { height: auto !important; }

.gp-card-date-badge {
	position: absolute; top: 10px; left: 10px;
	background: rgba(11, 13, 16, 0.6); backdrop-filter: blur(3px);
	color: #ffffff; font-size: 11px; padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.gp-card-price-chip {
	position: absolute; top: 10px; right: 10px; left: auto;
	background: rgba(11, 13, 16, 0.85); backdrop-filter: blur(4px);
	border: 1px solid rgba(212, 175, 55, 0.4); border-radius: 20px; padding: 5px 10px;
	display: flex; align-items: center; gap: 6px; font-size: 11px; direction: ltr; z-index: 2;
}
.gp-card-price-symbol { color: #d4af37; font-weight: 700; }
.gp-card-price-val { color: #ffffff; font-weight: 600; }
.gp-card-price-change { font-weight: 700; }
.gp-card-price-change.gp-up { color: #2ecc71; }
.gp-card-price-change.gp-down { color: #ff5c5c; }

.post-img-wrap::after {
	content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
	background: var(--gp-cat-color, transparent); z-index: 2;
}

.entry-meta:not(.category-meta) { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.entry-meta:not(.category-meta) > * { margin: 0 !important; padding: 0 !important; border: none !important; }
.entry-meta:not(.category-meta) > *::before,
.entry-meta:not(.category-meta) > *::after { content: none !important; }

/* مخفی کردن فوری کل محتوای قدیمی متا (تاریخ/نویسنده/کامنت) تا وقتی
   جاوااسکریپت خودش رو جایگزین کنه؛ کلاس gp-ready رو خود اسکریپت اضافه می‌کنه */
.entry-meta:not(.category-meta) {
	visibility: hidden;
}
.entry-meta:not(.category-meta).gp-ready {
	visibility: visible;
}

/* حذف صفحه‌بندی پیش‌فرض وردپرس (چون خودمون دکمه‌ی «مطالب بیشتر» داریم) */
.pagination,
.nav-links,
.navigation.pagination,
.page-numbers {
	display: none !important;
}

.gp-card-readtime, .gp-card-views {
	display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #8a8d94;
}
.gp-card-readtime i, .gp-card-views i { color: #d4af37; font-size: 11px; }

.gp-like-btn {
	display: inline-flex; align-items: center; gap: 5px; background: transparent;
	border: none; cursor: pointer; font-size: 12px; color: #8a8d94; padding: 0;
}
.gp-like-btn i { font-size: 13px; color: #8a8d94; transition: transform 0.2s ease, color 0.2s ease; }
.gp-like-btn:hover i { transform: scale(1.15); }
.gp-like-btn.is-liked, .gp-like-btn.is-liked i { color: #e0245e; }
.gp-like-btn.is-liked i { animation: gp-like-pop 0.3s ease; }
@keyframes gp-like-pop { 0%{transform:scale(1);} 40%{transform:scale(1.4);} 100%{transform:scale(1);} }

/* نوار پایین: کامنت (راست) + دکمه رادار «ادامه مطلب» (چپ) */
.gp-bottom-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

.gp-comment-meta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #8a8d94;
}
.gp-comment-meta i {
	color: #d4af37;
	font-size: 12px;
}

.gp-radar-cta-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.gp-radar-cta {
	position: relative;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #14161a;
	overflow: hidden;
	flex-shrink: 0;
}
.gp-radar-cta__sweep {
	position: absolute;
	inset: 0;
	background: conic-gradient(from 0deg, rgba(212, 175, 55, 0.95), transparent 45%);
	animation: gp-radar-spin 2.2s linear infinite;
	border-radius: 50%;
}
.gp-radar-cta__dot {
	position: relative;
	width: 5px;
	height: 5px;
	background: #f4d160;
	border-radius: 50%;
	z-index: 2;
	box-shadow: 0 0 4px 1px rgba(244, 209, 96, 0.8);
}
.gp-radar-cta__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(212, 175, 55, 0.55);
	animation: gp-radar-ping 2.2s ease-out infinite;
}
.gp-radar-cta__ring--2 {
	animation-delay: 1.1s;
}
@keyframes gp-radar-spin {
	to { transform: rotate(360deg); }
}
@keyframes gp-radar-ping {
	0% { transform: scale(0.6); opacity: 0.8; }
	100% { transform: scale(1.9); opacity: 0; }
}

.gp-radar-cta__label {
	font-size: 13px;
	font-weight: 600;
	color: #d4af37;
	transition: letter-spacing 0.2s ease;
}
.gp-radar-cta-wrap:hover .gp-radar-cta__sweep {
	animation-duration: 0.6s;
}
.gp-radar-cta-wrap:hover .gp-radar-cta__label {
	letter-spacing: 0.5px;
}

.container:has(.post-col) {
	max-width: 1800px !important;
}

/* Masonry واقعی با کتابخونه‌ی Masonry.js (نصب در functions.php + js/masonry-init.js).
   عرض هر کارت با درصد مشخص میشه، خودِ کتابخونه چیدمان منطقی و ردیفی رو حساب می‌کنه. */
.row:has(> .post-col) {
	position: relative;
}
.post-col {
	width: 16.666%;
	max-width: none !important;
	flex: none !important;
	margin-bottom: 0 !important;
	padding: 6px;
	box-sizing: border-box;
}

@media (max-width: 1799px) {
	.post-col { width: 20%; }
}
@media (max-width: 1500px) {
	.post-col { width: 25%; }
}
@media (max-width: 1200px) {
	.post-col { width: 33.333%; }
}
@media (max-width: 800px) {
	.post-col { width: 50%; }
}
@media (max-width: 500px) {
	.post-col { width: 100%; }
}



/* فیکس پشتیبان: اگه سایدبار همچنان هست، مخفی و محتوا تمام‌عرض بشه.
   اگه اسم واقعی کلاس سایدبار فرق داشت، همین سلکتورها رو باهاش عوض کن. */
#secondary,
.widget-area,
.left-sidebar,
.newscard-left-sidebar {
	display: none !important;
}
#primary,
.content-area,
.site-main {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

.gp-loadmore-wrap { display: flex; justify-content: center; padding: 30px 0; }
.gp-loadmore-btn {
	background: linear-gradient(135deg, #f4d160, #d4af37); color: #14161a; border: none;
	font-weight: 700; font-size: 14px; padding: 12px 34px; border-radius: 24px; cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.gp-loadmore-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.gp-loadmore-btn:disabled { opacity: 0.6; cursor: default; }