/* ==========================================================================
   WhatsAppGroups Directory v1.0.0 — main.css
   Dark (default) + light theme via CSS variables, toggled by data-theme.
   ========================================================================== */

:root,
:root[data-theme="dark"] {
	--bg: #060606;
	--bg-soft: #0b0b0b;
	--card: #101010;
	--card-2: #141414;
	--border: #262626;
	--border-soft: #1a1a1a;
	--text: #f4f4f4;
	--muted: #a8a8a8;
	--muted-2: #7d7d7d;
	--accent: #22c55e;
	--accent-2: #4ade80;
	--accent-deep: #15803d;
	--accent-text: #052e16;
	--header-bg: rgba(6, 6, 6, .92);
	--hero-glow: rgba(34, 197, 94, .10);
	--shadow: 0 10px 30px rgba(0, 0, 0, .5);
	--input-bg: #101010;
	--pill-bg: rgba(34, 197, 94, .14);
	--check: #4ade80;
	/* v1.7.59 — breadcrumb pills (dark): subtle white pill, hover green gradient, orange separators. */
	--crumb-bg: rgba(255,255,255,.06);
	--crumb-border: rgba(255,255,255,.14);
	--crumb-text: #e8e8e8;
	--crumb-hover-bg: linear-gradient(90deg, #16a34a, #22c55e);
	--crumb-sep: #f59e0b;
	/* v1.7.60 — heading bar: demo jaisa, text jitni lambi, color end tak haty haty fade. */
	--sect-h-bg: linear-gradient(90deg, rgba(224,36,36,.32) 0%, rgba(224,36,36,.10) 60%, rgba(224,36,36,0) 100%);
	--sect-h-accent: #e02424;
}

:root[data-theme="light"] {
	--bg: #f1f7f3;
	--bg-soft: #e8f2ec;
	--card: #ffffff;
	--card-2: #f6fbf8;
	--border: #d7e8dd;
	--border-soft: #e4efe8;
	--text: #0c2417;
	--muted: #3f6b52;
	--muted-2: #6b8f7b;
	--accent: #16a34a;
	--accent-2: #22c55e;
	--accent-deep: #15803d;
	--accent-text: #ffffff;
	--header-bg: rgba(255, 255, 255, .94);
	--hero-glow: rgba(34, 197, 94, .12);
	--shadow: 0 10px 26px rgba(12, 60, 35, .10);
	--input-bg: #ffffff;
	--pill-bg: rgba(22, 163, 74, .10);
	--check: #16a34a;
	/* v1.7.59 — breadcrumb pills (light): mint pill + green text, hover green gradient, red separators. */
	--crumb-bg: #eef6f0;
	--crumb-border: #cfe6d7;
	--crumb-text: #14532d;
	--crumb-hover-bg: linear-gradient(90deg, #16a34a, #22c55e);
	--crumb-sep: #e02424;
	/* v1.7.60 — heading bar: demo jaisa, text jitni lambi, color end tak haty haty fade. */
	--sect-h-bg: linear-gradient(90deg, rgba(22,163,74,.22) 0%, rgba(22,163,74,.08) 60%, rgba(22,163,74,0) 100%);
	--sect-h-accent: #16a34a;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	transition: background .25s ease, color .25s ease;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-main { min-height: 60vh; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-join {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff !important;
	border: none; border-radius: 12px;
	padding: 12px 22px; font-weight: 700; font-size: 15px; cursor: pointer;
	box-shadow: 0 6px 18px rgba(34, 197, 94, .35);
	transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .btn-join:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34, 197, 94, .45); color: #fff !important; }
.btn-join { width: 100%; margin-top: 12px; }
.btn-join svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--header-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-text { font-size: 20px; font-weight: 800; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text strong { color: var(--accent-2); font-weight: 800; }
.logo-text small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .4px; }
.main-nav { margin-inline-start: auto; }
.nav-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--text); font-weight: 600; font-size: 15px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 10px;
	background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--pill-bg); border-color: var(--border-soft); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; }
.header-search { display: none; border-top: 1px solid var(--border-soft); padding: 12px 0; }
.header-search.open { display: block; }
.header-search form { display: flex; gap: 10px; }
.header-search input {
	flex: 1; background: var(--input-bg); border: 1px solid var(--border);
	border-radius: 10px; padding: 10px 14px; color: var(--text); font-size: 15px;
}
.header-search button {
	background: var(--accent); color: #fff; border: none; border-radius: 10px;
	padding: 10px 22px; font-weight: 700; cursor: pointer;
}

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: transparent; border: 1px solid var(--border-soft); color: var(--text);
	border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 14px; font-weight: 600;
}
.lang-btn:hover { border-color: var(--accent); }
.lang-list {
	display: none; position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
	background: var(--card); border: 1px solid var(--border); border-radius: 12px;
	list-style: none; margin: 0; padding: 6px; min-width: 200px; max-height: 320px; overflow: auto;
	box-shadow: var(--shadow); z-index: 200;
}
.lang-switcher.open .lang-list { display: block; }
.lang-list button {
	display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%;
	background: none; border: none; color: var(--text); padding: 9px 12px; border-radius: 8px;
	cursor: pointer; font-size: 14px; text-align: start;
}
.lang-list button:hover { background: var(--pill-bg); }
.lang-list li.sel button { background: var(--pill-bg); color: var(--accent-2); font-weight: 700; }
.lang-list small { color: var(--muted); font-size: 12px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(600px 300px at 85% 20%, var(--hero-glow), transparent 70%),
		linear-gradient(180deg, var(--bg-soft), var(--bg));
	border-bottom: 1px solid var(--border-soft);
}
.hero-inner {
	display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
	padding: 64px 20px;
}
.hero-badge {
	display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-2);
	background: var(--pill-bg); border: 1px solid var(--border);
	padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-bottom: 14px; }
