/* ============================================================
   VertaHub Theme — style.css
   Hosted via jsDelivr + GitHub
   https://vertahub.blogspot.com/
   ============================================================ */

:root {
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --bg-main: #0f172a;
  --bg-surface: #1e293b;
  --text-bright: #f8fafc;
  --text-main: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --max-width: 1400px;
  --telegram: #0088cc;
  --discord: #5865F2;
  --reddit: #FF4500;
  --whatsapp: #25D366;
  --facebook: #1877F2;
  --gaming: #9b59b6;
  --crypto: #f39c12;
  --tech: #2980b9;
  --languages: #27ae60;
  --local: #d35400;
  --sport: #c0392b;
  --bot: #00b4d8;
  --anime: #8e44ad;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.04), transparent 25%), radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.04), transparent 25%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--primary); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 9999px; border: 3px solid #0f172a; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.skip-nav { position: absolute; top: -100%; left: 0; background: var(--accent); color: #fff; padding: 10px 20px; font-weight: 700; font-size: 15px; border-radius: 0 0 8px 0; z-index: 9999; text-decoration: none; transition: top 0.2s ease; }
.skip-nav:focus { top: 0; }
.wth-progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); width: 0%; z-index: 9999; }
.wth-navbar { background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
.wth-nav-container { max-width: var(--max-width); margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.wth-logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; }
.wth-logo-text { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wth-logo-img { height: 75px; width: 75px; display: block; object-fit: contain; }
.wth-nav-links { display: flex; gap: 2rem; list-style: none; }
.wth-nav-links a { color: var(--text-main); font-weight: 600; transition: color 0.3s ease; }
.wth-nav-links a:hover { color: var(--accent); }
.wth-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 1px solid var(--border-color); cursor: pointer; padding: 10px 12px; border-radius: 8px; transition: border-color 0.2s ease; }
.wth-hamburger:hover { border-color: var(--accent); }
.wth-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-main); border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
.wth-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wth-hamburger.active span:nth-child(2) { opacity: 0; }
.wth-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.wth-mobile-menu { display: none; flex-direction: column; padding: 1rem 1.5rem; gap: 0.5rem; background: rgba(30, 41, 59, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.wth-mobile-menu a { padding: 0.75rem 1rem; border-radius: 8px; background: rgba(99, 102, 241, 0.1); color: var(--text-bright); transition: all 0.3s ease; }
.wth-mobile-menu a:hover { background: rgba(99, 102, 241, 0.2); }
.wth-hero { background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15), transparent 50%), radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12), transparent 50%), rgba(30, 41, 59, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; padding: 4rem 3rem; margin-bottom: 3rem; display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.wth-hero-content h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; line-height: 1.15; }
.wth-hero-content p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; max-width: 500px; margin: 0; }
.wth-hero-content { flex: 1; min-width: 300px; }
.wth-page-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 2rem; line-height: 1.2; }
.wth-hero-badges { display: flex; flex-direction: column; gap: 0.75rem; }
.wth-badges-row { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.wth-platform-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem; color: white; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.wth-platform-badge:hover { transform: translateY(-2px) scale(1.04); border-color: rgba(255, 255, 255, 0.15); }
.wth-platform-badge .platform-icon { width: 1rem; height: 1rem; }
.wth-layout { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.wth-layout-wrapper { display: flex; gap: 2rem; flex-wrap: wrap; }
.wth-main-content { flex: 1 1 0; min-width: 300px; }
.wth-sidebar { width: 280px; flex-shrink: 0; padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.04); }
.wth-platform-badges-sidebar { display: flex; flex-direction: column; gap: 0.75rem; }

/* Grid */
.index-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; width: 100%; }
.post-outer { position: relative; break-inside: avoid; display: flex; flex-direction: column; background: rgba(30, 41, 59, 0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 22px; overflow: hidden; transition: border-color 0.4s ease, box-shadow 0.5s ease; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06); transform-style: preserve-3d; will-change: transform; }
.post-outer:hover { border-color: rgba(99, 102, 241, 0.35); box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.post-outer::after { content: ''; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent); margin: 0 1.25rem; }
.post-card-header { position: relative; padding: 0.75rem; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 0.25rem; }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; color: white; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); background: #475569; }
.platform-badge .platform-badge-icon { width: 12px; height: 12px; }
.img-content { display: flex; justify-content: center; padding: 1rem 1rem 0 1rem; overflow: hidden; }
.img-content img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); border: 2px solid rgba(255,255,255,0.05); }
.post-outer:hover .img-content img { transform: scale(1.08) rotate(1deg); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4); border-color: rgba(255,255,255,0.15); }
.no-thumbnail { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--bg-surface) 0%, #334155 100%); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.post-title { padding: 1.25rem 1.5rem 0.5rem 1.5rem; font-size: 1.25rem; text-align: center; }
.post-title a { color: var(--text-bright); font-weight: 800; line-height: 1.45; letter-spacing: -0.01em; transition: color 0.3s ease; }
.post-title a:hover { color: var(--accent); }
.post-meta { padding: 0 1.25rem 1rem 1.25rem; font-size: 0.875rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.verified-date { display: flex; align-items: center; justify-content: center; width: 100%; gap: 6px; color: var(--text-muted); font-weight: 500; font-size: 0.8rem; }
.details-section { display: flex; align-items: center; padding: 0 1.25rem 1.25rem 1.25rem; margin-top: auto; }
.more-groups { flex: 1; display: inline-block; padding: 0.75rem 1.5rem; background: linear-gradient(90deg, var(--primary), var(--secondary)); color: white; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; font-weight: 700; font-size: 0.9rem; text-align: center; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.more-groups:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); filter: brightness(1.1); color: white; }
.details-section .more-groups ~ .more-groups { display: none !important; }

/* Dynamic Badge Colors */
[class*="badge-"], [class*="more-"] { transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
[class*="badge-"]:hover, [class*="more-"]:hover { box-shadow: 0 8px 20px var(--hover-shadow); transform: translateY(-2px); }
.badge-telegram, .more-telegram { background: var(--telegram); --hover-shadow: rgba(0, 91, 138, 0.45); }
.badge-discord, .more-discord { background: var(--discord); --hover-shadow: rgba(59, 52, 230, 0.45); }
.badge-reddit, .more-reddit { background: var(--reddit); --hover-shadow: rgba(204, 55, 0, 0.45); }
.badge-whatsapp, .more-whatsapp { background: var(--whatsapp); --hover-shadow: rgba(37, 211, 102, 0.45); }
.badge-facebook, .more-facebook { background: var(--facebook); --hover-shadow: rgba(24, 119, 242, 0.45); }
.badge-gaming, .more-gaming { background: var(--gaming); --hover-shadow: rgba(155, 89, 182, 0.45); }
.badge-crypto, .more-crypto { background: var(--crypto); color: #000 !important; --hover-shadow: rgba(241, 196, 15, 0.45); }
.badge-tech, .more-tech { background: var(--tech); --hover-shadow: rgba(52, 152, 219, 0.45); }

/* Live Stats */
.post-live-stats { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 10px 0; text-align: center; }
.stat-members-row { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0 1.25rem; }
.stat-member-item { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #cbd5e1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px; padding: 7px 18px; width: 100%; box-sizing: border-box; }
.stat-member-item.stat-online { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.22); }
.stat-member-item.stat-online .stat-label { color: #86efac; }
.stat-member-item.stat-online .stat-value { color: #bbf7d0; }
.stat-member-item.stat-total { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.22); }
.stat-member-item.stat-total .stat-label { color: #a5b4fc; }
.stat-member-item.stat-total .stat-value { color: #e0e7ff; }
.stat-member-item.stat-bot { background: rgba(148, 163, 184, 0.08); border-color: rgba(148, 163, 184, 0.18); }
.stat-bot-badge { display: inline-flex; align-items: center; gap: 7px; margin: 4px auto 2px; padding: 7px 22px; border-radius: 9999px; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.stat-bot-discord { background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.1)); border: 1px solid rgba(88, 101, 242, 0.4); color: #a5b4fc; box-shadow: 0 0 14px rgba(88, 101, 242, 0.2); }
.stat-bot-telegram { background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(0, 136, 204, 0.1)); border: 1px solid rgba(0, 136, 204, 0.4); color: #7dd3fc; box-shadow: 0 0 14px rgba(0, 136, 204, 0.2); }
.stat-label { font-size: 12px; font-weight: 500; opacity: .85; white-space: nowrap; }
.stat-value { font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.stat-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; box-shadow: 0 0 7px rgba(34, 197, 94, .85); animation: wth-pulse-dot 2s ease-in-out infinite; }
@keyframes wth-pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.stat-verified { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; color: #64748b; margin-top: 2px; }
.stat-verified b { color: #94a3b8; font-weight: 600; }
.stat-channel-name { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; width: calc(100% - 2.5rem); margin: 0 auto; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-ch-discord { background: rgba(88, 101, 242, 0.15); border: 1px solid rgba(88, 101, 242, 0.3); color: #a5b4fc; }
.stat-ch-telegram { background: rgba(0, 136, 204, 0.15); border: 1px solid rgba(0, 136, 204, 0.3); color: #7dd3fc; }
.stat-pill-skel { display: block; width: 90%; height: 34px; border-radius: 12px; margin: 2px auto; background: linear-gradient(90deg, rgba(255, 255, 255, .04) 25%, rgba(255, 255, 255, .09) 37%, rgba(255, 255, 255, .04) 63%); background-size: 400% 100%; animation: wth-stat-shimmer 1.4s ease infinite; }
@keyframes wth-stat-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Sidebar Widgets */
.widget { background: transparent; border: none; padding: 1.25rem 0; margin-bottom: 0.75rem; }
.widget h2, .widget .widget-title { color: var(--text-bright); font-size: 1.2rem; margin-bottom: 1.25rem; font-weight: 800; border-bottom: 2px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }
.search-form-container form { display: flex; align-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-radius: 9999px; padding: 0.4rem 1rem; transition: all 0.3s ease; }
.search-form-container form:focus-within { background: rgba(255, 255, 255, 0.08); border-color: var(--accent); box-shadow: 0 0 15px rgba(6, 182, 212, 0.15); }
.search-form-container input { background: none; border: none; color: var(--text-bright); font-size: 0.9rem; outline: none; width: 100%; font-family: inherit; }
.search-form-container button { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.25rem 0.5rem; transition: transform 0.2s ease; }
.search-form-container button:hover { color: var(--primary); transform: scale(1.1); }

/* Categories */
.wth-categories-widget { padding: 0; }
.wth-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
.wth-cat-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: #fff; text-decoration: none; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wth-cat-badge:hover { transform: translateY(-2px); background: var(--primary); border-color: var(--primary); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4); color: #fff; }

/* Utilities */
.post-footer, .comments, .post-meta-data, .date-header, .Header, .blog-admin-widget, .blog-admin-control, .blog-admin-bar, .blogger-clickable-element[data-blogger-admin], .blogger-admin-control, .widget-content .post-labels, .widget-content .post-timestamp, .widget-content .post-author, .widget-content .post-reactions, .widget-content .post-share-buttons, .widget-content .post-comments-link, .widget-content .post-edit-link { display: none !important; }
.view-count, .views-icon, .views-text { display: none !important; }
#wth-skeleton, .skeleton-grid, .skeleton-card, .skel-avatar, .skel-line, .skel-btn { display: none !important; visibility: hidden !important; }

/* Search Header */
.wth-search-header { position: relative; background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, rgba(139, 92, 246, 0.12) 100%); border: 1px solid rgba(99, 102, 241, 0.25); border-radius: 20px; padding: 2rem 2.5rem; margin-bottom: 2rem; overflow: hidden; }
.wth-search-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.12), transparent 60%), radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.08), transparent 60%); pointer-events: none; }

/* 3D Tilt */
.post-outer { --rotX: 0deg; --rotY: 0deg; --shine-x: 50%; --shine-y: 50%; transform: perspective(900px) rotateX(var(--rotX)) rotateY(var(--rotY)) translateZ(0); transition: transform 0.12s ease, border-color 0.4s ease, box-shadow 0.5s ease; }
.post-outer:not(:hover) { --rotX: 0deg; --rotY: 0deg; transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease; }
.post-outer::before { content: ''; position: absolute; inset: 0; border-radius: 22px; background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.08) 0%, transparent 60%); pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
.post-outer:hover::before { opacity: 1; }

@media (max-width: 900px) { .wth-layout { margin: 1.25rem auto; } .wth-hero { padding: 3rem 1.5rem; text-align: center; justify-content: center; } .wth-hero h1 { font-size: 2.2rem; } .wth-nav-links { display: none; } .wth-hamburger { display: flex; } .wth-layout-wrapper { flex-direction: column; } .wth-sidebar { width: 100%; border-left: none; padding-left: 0; } }

/* Pagination */
/* ---- Likes bar ---- */
.wth-likes-bar {
  display: flex;
  justify-content: flex-end;
  padding: 0.25rem 0.6rem 0.1rem;
}
.wth-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
  user-select: none;
}
.wth-like-btn:hover:not(:disabled) {
  border-color: #f43f5e;
  color: #f43f5e;
  background: rgba(244,63,94,0.08);
}
.wth-like-btn.liked {
  border-color: #f43f5e;
  color: #f43f5e;
  background: rgba(244,63,94,0.12);
}
.wth-like-btn:active:not(:disabled) { transform: scale(0.94); }
.wth-like-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.wth-like-ico { font-size: 0.9rem; line-height: 1; transition: transform 0.15s; }
.wth-like-btn.liked .wth-like-ico,
.wth-like-btn:hover:not(:disabled) .wth-like-ico { transform: scale(1.25); }
.wth-like-count { font-variant-numeric: tabular-nums; min-width: 1ch; text-align: center; }
/* ---- Stats trend deltas ---- */
.stat-delta { font-size: 0.68rem; font-weight: 700; margin-left: 0.35rem; opacity: 0.85; }
.stat-delta-up   { color: #22c55e; }
.stat-delta-down { color: #ef4444; }
.stat-likes { color: #f43f5e; font-size: 0.78rem; }
.stat-member-item.stat-likes { background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.22); }
.stat-member-item.stat-likes .stat-label { color: #fda4af; }
.stat-member-item.stat-likes .stat-value { color: #ffe4e6; }


/* --- PRO GADGETS FIXES --- */
.wth-logo-section .widget { margin:0; padding:0; }
.wth-logo-section .widget-content { margin:0; }
.wth-menu-section .widget { margin:0; }

.wth-cat-icon { width:1.25rem !important; height:1.25rem !important; flex-shrink:0; }
.wth-cat-badge svg { width:1.25rem !important; height:1.25rem !important; flex-shrink:0; fill: currentColor; }

/* Ensure nav links are correctly spaced and visible */
.wth-nav-links { display:flex !important; gap:1.5rem; list-style:none; margin:0; padding:0; align-items:center; }
.wth-nav-link { color:var(--text-main); font-weight:600; text-decoration:none; padding:0.3rem 0; position:relative; transition:color 0.3s ease; display:flex; align-items:center; gap:6px; }
.wth-nav-link::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:2px; background:var(--accent); border-radius:2px; transition:width 0.3s ease; }
.wth-nav-link:hover, .wth-nav-link.active { color:var(--accent); }
.wth-nav-link:hover::after, .wth-nav-link.active::after { width:100%; }

@media (max-width:900px) { 
  .wth-nav-links:not(.active) { display:none !important; }
  .wth-nav-links.active { display:flex !important; flex-direction: column !important; width: 100% !important; align-items: flex-start !important; gap: 1rem !important; margin-top: 1rem !important; } 
}


/* === SMART STYLE OVERRIDES === */

/* App-like Grid for Sidebar Categories */
.wth-categories-widget .widget-content {
    background: rgba(30, 41, 59, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wth-cat-grid { 
    display: grid !important; 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 0.75rem !important; 
}

.wth-cat-badge { 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 0.4rem !important; 
    padding: 0.85rem 0.5rem !important; 
    border-radius: 16px !important; 
    background: rgba(255,255,255,0.03) !important; 
    border: 1px solid rgba(255,255,255,0.05) !important; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: normal !important;
}

.wth-cat-icon, .wth-cat-badge svg { 
    width: 1.6rem !important; 
    height: 1.6rem !important; 
    opacity: 0.8 !important; 
    transition: transform 0.3s ease !important; 
    margin: 0 !important;
    fill: #cbd5e1 !important;
}

.wth-cat-badge span { 
    font-size: 0.75rem !important; 
    font-weight: 700 !important; 
    letter-spacing: 0.02em !important; 
    color: #cbd5e1 !important;
    text-align: center;
}

.wth-cat-badge:hover { 
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1)) !important; 
    border-color: rgba(99, 102, 241, 0.3) !important; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1) !important; 
    transform: translateY(-3px) !important; 
}

.wth-cat-badge:hover .wth-cat-icon, .wth-cat-badge:hover svg { 
    transform: scale(1.15) rotate(-3deg) !important; 
    opacity: 1 !important; 
    fill: #fff !important;
}

.wth-cat-badge:hover span { 
    color: #fff !important; 
}

/* Smart Search Box */
.search-form-container form {
    border-radius: 14px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2) !important;
    padding: 0.5rem 1rem !important;
}
.search-form-container form:focus-within {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}



/* === SMART POST STYLING === */

/* Upgraded Headings */
.wth-post-content h2, .wth-post-content h3 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--text-bright);
}
.wth-post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 60%; height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}
.wth-post-content h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 40px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Smart Blockquotes */
.wth-post-content blockquote {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1), transparent);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: var(--text-bright);
    box-shadow: inset 1px 0 0 rgba(255,255,255,0.05);
}