.hero h1 .grad {
	background: linear-gradient(120deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 17px; max-width: 560px; }
.hero-search { display: flex; gap: 0; margin-top: 24px; max-width: 560px; }
.hero-search input {
	flex: 1; background: var(--input-bg); border: 1px solid var(--border); border-inline-end: none;
	border-start-start-radius: 14px; border-end-start-radius: 14px;
	padding: 15px 18px; color: var(--text); font-size: 15px; outline: none;
}
.hero-search input:focus { border-color: var(--accent); }
.hero-search button {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff; border: none; font-weight: 700; font-size: 15px; cursor: pointer;
	padding: 0 28px; border-start-end-radius: 14px; border-end-end-radius: 14px;
	display: inline-flex; align-items: center; gap: 8px;
}

/* CSS phone mockup */
.hero-art { display: flex; justify-content: center; position: relative; min-height: 380px; }
.phone {
	width: 210px; height: 420px; background: #0b0f0d; border-radius: 36px;
	border: 3px solid #1f3a2a; position: relative; z-index: 2;
	box-shadow: var(--shadow), 0 0 60px var(--hero-glow);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.phone::before {
	content: ""; position: absolute; top: 12px; width: 90px; height: 22px;
	background: #0b0f0d; border-radius: 12px; border: 2px solid #1f3a2a; border-top: none;
}
.phone-screen { text-align: center; }
.phone-screen .wa-glyph {
	width: 110px; height: 110px; border-radius: 50%;
	background: linear-gradient(135deg, #25d366, #128c7e);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
}
.chat-bubble {
	position: absolute; background: var(--card); border: 1px solid var(--border);
	border-radius: 14px; padding: 8px 14px; font-size: 22px; z-index: 3;
	box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.chat-bubble.b1 { top: 8%; inset-inline-start: 6%; }
.chat-bubble.b2 { top: 32%; inset-inline-end: 4%; animation-delay: 1.2s; }
.chat-bubble.b3 { bottom: 24%; inset-inline-start: 10%; animation-delay: 2.4s; }
.chat-bubble.b4 { bottom: 8%; inset-inline-end: 10%; animation-delay: 3.1s; font-size: 18px; }
.hero-tag {
	position: absolute; bottom: 4%; inset-inline-start: 0; z-index: 3;
	font-style: italic; font-weight: 700; color: var(--accent-2); font-size: 18px; line-height: 1.5;
	transform: rotate(-4deg);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: 26px; margin: 0; }
.section-head p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.view-all { font-size: 14px; font-weight: 700; color: var(--accent-2); white-space: nowrap; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.cat-card {
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px;
	padding: 18px 8px; text-align: center; color: var(--text);
	transition: transform .15s ease, border-color .15s ease;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.cat-icon {
	width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 10px;
	display: flex; align-items: center; justify-content: center; font-size: 26px;
	background: var(--pill-bg); border: 1px solid var(--border-soft);
}
.cat-card span.name { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.cat-card small.count { color: var(--muted); font-size: 11px; }

/* ---------- Group cards ---------- */
.groups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group-card {
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px;
	padding: 20px; display: flex; flex-direction: column;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.group-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.group-card-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.group-card-icon {
	width: 62px; height: 62px; border-radius: 50%; flex: none; overflow: hidden;
	background: linear-gradient(135deg, var(--accent-deep), var(--accent));
	display: flex; align-items: center; justify-content: center;
	border: 2px solid var(--border);
}
.group-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.group-avatar-emoji { font-size: 30px; }
.group-card-head h3 { margin: 0 0 6px; font-size: 17px; }
.group-card-head h3 a { color: var(--text); }
.group-card-head h3 a:hover { color: var(--accent-2); }
.cat-pill {
	display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-2);
	background: var(--pill-bg); border-radius: 999px; padding: 3px 12px;
}
.group-card-desc { color: var(--muted); font-size: 14px; flex: 1; }
.group-card-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 6px 0 2px; }
.meta-item a { color: inherit; text-decoration: none; }
.meta-item a:hover { color: var(--accent-2); }
.meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.meta-item svg { color: var(--accent-2); }

/* ---------- CTA banner ---------- */
.cta-banner {
	background: linear-gradient(120deg, var(--accent-deep), var(--accent));
	border-radius: 22px; padding: 36px 40px; margin: 20px 0 8px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	color: #fff; position: relative; overflow: hidden;
}
.cta-banner::after {
	content: "💬"; position: absolute; font-size: 120px; opacity: .15;
	inset-inline-end: 30px; top: 50%; transform: translateY(-50%) rotate(-12deg);
}
.cta-banner h3 { margin: 0 0 6px; font-size: 24px; }
.cta-banner p { margin: 0; opacity: .92; font-size: 15px; max-width: 520px; }
.cta-banner .btn-light {
	background: #fff; color: var(--accent-deep); font-weight: 800; border-radius: 12px;
	padding: 13px 26px; white-space: nowrap; border: none; cursor: pointer; font-size: 15px;
}
.cta-banner .btn-light:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border-soft); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 48px 20px 32px; }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 380px; line-height: 1.7; }
.footer-support { margin-top: 16px; font-size: 13px; color: var(--muted); }
.footer-support strong { font-size: 11.5px; letter-spacing: .1em; }
.footer-support a { color: #22c55e; font-weight: 700; font-size: 14px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.f-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--border-soft); padding: 7px 13px; border-radius: 999px; }
.f-badge svg { color: #22c55e; }
.footer-links h4 { font-size: 13px; letter-spacing: .08em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-soft); }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent-2); }
.footer-link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: 14px; font-family: inherit; }
.footer-link-btn:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border-soft); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-indep { margin-top: 5px !important; font-size: 12.5px; opacity: .85; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border-soft); border-radius: 12px; color: var(--muted); transition: color .2s, border-color .2s, transform .2s; }
.footer-social a:hover { color: #22c55e; border-color: rgba(34,197,94,.55); transform: translateY(-2px); }
.soc-threads { font-size: 19px; font-weight: 900; line-height: 1; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs, .rank-math-breadcrumb { font-size: 13.5px; color: var(--muted); margin: 22px 0 6px; }
/* v1.7.59 — colored pill crumbs with hover effect (dark + light theme combos). */
.rank-math-breadcrumb p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.breadcrumbs a, .rank-math-breadcrumb a {
	color: var(--crumb-text); background: var(--crumb-bg);
	border: 1px solid var(--crumb-border);
	padding: 5px 14px; border-radius: 999px;
	text-decoration: none; display: inline-block;
	font-weight: 600; transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.breadcrumbs a:hover, .rank-math-breadcrumb a:hover {
	background: var(--crumb-hover-bg); color: #fff;
	border-color: transparent; transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.breadcrumbs > span:not(:last-child), .rank-math-breadcrumb .separator { color: var(--crumb-sep); font-weight: 800; }
/* Current page crumb (not a link): subtle pill, no hover. */
.breadcrumbs > span:last-child, .rank-math-breadcrumb .last {
	background: var(--crumb-bg); border: 1px dashed var(--crumb-border);
	color: var(--muted); padding: 5px 14px; border-radius: 999px;
}

/* ---------- Single group ---------- */
.group-hero {
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 22px;
	padding: 34px; margin: 14px 0 22px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.group-hero-icon {
	width: 128px; height: 128px; border-radius: 50%; flex: none; overflow: hidden;
	background: linear-gradient(135deg, var(--accent-deep), var(--accent));
	display: flex; align-items: center; justify-content: center;
	border: 3px solid var(--border); box-shadow: var(--shadow);
}
.group-hero-icon .group-avatar-emoji { font-size: 58px; }
.group-hero-icon .group-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.group-hero-info { flex: 1; min-width: 260px; }
.group-hero-info h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.group-hero-info .desc { color: var(--muted); margin-bottom: 14px; max-width: 640px; }
.group-hero-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 4px; }
.gstat { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.gstat strong { color: var(--text); }
.gstat svg { color: var(--accent-2); }
.group-hero-cta { margin-inline-start: auto; }
.group-hero-cta .btn-join { width: auto; margin: 0; padding: 14px 30px; font-size: 16px; }

.group-banner {
	border-radius: 20px; overflow: hidden; margin-bottom: 26px; position: relative;
	background: linear-gradient(120deg, #0b3d24, #14532d 55%, #166534);
	border: 1px solid var(--border);
	min-height: 220px; display: flex; align-items: center; justify-content: center;
}
.group-banner::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(500px 200px at 80% 30%, rgba(74, 222, 128, .25), transparent 70%);
}
.group-banner-text { position: relative; text-align: center; color: #fff; padding: 40px 20px; }
.group-banner-text .script { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(30px, 5vw, 52px); font-weight: 700; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.group-banner-text .tag { letter-spacing: 6px; font-size: 14px; opacity: .9; margin-top: 8px; font-weight: 600; }
/* Category icon watermark: semi-transparent, gently floating/moving. */
.group-banner-ico { position: absolute; top: 50%; line-height: 1; pointer-events: none; user-select: none; opacity: .22; filter: drop-shadow(0 10px 26px rgba(0,0,0,.35)); animation: wg-ico-float 5.5s ease-in-out infinite; z-index: 0; }
.group-banner-ico.ico-main { right: 5%; font-size: clamp(110px, 15vw, 180px); }
.group-banner-ico.ico-sub { left: 7%; font-size: clamp(54px, 7vw, 92px); opacity: .14; animation-duration: 7s; animation-delay: -2.5s; animation-direction: reverse; }
.group-banner-text { z-index: 1; }
@keyframes wg-ico-float {
	0%, 100% { transform: translateY(-50%) rotate(-7deg) scale(1); }
	50% { transform: translateY(-60%) rotate(7deg) scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
	.group-banner-ico { animation: none; }
}

.group-section {
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px;
	padding: 26px 28px; margin-bottom: 20px;
	/* v1.7.56 — Moviehub-style carding: red line on the left, orange line on the right. */
	border-left: 4px solid #e02424;
	border-right: 4px solid #f59e0b;
	overflow: hidden;
}
/* v1.7.60 — heading bars: demo jaisa — sirf text jitni lambi, color end tak haty haty fade (full pati nahi). */
.group-section h2 {
	display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
	font-size: 20px; margin: 0 0 14px; padding: 10px 26px 10px 14px;
	background: var(--sect-h-bg);
	border-left: 4px solid var(--sect-h-accent);
	border-radius: 10px;
}
/* v1.7.57 — content ke andar wale h3/h4 subheadings ko bhi background bar (demo jaisa). */
.group-section h3, .group-section h4 {
	display: inline-block; max-width: 100%;
	margin: 22px 0 12px; padding: 10px 26px 10px 14px;
	background: var(--sect-h-bg);
	border-left: 4px solid var(--sect-h-accent);
	border-radius: 8px;
	font-size: 17px; line-height: 1.5;
}
.group-section h4 { font-size: 15.5px; padding: 8px 24px 8px 14px; }
.group-section h2 .sec-ico {
	width: 34px; height: 34px; border-radius: 10px; background: var(--pill-bg);
	display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: none;
}
.group-section p, .group-section li { color: var(--muted); font-size: 15px; }
.find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.find-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.find-list .tick {
	color: var(--check); font-weight: 800; flex: none;
	width: 22px; height: 22px; border-radius: 50%; background: var(--pill-bg);
	display: inline-flex; align-items: center; justify-content: center; font-size: 13px; margin-top: 2px;
}

.info-bar {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px;
	padding: 20px 24px; margin-bottom: 20px;
}
.info-cell { display: flex; gap: 12px; align-items: center; }
.info-cell .ic {
	width: 44px; height: 44px; border-radius: 12px; background: var(--pill-bg); color: var(--accent-2);
	display: flex; align-items: center; justify-content: center; flex: none;
}
.info-cell small { display: block; color: var(--muted); font-size: 12px; }
.info-cell strong { font-size: 16px; }

.join-cta { text-align: center; margin: 6px 0 34px; }
.join-cta .btn-join { width: auto; padding: 16px 54px; font-size: 17px; border-radius: 14px; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card {
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px;
	padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 8px;
}
.mini-card .group-card-icon { width: 56px; height: 56px; margin: 0 auto; }
.mini-card h4 { margin: 0; font-size: 15px; }
.mini-card h4 a { color: var(--text); }
.mini-card .cat-pill { align-self: center; }
.mini-card .mcount { font-size: 12.5px; color: var(--muted); }
.mini-card .btn-join { padding: 9px 12px; font-size: 13.5px; margin-top: 4px; }

/* ---------- Archive / search / page ---------- */
.page-wrap { padding: 30px 20px 50px; max-width: 900px; }
.page-title { font-size: 30px; }
.archive-head { padding: 34px 0 6px; }
.archive-head h1 { font-size: 30px; margin-bottom: 4px; }
.archive-head p { color: var(--muted); }
/* Latest / Popular sort tabs — pill switcher with animated active state. */
.sort-tabs {
	display: inline-flex; gap: 6px; padding: 6px; margin: 16px 0 4px;
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 999px;
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.sort-tab {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 24px; border-radius: 999px;
	font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none;
	transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
	position: relative; overflow: hidden;
}
.sort-tab .sort-ico { font-size: 17px; line-height: 1; transition: transform .25s ease; }
.sort-tab:hover { color: var(--text); transform: translateY(-1px); }
.sort-tab:hover .sort-ico { transform: scale(1.2) rotate(-8deg); }
.sort-tab.active {
	background: linear-gradient(135deg, #4ade80, #16a34a);
	color: #fff;
	box-shadow: 0 8px 22px rgba(34,197,94,.45), inset 0 1px 0 rgba(255,255,255,.35);
}
.sort-tab.active:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(34,197,94,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.sort-tab.active::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
	transform: translateX(-120%);
	animation: wg-tab-shine 3.2s ease-in-out infinite;
	pointer-events: none;
}
@keyframes wg-tab-shine {
	0%, 55% { transform: translateX(-120%); }
	100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
	.sort-tab, .sort-tab .sort-ico { transition: none; }
	.sort-tab.active::after { animation: none; display: none; }
}
@media (max-width: 480px) {
	.sort-tab { padding: 9px 18px; font-size: 14px; }
}
.search-highlight { color: var(--accent-2); }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 34px 0 10px; }
.pagination a, .pagination span {
	border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px;
	color: var(--text); font-weight: 600; font-size: 14px; background: var(--card);
}
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 80px 20px; }
.not-found h1 { font-size: 72px; color: var(--accent-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.cat-grid { grid-template-columns: repeat(5, 1fr); }
	.groups-grid { grid-template-columns: repeat(2, 1fr); }
	.mini-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-inner { grid-template-columns: 1fr; padding: 48px 20px; }
	.hero-art { min-height: 320px; }
	.info-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.main-nav {
		display: none; position: absolute; top: 68px; inset-inline: 0;
		background: var(--header-bg); border-bottom: 1px solid var(--border-soft); padding: 12px 20px;
	}
	.main-nav.open { display: block; }
	.nav-menu { flex-direction: column; gap: 4px; }
	.nav-toggle { display: inline-flex; }
	.header-inner { gap: 12px; }
	.logo-text small { display: none; }
	.groups-grid { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.cta-banner { flex-direction: column; text-align: center; padding: 30px 24px; }
	.group-hero { padding: 24px 20px; }
	.group-hero-cta { margin-inline-start: 0; width: 100%; }
	.group-hero-cta .btn-join { width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.mini-grid { grid-template-columns: 1fr 1fr; }
	.lang-current { display: none; }
}

/* ---------- RTL niceties ---------- */
[dir="rtl"] .hero-search input { border-inline-end: 1px solid var(--border); border-inline-start: none; }
[dir="rtl"] .chat-bubble.b1 { animation-delay: .8s; }

/* ---------- Verify page ---------- */
.verify-wrap { display: flex; justify-content: center; padding: 48px 0 60px; }
.verify-card { width: 100%; max-width: 560px; background: var(--card); border: 1px solid var(--border-soft); border-radius: 22px; padding: 34px 32px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.verify-group { display: flex; align-items: center; gap: 14px; text-align: start; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.verify-avatar .group-avatar-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.verify-avatar .group-avatar-emoji { width: 64px; height: 64px; font-size: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-2); border-radius: 50%; }
.verify-group h1 { font-size: 20px; margin: 0 0 4px; color: var(--text); }
.verify-slug { font-size: 12px; color: var(--muted); font-family: monospace; }
.verify-title { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 22px; margin: 0 0 8px; color: var(--text); }
.verify-sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.verify-checks { list-style: none; margin: 0 0 18px; padding: 0; text-align: start; display: grid; gap: 10px; }
.vcheck { display: flex; align-items: center; gap: 12px; background: var(--card-2); border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px 16px; color: var(--muted); font-size: 15px; transition: all .3s; }
.vcheck .vtick { display: none; width: 26px; height: 26px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: #22c55e; color: #fff; font-weight: 700; font-size: 15px; }
.vcheck .vspin { display: none; width: 22px; height: 22px; flex: none; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; }
.vcheck.active { color: var(--text); border-color: var(--accent); }
.vcheck.active .vspin { display: block; animation: vspin 0.8s linear infinite; }
.vcheck.done { color: var(--text); }
.vcheck.done .vtick { display: inline-flex; }
.vcheck.failed { color: #f87171; border-color: #f87171; }
.vcheck.failed .vtick { display: inline-flex; background: #ef4444; }
@keyframes vspin { to { transform: rotate(360deg); } }
.verify-progress { height: 8px; background: var(--card-2); border-radius: 99px; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--border-soft); }
.verify-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22c55e, #4ade80); border-radius: 99px; transition: width .4s; }
.verify-result[hidden] { display: none; }
.verify-okmsg { color: #4ade80; font-weight: 600; margin: 0 0 16px; font-size: 16px; }
.verify-errmsg { color: #f87171; font-weight: 600; margin: 0 0 8px; font-size: 16px; }
.btn-join-big { font-size: 18px !important; padding: 16px 24px !important; margin: 4px 0 6px !important; animation: vpop .4s ease; }
@keyframes vpop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.verify-ad { margin: 18px 0 4px; padding: 14px; background: var(--card-2); border: 1px dashed var(--border); border-radius: 12px; overflow: hidden; }
.verify-ad-label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.verify-back { margin: 20px 0 0; font-size: 14px; }
.verify-back a { color: var(--muted); text-decoration: none; }
.verify-back a:hover { color: var(--accent); }
@media (max-width: 640px) {
	.verify-card { padding: 26px 20px; }
	.verify-wrap { padding: 28px 0 40px; }
}

/* ---------- Submit CTA banner (homepage) ---------- */
.submit-cta {
	position: relative; overflow: hidden;
	background: linear-gradient(120deg, #0b3d2e, #128c4b 60%, #25d366);
	border-radius: 22px; padding: 40px 42px; margin: 20px 0 8px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	color: #fff; box-shadow: 0 18px 50px rgba(18,140,75,.35);
}
/* animated shine sweep */
.submit-cta::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
	transform: translateX(-120%);
	animation: sc-shine 4.5s ease-in-out infinite;
}
@keyframes sc-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.sc-text { position: relative; z-index: 1; }
.sc-text h3 { margin: 0 0 8px; font-size: 26px; }
.sc-text p { margin: 0; opacity: .93; font-size: 15px; max-width: 540px; }
.sc-bubble { position: absolute; font-size: 44px; opacity: .5; filter: saturate(1.2); animation: sc-float 5s ease-in-out infinite; pointer-events: none; }
.sc-bubble.b1 { inset-inline-end: 210px; top: 12px; }
.sc-bubble.b2 { inset-inline-end: 60px; bottom: 8px; font-size: 56px; animation-delay: 1.4s; }
.sc-bubble.b3 { inset-inline-end: 150px; bottom: 14px; font-size: 26px; animation-delay: 2.6s; }
@keyframes sc-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

/* glowing pulsing submit button */
.btn-submit-glow {
	position: relative; z-index: 1;
	display: inline-flex; align-items: center; gap: 10px;
	background: #fff; color: #0b3d2e; font-weight: 800; font-size: 16px;
	border: none; border-radius: 14px; padding: 15px 30px; cursor: pointer; white-space: nowrap;
	box-shadow: 0 8px 26px rgba(0,0,0,.28);
	transition: transform .2s;
}
.btn-submit-glow::after {
	content: ""; position: absolute; inset: -4px; border-radius: 18px;
	border: 2px solid rgba(255,255,255,.7);
	animation: sc-pulse 2s ease-out infinite; pointer-events: none;
}
@keyframes sc-pulse { 0% { transform: scale(.96); opacity: .9; } 100% { transform: scale(1.12); opacity: 0; } }
.btn-submit-glow:hover { transform: translateY(-3px) scale(1.03); }
.btn-submit-glow:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- Submit box (inside single posts) ---------- */
.submit-box {
	display: flex; align-items: center; gap: 16px;
	margin: 22px 0; padding: 20px 22px; border-radius: 18px;
	border: 2px dashed var(--accent); background: linear-gradient(120deg, var(--card), var(--card-2));
	animation: sc-rise .6s ease both;
}
@keyframes sc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sb-icon {
	flex: none; width: 52px; height: 52px; border-radius: 16px;
	display: inline-flex; align-items: center; justify-content: center; font-size: 26px;
	background: linear-gradient(135deg, #128c4b, #25d366); color: #fff;
	box-shadow: 0 8px 20px rgba(37,211,102,.4); transition: transform .3s;
}
.submit-box:hover .sb-icon { transform: rotate(-10deg) scale(1.1); }
.sb-text { flex: 1; display: grid; gap: 2px; }
.sb-text strong { color: var(--text); font-size: 16px; }
.sb-text span { color: var(--muted); font-size: 13.5px; }

/* ---------- Submit modal ---------- */
.wg-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 18px; }
.wg-modal.open { display: flex; }
.wg-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); animation: sc-fade .25s ease; }
@keyframes sc-fade { from { opacity: 0; } to { opacity: 1; } }
.wg-modal-card {
	position: relative; width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto;
	background: var(--card); border: 1px solid var(--border-soft); border-radius: 22px; padding: 30px 28px;
	box-shadow: 0 30px 90px rgba(0,0,0,.5);
	animation: sc-pop .32s cubic-bezier(.2,1.4,.4,1);
}
@keyframes sc-pop { from { opacity: 0; transform: scale(.9) translateY(24px); } to { opacity: 1; transform: none; } }
.wg-modal-x {
	position: absolute; inset-inline-end: 14px; top: 12px; width: 36px; height: 36px;
	border-radius: 50%; border: 1px solid var(--border-soft); background: var(--card-2);
	color: var(--muted); font-size: 15px; cursor: pointer; transition: all .2s;
}
.wg-modal-x:hover { color: #fff; background: #ef4444; border-color: #ef4444; transform: rotate(90deg); }
.wg-modal-head { text-align: center; margin-bottom: 20px; }
.wg-modal-emoji { font-size: 44px; display: inline-block; animation: sc-float 4s ease-in-out infinite; }
.wg-modal-head h3 { margin: 8px 0 6px; font-size: 22px; color: var(--text); }
.wg-modal-head p { margin: 0; color: var(--muted); font-size: 14px; }

/* form */
.wg-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.wg-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wg-field.wg-span2 { grid-column: 1 / -1; }
.wg-field label { display: block; font-weight: 700; font-size: 13.5px; color: var(--text); margin-bottom: 6px; }
.wg-field input, .wg-field select, .wg-field textarea {
	width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 15px;
	border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
	transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.wg-field input:focus, .wg-field select:focus, .wg-field textarea:focus {
	outline: none; border-color: #25d366; box-shadow: 0 0 0 3px rgba(37,211,102,.18);
}
.wg-field textarea { resize: vertical; min-height: 56px; }
.wg-form-msg { min-height: 22px; margin: 12px 0 4px; font-size: 14px; font-weight: 600; }
.wg-form-msg.err { color: #f87171; animation: sc-shake .3s; }
@keyframes sc-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.wg-submit-form .btn-submit-glow { width: 100%; justify-content: center; margin-top: 10px;
	background: linear-gradient(120deg, #128c4b, #25d366); color: #fff; }
.wg-submit-form .btn-submit-glow::after { border-color: rgba(37,211,102,.7); }
.wg-btn-spin { display: none; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4);
	border-top-color: #fff; border-radius: 50%; animation: vspin .7s linear infinite; }
.wg-submit-form.sending .wg-btn-spin { display: inline-block; }
.wg-success { text-align: center; padding: 26px 10px; }
.wg-check {
	display: inline-flex; align-items: center; justify-content: center;
	width: 74px; height: 74px; border-radius: 50%; font-size: 36px; font-weight: 800;
	color: #fff; background: linear-gradient(135deg, #128c4b, #25d366);
	box-shadow: 0 12px 30px rgba(37,211,102,.45);
	animation: sc-pop .45s cubic-bezier(.2,1.6,.4,1);
}
.wg-success p { color: var(--text); font-size: 16px; margin: 14px 0 0; }
.wg-submit-inline { max-width: 720px; margin: 0 auto; }

@media (max-width: 640px) {
	.submit-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
	.sc-bubble.b1 { inset-inline-end: 24px; }
	.sc-bubble.b2 { inset-inline-end: auto; inset-inline-start: 20px; }
	.submit-box { flex-direction: column; text-align: center; }
	.wg-fgrid { grid-template-columns: 1fr; }
	.wg-modal-card { padding: 24px 18px; }
}

/* ------------------------------------------------------------------ */
/* Single group post — detailed profile layout                          */
/* ------------------------------------------------------------------ */
.gpost { text-align: center; padding: 32px 22px 28px; background: var(--card); border: 1px solid var(--border-soft); border-radius: 22px; margin-bottom: 22px; }
.gpost-avatar { margin-bottom: 14px; }
.gpost-avatar img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border-soft); }
.gpost-avatar .group-avatar-emoji { width: 96px; height: 96px; font-size: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-2); border: 3px solid var(--border-soft); border-radius: 50%; }
.gpost-title { font-size: clamp(26px, 4vw, 38px); margin: 0 0 8px; line-height: 1.25; }
.gpost-desc { color: var(--muted); max-width: 640px; margin: 0 auto 12px; font-size: 15px; }
.gpost-dates { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.gpost-status { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 14px; margin-bottom: 14px; }
.gdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.gdot-on { background: #22c55e; animation: wg-pulse 2s ease-in-out infinite; }
.gdot-off { background: #ef4444; }
.st-on { color: #22c55e; }
.st-off { color: #ef4444; }
.gsep { color: var(--border); }
.gchecked { color: var(--muted); }
.gpost-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.gchip { display: inline-flex; align-items: center; gap: 6px; background: var(--card-2); border: 1px solid var(--border-soft); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.gpost-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.gtag { font-size: 13px; font-weight: 600; color: #4ade80; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); padding: 6px 12px; border-radius: 8px; }
.gpost-join .btn-join-big { margin: 0; }
@keyframes wg-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.22); }
	50% { box-shadow: 0 0 0 8px rgba(34,197,94,.06); }
}

/* Group details card */
.gcard { background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px; padding: 20px 24px; margin-bottom: 16px; }
.gcard-title { font-size: 18px; margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gcard-sub { font-size: 13px; color: var(--muted); font-weight: 400; }
.gd-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 2px; font-size: 14px; }
.gd-row + .gd-row { border-top: 1px solid var(--border-soft); }
.gd-row > span { color: var(--muted); flex-shrink: 0; }
.gd-row > strong { font-weight: 600; text-align: right; }

/* Warning + safety banners */
.gwarn, .gsafety { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; margin-bottom: 14px; }
.gwarn p, .gsafety p { margin: 0; line-height: 1.55; }
.gwarn { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.35); }
.gsafety { background: rgba(249,115,22,.07); border: 1px solid rgba(249,115,22,.4); margin-bottom: 18px; font-size: 14px; }
.gsafety strong { color: #f59e0b; }

/* Publisher card */
.gpub { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 14px 18px; margin-bottom: 20px; }
.gpub-ava { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; font-size: 24px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gpub strong { font-size: 16px; display: inline-flex; align-items: center; gap: 7px; }
.gpub small { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }
.vbadge { width: 19px; height: 19px; border-radius: 50%; background: #3b82f6; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Share row */
.gshare { text-align: center; margin-bottom: 20px; }
.gshare-t { font-size: 12px; letter-spacing: 3px; color: var(--muted); font-weight: 700; margin: 0 0 12px; text-transform: uppercase; }
.gshare-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sh { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; color: #fff; position: relative; padding: 0; transition: transform .2s ease, box-shadow .2s ease; }
.sh:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.sh-wa { background: #25d366; }
.sh-fb { background: #1877f2; }
.sh-x { background: #111; border: 1px solid var(--border-soft); }
.sh-tg { background: #229ed9; }
.sh-copy { background: #6b7280; }
.sh-share { background: #8b5cf6; }
.copy-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: #111; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.sh-copy.copied .copy-tip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Votes */
.gvotes { text-align: center; background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px; padding: 22px; margin-bottom: 22px; }
.gvotes-t { font-weight: 700; font-size: 16px; margin: 0 0 14px; }
.gvotes-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vote-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid var(--border-soft); background: transparent; color: var(--text); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.vote-btn b { font-size: 14px; }
.vote-like { border-color: rgba(34,197,94,.55); }
.vote-dislike { border-color: rgba(239,68,68,.55); }
.vote-btn:hover:not(:disabled) { transform: translateY(-2px); }
.vote-btn:disabled { opacity: .6; cursor: wait; }
.vote-like.chosen { background: linear-gradient(135deg, #4ade80, #16a34a); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(34,197,94,.4); }
.vote-dislike.chosen { background: linear-gradient(135deg, #f87171, #dc2626); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(239,68,68,.4); }
.gvotes-row.voted .vote-btn:not(.chosen) { opacity: .55; }
.gvotes-row.voted .vote-btn { cursor: default; }
@media (prefers-reduced-motion: reduce) {
	.gdot-on { animation: none; }
	.sh, .vote-btn { transition: none; }
}

/* ------------------------------------------------------------------ */
/* v1.6.0: SEO content + FAQ on homepage                               */
/* ------------------------------------------------------------------ */
.seo-h2 { font-size: 23px; margin: 0 0 14px; letter-spacing: -0.01em; }
.seo-content .container { max-width: 860px; }
.seo-content p { color: var(--muted); line-height: 1.75; margin: 0 0 12px; font-size: 15px; }
.faq-list { max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--border-soft); border-radius: 12px; margin-bottom: 10px; padding: 2px 18px; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--border); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--brand); font-size: 18px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); line-height: 1.7; margin: 0 0 16px; font-size: 14.5px; }
[dir="rtl"] .faq-item summary::after { float: left; }

/* ---------- Country archive: rich layout (v1.7.0) ---------- */
.country-hero { position: relative; overflow: hidden; text-align: center; padding: 44px 20px 30px; }
/* v1.7.61 — hero crumbs: same pill logic as post breadcrumbs (dark + light combos). */
.ch-crumb { font-size: 12.5px; letter-spacing: 1.5px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ch-crumb a { color: var(--crumb-text); background: var(--crumb-bg); border: 1px solid var(--crumb-border); padding: 5px 14px; border-radius: 999px; text-decoration: none; transition: background .22s, color .22s, border-color .22s, transform .22s; }
.ch-crumb a:hover { background: var(--crumb-hover-bg); color: #fff; border-color: transparent; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.ch-crumb > span:not(:last-child) { color: var(--crumb-sep); font-weight: 800; }
.ch-crumb > span:last-child { background: var(--crumb-bg); border: 1px dashed var(--crumb-border); color: var(--muted); padding: 5px 14px; border-radius: 999px; }
.country-hero h1 { font-size: clamp(28px, 5vw, 44px); margin: 0 0 10px; line-height: 1.15; }
.ch-sub { color: var(--muted); font-size: 15px; max-width: 660px; margin: 0 auto; font-style: italic; }
.ch-upd { color: var(--muted); font-size: 13px; margin-top: 10px; }

.country-desc-card { border: 1px solid var(--border-soft); border-left: 4px solid #15803d; border-right: 4px solid #15803d; background: var(--card); border-radius: 14px; padding: 22px 26px; margin: 8px 0 24px; box-shadow: var(--shadow); }
.country-desc-card p { margin: 0 0 12px; line-height: 1.8; font-size: 14.5px; }
.country-desc-card p:last-child { margin-bottom: 0; }
[dir="rtl"] .country-desc-card { border-radius: 14px; }

.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 24px; }
.cat-pills .cat-pill { font-size: 13.5px; font-weight: 700; padding: 9px 20px; color: var(--text); background: var(--card); border: 1px solid var(--border-soft); border-radius: 999px; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.cat-pills .cat-pill:hover { border-color: var(--accent); transform: translateY(-1px); }
.cat-pills .cat-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.archive-sec-h { font-size: 20px; margin: 18px 0 14px; }
.archive-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 18px; }
.side-card h3 { font-size: 15px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-soft); }
.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.side-list li { display: flex; align-items: center; gap: 10px; }
.side-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.side-name { font-weight: 700; font-size: 13.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a { font-size: 12.5px; font-weight: 600; padding: 6px 13px; background: var(--pill-bg); border-radius: 999px; color: var(--text); text-decoration: none; }
.side-tags a:hover { background: var(--accent); color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-links li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 4px; border-bottom: 1px solid var(--border-soft); color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a:hover { color: var(--accent-2); }
@media (max-width: 900px) { .archive-layout { grid-template-columns: 1fr; } }

/* ---------- Header background icon (v1.7.0) ---------- */
.archive-head { position: relative; overflow: hidden; }
.country-hero, .page-article, .gpost { position: relative; overflow: hidden; }
.wg-bgicon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 110px; line-height: 1; opacity: .09; pointer-events: none; z-index: 0; }
i.wg-bgicon { font-size: 92px; }
.wg-bgicon-img { width: 130px; height: 130px; object-fit: cover; border-radius: 26px; opacity: .14; font-size: 0; }
.archive-head > *:not(.wg-bgicon), .country-hero > *:not(.wg-bgicon), .page-article > *:not(.wg-bgicon), .gpost > *:not(.wg-bgicon) { position: relative; z-index: 1; }
[dir="rtl"] .wg-bgicon { right: auto; left: 18px; }

/* ---------- Surprise slide (clickable ad banner, v1.7.1) ---------- */
.surprise-slide { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-top: 14px; border: 1px solid var(--accent); border-radius: 12px; background: rgba(34, 197, 94, .07); text-decoration: none; overflow: hidden; animation: ss-glow 2.4s ease-in-out infinite; }
.surprise-slide::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); animation: ss-shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes ss-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes ss-glow { 0%, 100% { box-shadow: 0 0 10px rgba(34, 197, 94, .18); } 50% { box-shadow: 0 0 26px rgba(34, 197, 94, .5); } }
.ss-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; animation: ss-ping 1.6s ease-out infinite; }
@keyframes ss-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.ss-emoji { font-size: 22px; line-height: 1; }
.ss-text { font-weight: 800; font-size: 17px; color: var(--accent-2); flex: 1; }
.ss-arrow { color: var(--accent-2); font-size: 20px; font-weight: 800; line-height: 1; animation: ss-nudge 1.6s ease-in-out infinite; }
@keyframes ss-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
[dir="rtl"] .ss-arrow { animation-name: ss-nudge-rtl; }
@keyframes ss-nudge-rtl { 0%, 100% { transform: translateX(0) scaleX(-1); } 50% { transform: translateX(-5px) scaleX(-1); } }
@media (prefers-reduced-motion: reduce) { .surprise-slide, .surprise-slide::after, .ss-dot, .ss-arrow { animation: none; } }

/* ---------- Collapsible description card (v1.7.3) ---------- */
.country-desc-card { position: relative; max-height: 168px; overflow: hidden; transition: max-height .45s ease; }
.country-desc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66px; background: linear-gradient(transparent, var(--card)); pointer-events: none; }
.country-desc-card.open { max-height: 2500px; }
.country-desc-card.open::after { display: none; }
.desc-toggle { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(34, 197, 94, .14); border: 1px solid var(--accent); color: var(--accent-2); font-size: 15px; line-height: 1; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.desc-toggle:hover { background: rgba(34, 197, 94, .25); }
.country-desc-card.open .desc-toggle { transform: translateX(-50%) rotate(180deg); }

/* ---------- Header logo (v1.7.3) ---------- */
.site-logo { max-height: 42px; width: auto; display: block; }

/* ---------- Latest groups slider (v1.7.3) ---------- */
.latest-slider-sec { padding-bottom: 0; }
.slider-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.slider-head h2 { margin: 0; font-size: 22px; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-soft); background: var(--card); color: var(--text); font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, transform .2s ease; }
.slider-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.latest-slider { overflow: hidden; border-radius: 16px; }
.lslide-track { display: flex; overflow: hidden; padding: 4px 2px 10px; }
.wg-set { display: flex; gap: 14px; padding-right: 14px; flex-shrink: 0; }
.lslide { flex: 0 0 300px; }
.lslide-track.wg-marquee { animation: wg-marquee linear infinite; animation-duration: var(--wg-mq-speed, 40s); }
.lslide-track.wg-marquee:hover, .lslide-track.wg-paused { animation-play-state: paused; }
@keyframes wg-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lslide-track.wg-marquee { animation: none; } }
.lslide-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .2s ease, transform .2s ease; }
.lslide-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.lslide-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(34, 197, 94, .1); font-size: 24px; }
.lslide-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lslide-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lslide-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lslide-meta { font-size: 12.5px; color: var(--muted); }
.lslide-arrow { color: var(--accent-2); font-weight: 800; font-size: 18px; flex: none; }
@media (max-width: 640px) { .lslide { flex-basis: 250px; } }

/* ==========================================================================
   v1.7.4 — Dark theme: green header + hero + footer, 95% black everywhere else
   ========================================================================== */
:root[data-theme="dark"] .site-header { background: #0b0b0b; border-bottom: 1px solid rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .logo, :root[data-theme="dark"] .nav-menu a, :root[data-theme="dark"] .icon-btn, :root[data-theme="dark"] .lang-btn { color: #fff; }
:root[data-theme="dark"] .logo-text strong { color: #fff; }
:root[data-theme="dark"] .logo-text small { color: rgba(255, 255, 255, .78); }
:root[data-theme="dark"] .nav-menu a:hover { border-color: #fff; }
:root[data-theme="dark"] .icon-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
:root[data-theme="dark"] .lang-btn { border-color: rgba(255, 255, 255, .45); }
:root[data-theme="dark"] .lang-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
/* Nav links: Groupizo-style — plain white text on black with green underline. */
:root[data-theme="dark"] .nav-menu a { background: transparent; border: none; border-radius: 0; padding: 10px 6px; position: relative; color: #f2f2f2; transition: color .2s ease; }
:root[data-theme="dark"] .nav-menu a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .22s ease; }
:root[data-theme="dark"] .nav-menu a:hover { background: transparent; border: none; color: #fff; transform: none; }
:root[data-theme="dark"] .nav-menu a:hover::after { transform: scaleX(1); }
:root[data-theme="dark"] .nav-menu .current-menu-item > a, :root[data-theme="dark"] .nav-menu .current_page_item > a { background: transparent; border: none; color: #fff; }
:root[data-theme="dark"] .nav-menu .current-menu-item > a::after, :root[data-theme="dark"] .nav-menu .current_page_item > a::after { transform: scaleX(1); }
:root[data-theme="dark"] .header-search { background: #0b0b0b; border-top: 1px solid rgba(255, 255, 255, .15); }
:root[data-theme="dark"] .main-nav { background: #0b0b0b; }

:root[data-theme="dark"] .hero { background: linear-gradient(135deg, #052e16, #0b3d20 70%, #14532d); border-bottom: none; }
:root[data-theme="dark"] .hero h1 { color: #fff; }
:root[data-theme="dark"] .hero h1 .grad { background: none; -webkit-background-clip: unset; background-clip: unset; color: #fff; }
:root[data-theme="dark"] .hero p.lead { color: rgba(255, 255, 255, .88); }
:root[data-theme="dark"] .hero-badge { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: #fff; }
:root[data-theme="dark"] .hero-search input { background: #fff; border-color: transparent; color: #111; }
:root[data-theme="dark"] .hero-search input::placeholder { color: #8a8a8a; }
:root[data-theme="dark"] .hero-search button { background: #16a34a; color: #fff; }

:root[data-theme="dark"] .site-footer { background: linear-gradient(135deg, #052e16, #0b3d20 70%, #14532d); border-top: none; }
:root[data-theme="dark"] .site-footer, :root[data-theme="dark"] .footer-tag, :root[data-theme="dark"] .footer-links a, :root[data-theme="dark"] .footer-bottom-inner { color: rgba(255, 255, 255, .85); }
:root[data-theme="dark"] .footer-links h4 { color: #fff; }
:root[data-theme="dark"] .footer-links a:hover { color: #fff; }
:root[data-theme="dark"] .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .22); }

/* v1.7.6 — hide empty nav pills (stray blank menu items). */
.nav-menu a:empty { display: none; }
.nav-menu li:has(> a:empty) { display: none; }

/* ---------- Dual-mode logo (v1.7.8) ---------- */
.site-logo.logo-light { display: none; }
:root[data-theme="light"] .site-logo.logo-dark { display: none; }
:root[data-theme="light"] .site-logo.logo-light { display: block; }

/* ---------- Countries page (v1.7.10) ---------- */
.hero-slim { padding: 46px 0; }
.hero-slim .hero-search { max-width: 440px; margin: 20px 0 0; }
/* v1.7.61 — hero crumbs ab pill style use karte hain; purane white-text overrides hata diye. */
.no-results { text-align: center; color: var(--muted); padding: 34px 0; font-size: 15px; }

/* ---------- Uploaded term icons (v1.7.13) ---------- */
.cat-icon .term-icon-img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.group-banner-ico .term-icon-img { width: 1em; height: 1em; object-fit: contain; }
.wg-icon-img-preview img { max-width: 60px; height: auto; border-radius: 8px; border: 1px solid #dcdcde; margin-bottom: 6px; }

/* ---------- Mobile hardening (v1.7.16) ---------- */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.hero-search input { min-width: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
@media (max-width: 720px) {
	input[type="text"], input[type="search"], input[type="url"], input[type="email"], input[type="tel"], textarea, select { font-size: 16px; }
	.group-hero { padding: 22px 18px; gap: 18px; }
	.group-hero-icon { width: 84px; height: 84px; }
	.country-desc-card { padding: 18px; }
	.info-bar { gap: 10px; }
	.hero-inner { padding: 40px 20px; }
}
@media (max-width: 480px) {
	.cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.cat-card { padding: 14px 6px; }
	.cat-icon { width: 44px; height: 44px; font-size: 22px; }
	.cat-icon .term-icon-img { width: 28px; height: 28px; }
	.groups-grid { gap: 14px; }
	.slider-head h2, .section-head h2 { font-size: 20px; }
	.verify-card { padding: 24px 16px; }
	.footer-grid { gap: 24px; padding: 36px 20px 24px; }
	.hero-search button { padding: 0 18px; }
}

/* ---------- About / Team (v1.7.19) ---------- */
.about-wrap { padding: 6px 0 10px; }
.about-intro { max-width: 880px; margin: 0 0 6px; font-size: 16px; line-height: 1.85; color: var(--text); }
.about-intro p { margin: 0 0 14px; }
.team-heading { color: #22c55e; font-size: 24px; margin: 26px 0 18px; }
.team-admin-card { background: var(--card); border: 1px solid var(--border-soft); border-left: 4px solid #15803d; border-right: 4px solid #15803d; border-radius: 14px; padding: 26px; margin: 0 0 24px; box-shadow: var(--shadow); }
.tac-top { display: flex; gap: 22px; align-items: center; }
.tac-photo .tm-photo, .tac-photo .tm-initials { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; }
.tm-initials { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #15803d, #22c55e); }
.tac-photo .tm-initials { font-size: 36px; }
.tac-info { min-width: 0; }
.tac-info h3 { margin: 0 0 12px; font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tac-badge { font-size: 12px; font-weight: 700; background: #15803d; color: #fff; padding: 3px 12px; border-radius: 999px; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tac-details.tm-chips { margin-top: 14px; }
.tc-details.tm-chips { margin-bottom: 14px; }
.tm-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(127,127,127,.10); border: 1px solid var(--border-soft); color: var(--text); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; line-height: 1.4; text-decoration: none; }
a.tm-chip:hover { border-color: #22c55e; color: #22c55e; }
.tac-desc { border-top: 1px solid var(--border-soft); margin-top: 20px; padding-top: 18px; font-size: 15.5px; line-height: 1.9; color: var(--text); }
.tac-desc p { margin: 0 0 12px; }
.tac-desc p:last-child { margin-bottom: 0; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.team-card { background: var(--card); border: 1px solid var(--border-soft); border-left: 4px solid #15803d; border-right: 4px solid #15803d; border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.tc-photo { margin-bottom: 14px; }
.tc-photo .tm-photo, .tc-photo .tm-initials { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.tc-photo .tm-initials { font-size: 30px; }
.team-card h3 { margin: 0 0 10px; font-size: 19px; }
.tc-details { margin-bottom: 14px; }
.tc-desc { border-top: 1px solid var(--border-soft); padding-top: 14px; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.tc-desc p { margin: 0 0 10px; }
.tc-desc p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
	.team-grid { grid-template-columns: 1fr; }
	.tac-top { flex-direction: column; text-align: center; }
	.tm-chips { justify-content: center; }
	.team-admin-card, .team-card { padding: 20px; }
}

/* ---------- About content cards (v1.7.20) ---------- */
.about-card { border: 1px solid var(--border-soft); border-left: 4px solid #15803d; border-right: 4px solid #15803d; background: var(--card); border-radius: 14px; padding: 24px 28px; margin: 0 0 24px; box-shadow: var(--shadow); }
.about-card h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.4; }
.about-card p { margin: 0 0 12px; line-height: 1.85; font-size: 15px; color: var(--text); }
.about-card p:last-child { margin-bottom: 0; }
.team-label { color: #22c55e; font-size: 22px; margin: 28px 0 18px; }
.team-label strong { font-weight: 800; }
@media (max-width: 720px) {
	.about-card { padding: 20px; }
	.about-card h2 { font-size: 19px; }
}

/* ---------- Report button + modal bits (v1.7.20) ---------- */
.gpost-report { margin-top: 12px; text-align: center; }
.verify-report { margin-top: 12px; }
.btn-report { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--border-soft); color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s; }
.btn-report:hover { border-color: #dc2626; color: #dc2626; }
.wg-rep-groupname { background: var(--bg-soft, rgba(127,127,127,.08)); border: 1px solid var(--border-soft); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; }

/* ---------- Homepage "The Origin" section (v1.7.22) ---------- */
.origin-title { font-size: 24px; margin: 0 0 18px; }
.origin-card { display: block; background: var(--card); border: 1px solid var(--border-soft); border-left: 4px solid #22c55e; border-radius: 12px; padding: 26px 30px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.origin-card:hover { transform: translateY(-2px); }
.origin-quote p { margin: 0 0 14px; line-height: 1.85; font-size: 15px; }
.origin-quote p:last-child { margin-bottom: 0; }
.origin-founder { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.origin-avatar img, .origin-avatar .tm-initials { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block; font-size: 17px; }
.origin-who { display: flex; flex-direction: column; gap: 2px; }
.origin-who strong { font-size: 15px; }
.origin-who small { color: var(--muted); font-size: 13px; }
.origin-arrow { margin-left: auto; color: #22c55e; font-size: 22px; font-weight: 700; }
@media (max-width: 720px) {
	.origin-card { padding: 20px; }
	.origin-title { font-size: 21px; }
}

/* ---------- Homepage Guides & how-tos (v1.7.23) ---------- */
.guides-head { text-align: center; max-width: 620px; margin: 0 auto 26px; }
.guides-kicker { display: inline-block; background: #1d4ed8; color: #fff; font-weight: 800; font-size: 15px; padding: 8px 22px; border-radius: 8px; }
.guides-head p { color: var(--muted); font-size: 14px; margin: 12px 0 0; line-height: 1.7; }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .2s ease; }
.guide-card:hover { transform: translateY(-3px); }
.guide-media { position: relative; display: block; aspect-ratio: 16/10; background: #0d2818; overflow: hidden; }
.guide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-media-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.guide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, transparent 100%); pointer-events: none; }
.guide-media-title { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-weight: 800; font-size: 17px; line-height: 1.35; }
.guide-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 16px; flex: 1; }
.guide-cat { color: #22c55e; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.guide-title { font-size: 16.5px; font-weight: 800; line-height: 1.4; }
.guide-ex { color: var(--muted); font-size: 13.5px; line-height: 1.7; flex: 1; }
.guide-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); padding-top: 6px; }
.guide-read { color: #22c55e; font-weight: 700; }
.guides-more { text-align: center; margin-top: 26px; }
.guides-all { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #22c55e; color: #22c55e; font-weight: 700; font-size: 14.5px; padding: 11px 30px; border-radius: 999px; text-decoration: none; transition: background .2s ease; }
.guides-all:hover { background: rgba(34,197,94,.12); }

/* ---------- Homepage tag cloud (v1.7.23) ---------- */
.tags-head { text-align: center; max-width: 620px; margin: 0 auto 24px; }
.tags-head h2 { font-size: 23px; margin: 0 0 10px; }
.tags-head p { color: var(--muted); font-size: 14px; margin: 0; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(34,197,94,.45); color: #22c55e; background: rgba(34,197,94,.07); font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px; text-decoration: none; transition: background .2s ease; }
.tag-pill:hover { background: rgba(34,197,94,.16); }
.tag-count { font-size: 11.5px; opacity: .75; font-weight: 700; }

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

/* ---------- Top Community Contributors (v1.7.24) ---------- */
.ctb-sec { position: relative; }
.ctb-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 260px at 50% 0%, rgba(34,197,94,.10), transparent 70%); pointer-events: none; }
.ctb-head { text-align: center; margin-bottom: 30px; position: relative; }
.ctb-kicker { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(34,197,94,.5); color: #22c55e; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; padding: 7px 18px; border-radius: 999px; background: rgba(34,197,94,.07); }
.ctb-title { font-size: 34px; margin: 16px 0 8px; font-weight: 900; }
.ctb-title span { background: linear-gradient(90deg, #4ade80, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ctb-sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.ctb-sub span { color: #22c55e; }
.ctb-podium { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin-bottom: 22px; position: relative; }
.ctb-card { position: relative; background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 30px 18px 20px; text-align: center; width: 210px; box-shadow: var(--shadow); }
.ctb-card.ctb-big { width: 250px; }
.ctb-card.ctb-first { transform: translateY(-16px); border-color: rgba(232,169,12,.65); box-shadow: 0 0 34px rgba(232,169,12,.22), var(--shadow); }
.ctb-rank { position: absolute; top: -2px; left: 16px; width: 32px; height: 42px; display: flex; align-items: flex-start; justify-content: center; padding-top: 7px; font-weight: 900; font-size: 14px; color: #0a0f0a; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%); }
.ctb-rank.r1 { background: linear-gradient(#ffd76a, #e8a90c); }
.ctb-rank.r2 { background: linear-gradient(#f0f0f0, #9aa0a6); }
.ctb-rank.r3 { background: linear-gradient(#f4b183, #b26a1b); }
.ctb-pos { position: absolute; top: 10px; left: 14px; font-size: 12px; font-weight: 800; color: var(--muted); }
.ctb-avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h,150), 55%, 40%), hsl(var(--h,150), 60%, 20%)); border: 2px solid rgba(255,255,255,.14); }
.ctb-avatar.a-big { width: 76px; height: 76px; font-size: 26px; }
.ctb-avatar.a-sm { width: 56px; height: 56px; font-size: 19px; }
.ctb-name { font-weight: 800; font-size: 15.5px; margin-top: 12px; }
.ctb-check { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: #1d9bf0; color: #fff; font-size: 11px; font-weight: 900; vertical-align: 1px; margin-left: 4px; }
.ctb-groups { font-size: 13px; color: var(--muted); margin-top: 5px; }
.ctb-groups strong { color: #22c55e; font-size: 14.5px; }
.ctb-badge { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 800; padding: 6px 14px; border-radius: 999px; border: 1px solid; }
.ctb-badge.b-trusted { color: #f5b90c; border-color: rgba(245,185,12,.55); background: rgba(245,185,12,.10); }
.ctb-badge.b-helper { color: #7dd3fc; border-color: rgba(125,211,252,.45); background: rgba(125,211,252,.08); }
.ctb-badge.b-consistent { color: #c4b5fd; border-color: rgba(196,181,253,.45); background: rgba(196,181,253,.08); }
.ctb-badge.b-climber { color: #4ade80; border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.08); }
.ctb-badge.b-newcomer { color: var(--muted); border-color: var(--border-soft); background: transparent; }
.ctb-rep { margin-top: 10px; font-size: 12.5px; font-weight: 800; color: #f5b90c; }
.ctb-bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,.09); margin-top: 8px; overflow: hidden; }
.ctb-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #16a34a, #4ade80); }
.ctb-empty { opacity: .75; border-style: dashed; }
.ctb-row-wrap { position: relative; margin-bottom: 26px; }
.ctb-row { display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ctb-row::-webkit-scrollbar { display: none; }
.ctb-row .ctb-card { flex: 0 0 190px; scroll-snap-align: start; }
.ctb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(34,197,94,.5); background: rgba(6,20,12,.9); color: #22c55e; font-size: 20px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
.ctb-nav.prev { left: -8px; } .ctb-nav.next { right: -8px; }
.ctb-nav:hover { background: rgba(34,197,94,.18); }
.ctb-cta { display: flex; align-items: center; gap: 18px; border: 1px solid rgba(34,197,94,.4); background: linear-gradient(90deg, rgba(34,197,94,.10), rgba(34,197,94,.03)); border-radius: 18px; padding: 22px 26px; }
.ctb-cta-ico { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #22c55e; border: 1px solid rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
.ctb-cta-txt { flex: 1; }
.ctb-cta-txt strong { font-size: 17px; }
.ctb-cta-txt strong span { color: #22c55e; }
.ctb-cta-txt p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.ctb-submit { flex-shrink: 0; border: 0; cursor: pointer; background: linear-gradient(90deg, #22c55e, #4ade80); color: #05240f; font-weight: 800; font-size: 15px; padding: 13px 30px; border-radius: 12px; box-shadow: 0 6px 22px rgba(34,197,94,.35); transition: transform .2s ease; }
.ctb-submit:hover { transform: translateY(-2px); }
.ctb-note { text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0 0; }
@media (max-width: 900px) {
	.ctb-podium { gap: 10px; }
	.ctb-card.ctb-big { width: 31%; }
	.ctb-card { width: 30%; padding: 28px 10px 16px; }
	.ctb-title { font-size: 27px; }
	.ctb-cta { flex-direction: column; text-align: center; }
	.ctb-cta-txt { text-align: center; }
}

/* ------------------------------------------------------------------ */
/* Safety Center (/report-group/)                                      */
/* ------------------------------------------------------------------ */
.safety-top { padding-bottom: 0; }
.safety-hero-card {
	background: linear-gradient(135deg, #052e16, #0b3d20 50%, #14532d);
	border: 1px solid var(--border-soft);
	border-left: 4px solid #15803d;
	border-right: 4px solid #15803d;
	border-radius: 14px;
	padding: 40px 32px;
	text-align: center;
	box-shadow: var(--shadow);
	color: #fff;
}
.safety-hero-card h1 { color: #fff; font-size: clamp(28px, 5vw, 44px); margin: 0 0 12px; line-height: 1.15; }
.safety-hero-card .lead { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto; line-height: 1.7; }
.safety-hero-card .ch-crumb { color: rgba(255,255,255,.7); }
.safety-hero-card .ch-crumb a:hover { color: #fff; }
.safety-hero-card .ch-crumb > span:last-child { color: #fff; }
.safety-shield { font-size: 44px; margin-bottom: 8px; filter: drop-shadow(0 4px 14px rgba(59,130,246,.45)); }
.safety-wrap { max-width: 1080px; }
.safety-search-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 26px 28px; margin-bottom: 34px; box-shadow: var(--shadow); }
.safety-search-card h2 { font-size: 17px; margin: 0 0 16px; }
.safety-search-row { display: flex; gap: 12px; }
.safety-search-row input { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 14.5px; }
.safety-search-row input:focus { outline: none; border-color: #f43f5e; }
.btn-safety-find { background: linear-gradient(135deg,#f43f5e,#ef4444); color: #fff; border: 0; border-radius: 10px; padding: 13px 26px; font-weight: 800; font-size: 14.5px; cursor: pointer; white-space: nowrap; }
.btn-safety-find:hover { filter: brightness(1.08); }
.safety-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin: 16px 0 0; }
.safety-results { margin-top: 6px; }
.safety-found { list-style: none; margin: 14px 0 0; padding: 0; }
.safety-found li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--border-soft); }
.safety-found small { color: var(--muted); }
.safety-sec-title { font-size: 20px; margin: 34px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-soft); }
.safety-table-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.safety-table-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.safety-showing { margin: 0; color: var(--muted); font-size: 13.5px; }
.safety-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-filter { font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.pill-filter.on { background: rgba(244,63,94,.12); border-color: #f43f5e; color: #f43f5e; }
.safety-table-scroll { overflow-x: auto; }
.safety-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.safety-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.safety-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.safety-table tr:last-child td { border-bottom: 0; }
.safety-table td small { color: var(--muted); }
.rep-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(244,63,94,.12); border: 1px solid rgba(244,63,94,.4); color: #f43f5e; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.st-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.st-active { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #22c55e; }
.st-revoked { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #ef4444; }
.safety-view { color: #22c55e; font-weight: 700; white-space: nowrap; }
.safety-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; }
.safety-pageinfo { color: var(--muted); font-size: 13px; }
.safety-pagelinks { display: flex; gap: 6px; align-items: center; }
.safety-pagelinks a, .safety-pagelinks span.on { min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--muted); padding: 0 8px; }
.safety-pagelinks span.on { background: rgba(244,63,94,.12); border-color: #f43f5e; color: #f43f5e; font-weight: 800; }
.safety-empty { padding: 34px 20px; text-align: center; color: var(--muted); margin: 0; }
.safety-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 26px 0 6px; }
.safety-trust-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 22px; }
.safety-trust-card h3 { font-size: 15.5px; margin: 0 0 10px; }
.safety-trust-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0; }
.safety-faq { margin-bottom: 10px; }
@media (max-width: 720px) {
	.safety-search-row { flex-direction: column; }
	.safety-trust { grid-template-columns: 1fr; }
	.safety-table-head { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ */
/* Contact form card                                                   */
/* ------------------------------------------------------------------ */
.contact-card h1 { font-size: 24px; margin: 0 0 14px; }
.wg-contact-form { margin-top: 20px; }
.wg-contact-form .btn-submit-glow { width: 100%; margin-top: 6px; }
.wg-success { text-align: center; padding: 26px 10px; }
.wg-success .wg-check { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(34,197,94,.14); color: #22c55e; font-size: 26px; font-weight: 900; margin-bottom: 12px; }
.wg-success p { font-weight: 700; }

/* ---------- Filter Groups (homepage, v1.7.34) ---------- */
.filter-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.filter-head h2 svg { color: var(--accent); flex: none; }
.filter-reset { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid var(--border); color: var(--muted); border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; transition: border-color .2s, color .2s; }
.filter-reset:hover { border-color: var(--accent); color: var(--accent); }
.filter-sub { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.filter-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.filter-field { display: block; min-width: 0; }
.filter-field > span { display: block; font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.filter-field select { width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 15px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); font-family: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.filter-field select:focus { outline: none; border-color: #25d366; box-shadow: 0 0 0 3px rgba(37,211,102,.18); }
.filter-apply { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border: none; border-radius: 12px; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; color: #fff; background: linear-gradient(120deg, #128c4b, #25d366); box-shadow: 0 6px 18px rgba(37,211,102,.35); transition: transform .15s, box-shadow .2s; white-space: nowrap; }
.filter-apply:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.45); }

/* ---------- Filter results page chips (v1.7.34) ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; align-items: center; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--pill-bg); border: 1px solid var(--accent); color: var(--text); border-radius: 999px; padding: 7px 8px 7px 14px; font-size: 13.5px; font-weight: 700; }
[dir="rtl"] .filter-chip { padding: 7px 14px 7px 8px; }
.filter-chip a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(128,128,128,.25); color: var(--text); text-decoration: none; font-size: 16px; line-height: 1; }
.filter-chip a:hover { background: var(--accent); color: #fff; }
.filter-chip-reset { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.filter-chip-reset:hover { color: var(--accent); }

@media (max-width: 900px) {
	.filter-fields { grid-template-columns: 1fr 1fr; }
	.filter-apply { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.filter-fields { grid-template-columns: 1fr; }
	.filter-card { padding: 18px; }
}

/* ---------- Popular Categories (homepage, v1.7.35) ---------- */
.pop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pop-head h2 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.pop-head h2 svg { color: var(--accent); flex: none; }
.all-cats-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.all-cats-btn:hover { background: var(--accent); color: #fff; }
.pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pop-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 24px 14px; text-align: center; color: var(--text); text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease; }
.pop-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text); box-shadow: var(--shadow); }
.pop-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: var(--pill-bg); border: 1px solid var(--border-soft); }
.pop-icon img { width: 34px; height: 34px; object-fit: contain; }
.pop-card .pop-name { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; }
.pop-card .pop-count { color: var(--muted); font-size: 12.5px; }

@media (max-width: 900px) {
	.pop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.pop-head h2 { font-size: 18px; }
	.all-cats-btn { padding: 8px 14px; font-size: 12.5px; }
	.pop-card { padding: 18px 10px; }
	.pop-card .pop-name { font-size: 13.5px; }
}

/* ---------- Green-sided content card: page/post content + directory descriptions (v1.7.39) ---------- */
.wg-content-card { background: var(--card); border: 1px solid var(--border-soft); border-left: 5px solid var(--accent); border-right: 5px solid var(--accent); border-radius: 14px; padding: 22px 26px; color: var(--text); }
.wg-content-card p { line-height: 1.75; }
.wg-desc-card { margin-bottom: 26px; }
.wg-desc-card p { margin: 0; font-size: 14.5px; }
.post-meta { color: var(--muted); font-size: 13px; margin: 6px 0 18px; }

/* v1.7.46: "How to Use WhatsApp Groups" guide accordions (single group pages). */
.wg-guide { background: var(--card); border: 1px solid var(--border-soft); border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.wg-guide-h { font-size: 19px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.wg-acc { border: 1px solid var(--border-soft); border-radius: 12px; margin-top: 10px; background: var(--card-2); overflow: hidden; transition: border-color .2s; }
.wg-acc.open { border-color: var(--accent); }
.wg-acc-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: none; border: 0; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); text-align: left; font-family: inherit; }
.wg-acc-head:hover .wg-acc-title { color: var(--accent-2); }
.wg-acc-ico { font-size: 18px; flex: 0 0 auto; }
.wg-acc-title { flex: 1 1 auto; }
.wg-acc-chev { flex: 0 0 auto; color: var(--accent); transition: transform .22s ease; }
.wg-acc.open .wg-acc-chev { transform: rotate(180deg); }
.wg-acc-body { padding: 2px 18px 18px 46px; color: var(--text); font-size: 14.5px; line-height: 1.7; }
.wg-acc-body ol, .wg-acc-body ul { margin: 4px 0 0; padding-left: 20px; }
.wg-acc-body li { margin-bottom: 6px; }
.wg-acc-body li::marker { color: var(--accent); font-weight: 700; }
.wg-guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wg-guide-col h4 { margin: 6px 0 8px; font-size: 15px; }
.wg-do h4 { color: var(--accent-2); }
.wg-dont h4 { color: #f87171; }
@media (max-width: 640px) {
	.wg-guide-cols { grid-template-columns: 1fr; }
	.wg-acc-body { padding-left: 18px; }
}