/* Beautiful Lists */
.wth-post-content ul, .wth-post-content ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
}
.wth-post-content li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}
.wth-post-content ul li::marker {
    color: var(--accent);
    font-size: 1.2em;
}

/* Floating Images */
.wth-post-content img {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.wth-post-content img:hover {
    transform: scale(1.02);
}

/* Tables / Fact Boxes */
.wth-post-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.wth-post-content th, .wth-post-content td {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 1.25rem;
}
.wth-post-content th {
    background: rgba(255,255,255,0.05);
    font-weight: 700;
    color: var(--text-bright);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.wth-post-content tr:last-child td {
    border-bottom: none;
}
.wth-post-content tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

/* Code Snippets */
.wth-post-content pre {
    background: #0f172a !important;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
}
.wth-post-content pre::before {
    content: '';
    display: block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
    margin-bottom: 1rem;
}

/* Smart Links */
.wth-post-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}
.wth-post-content a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* General Layout Tweaks for the Article */
.wth-post-container {
    background: rgba(30, 41, 59, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    padding: 3rem 4rem !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}

/* &#9472;&#9472; Single post breadcrumb &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.wth-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9999px;
  width: fit-content;
  max-width: 100%;
}
.wth-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.wth-breadcrumb a:hover { color: var(--primary); }
.wth-breadcrumb-sep { opacity: 0.35; font-size: 0.7rem; }
.wth-breadcrumb [aria-current='page'] {
  color: var(--text-bright);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

/* &#9472;&#9472; Post header: centered title + meta + labels &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.wth-post-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.wth-post-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 35%, #a5b4fc 65%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.4rem 0;
  letter-spacing: -0.035em;
  position: relative;
  display: inline-block;
  width: 100%;
  filter: drop-shadow(0 0 36px rgba(129,140,248,0.32));
  padding-bottom: 0.6rem;
}
.wth-post-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #818cf8, #06b6d4);
  opacity: 0.75;
}
.wth-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.wth-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.wth-post-labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.wth-post-label {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 9999px;
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.wth-post-label:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.45);
  color: #c7d2fe;
}

/* &#9472;&#9472; Quick Facts like bar &#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472; */
.wth-qf-likes {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wth-qf-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
  user-select: none;
}
.wth-qf-like-btn:hover:not(:disabled) {
  border-color: #f43f5e;
  color: #f43f5e;
  background: rgba(244,63,94,0.08);
}
.wth-qf-like-btn.liked {
  border-color: #f43f5e;
  color: #f43f5e;
  background: rgba(244,63,94,0.12);
}
.wth-qf-like-btn:active:not(:disabled) { transform: scale(0.94); }
.wth-qf-like-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.wth-qf-like-btn .wth-like-ico { font-size: 0.95rem; line-height:1; transition: transform 0.15s; }
.wth-qf-like-btn.liked .wth-like-ico,
.wth-qf-like-btn:hover:not(:disabled) .wth-like-ico { transform: scale(1.25); }

@media (max-width: 768px) {
  .wth-post-container { padding: 2rem 1.5rem !important; }
  .wth-breadcrumb { font-size: 0.75rem; }
  .wth-post-title { font-size: 1.5rem; }
  .wth-breadcrumb [aria-current='page'] { max-width: 180px; }
}


/* === MOBILE FIXES === */
@media (max-width: 900px) {
    /* Make the mobile menu actually show when active */
    .wth-mobile-menu.active { display: flex !important; flex-direction: column !important; width: 100% !important; align-items: flex-start !important; gap: 1rem !important; margin-top: 1rem !important; }
    
    /* Allow the search bar to wrap to its own line instead of squishing everything */
    .wth-nav-container { 
        flex-wrap: wrap !important; 
        gap: 0.5rem !important; 
    }
    
    /* Search form takes full width on mobile */
    .search-form-container {
        width: 100% !important;
        order: 3 !important; /* Forces it to the bottom row */
    }
    .search-form-container form { 
        width: 100% !important; 
        margin: 0.5rem 0 !important; 
    }
    
    /* Logo and Hamburger on the top row */
    .wth-logo-section {
        order: 1 !important;
    }
    .wth-hamburger {
        order: 2 !important;
        margin-left: auto !important;
    }
}

/* ================================================================
   VERTAHUB DASHBOARD GRID &#8212; Full-width 3-col homepage layout
   ================================================================ */

/* 1. Full-width layout: hide sidebar on homepage */
body.wth-dashboard .wth-layout-wrapper { display: block !important; }
body.wth-dashboard .wth-sidebar        { display: none !important; }

/* 2. Collapse hero to a thin strip */
body.wth-dashboard .wth-hero {
  padding: 0.75rem 1.5rem !important;
  margin-bottom: 0.75rem !important;
  gap: 1rem !important;
  border-radius: 12px !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
body.wth-dashboard .wth-hero-content h1 {
  font-size: 1.05rem !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
}
body.wth-dashboard .wth-hero-content p { display: none !important; }
body.wth-dashboard .wth-hero-badges    { display: none !important; }

/* 3. Three-column grid (overrides both the base and tooltipCss blocks) */
body.wth-dashboard .index-posts {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.85rem !important;
}

/* 4. Compact cards */
body.wth-dashboard .post-outer {
  border-radius: 14px !important;
  margin-bottom: 0 !important;
}

/* 5. Smaller avatar */
body.wth-dashboard .img-content {
  padding: 0.7rem 0.7rem 0 !important;
}
body.wth-dashboard .img-content img,
body.wth-dashboard .no-thumbnail {
  width: 68px !important;
  height: 68px !important;
}

/* 6. Compact title */
body.wth-dashboard .post-title {
  padding: 0.5rem 0.9rem 0.2rem 0.9rem !important;
  font-size: 0.9rem !important;
}
body.wth-dashboard .post-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
}

/* 7. Stats row &#8212; horizontal compact chips */
body.wth-dashboard .stat-members-row {
  padding: 0 0.65rem !important;
  flex-direction: row !important;
  gap: 0.3rem !important;
}
body.wth-dashboard .stat-member-item {
  padding: 3px 6px !important;
  font-size: 10.5px !important;
  border-radius: 7px !important;
  flex: 1 !important;
  min-width: 0 !important;
  justify-content: center !important;
}
body.wth-dashboard .stat-value { font-size: 11.5px !important; }
body.wth-dashboard .stat-label { font-size: 9.5px !important; }
body.wth-dashboard .post-live-stats { margin: 3px 0 !important; gap: 3px !important; }

/* 8. Compact verified date */
body.wth-dashboard .post-meta {
  padding: 0 0.7rem 0.35rem 0.7rem !important;
}
body.wth-dashboard .verified-date { font-size: 0.68rem !important; }

/* 9. Compact CTA button */
body.wth-dashboard .details-section {
  padding: 0.35rem 0.6rem 0.6rem 0.6rem !important;
}
body.wth-dashboard .more-groups {
  padding: 0.48rem 1rem !important;
  font-size: 0.78rem !important;
  border-radius: 9px !important;
}

/* 10. Smaller platform badge pill on card */
body.wth-dashboard .post-card-header {
  padding: 0.4rem 0.55rem !important;
  gap: 0.18rem !important;
}
body.wth-dashboard .platform-badge {
  padding: 2px 7px !important;
  font-size: 0.62rem !important;
}

/* ---- Filter Bar ---- */
.wth-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  padding: 0.55rem 0.85rem;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.wth-filter-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.wth-filter-btn {
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.wth-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-bright);
}
.wth-filter-btn.active {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}
/* Filter loading spinner */
.wth-filter-btn:disabled { opacity: 0.5; cursor: not-allowed; }
@keyframes wth-spin { to { transform: rotate(360deg); } }

/* ---- Grid section labels ---- */
.wth-grid-section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin: 0.2rem 0 0.05rem;
  pointer-events: none;
}
.wth-grid-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.wth-section-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px rgba(34, 197, 94, 0.75);
  animation: wth-pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ---- Responsive breakpoints for dashboard ---- */
@media (max-width: 1024px) {
  body.wth-dashboard .index-posts {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  body.wth-dashboard .index-posts {
    grid-template-columns: 1fr !important;
  }
  .wth-filter-bar { gap: 0.25rem; }
}
