/* =========================================================
   TELEGRAM GROUP LINKS - TELEGRAM THEME UI
   Simple, Premium, Ultra-Crisp & Attractive
   100% SHADOW-FREE FLAT MODERN DESIGN
   ========================================================= */

/* ─── TELEGRAM DESIGN SYSTEM VARIABLES ─── */
:root {
  --tg-primary: #24a1de;
  --tg-primary-hover: #1e88be;
  --tg-primary-active: #1778a8;
  --tg-primary-light: #f0f7fc;
  --tg-primary-tint: #e4f2fa;
  --tg-primary-border: #d2e7f5;

  --tg-bg: #f4f6fb;
  --tg-surface: #ffffff;
  --tg-surface-subtle: #f9fbfd;

  --tg-border: #e2e8f0;
  --tg-border-light: #edf2f7;
  --tg-border-hover: #24a1de;

  --tg-text: #17212b;
  --tg-text-secondary: #707579;
  --tg-text-muted: #8e959b;

  --tg-online: #34c759;
  --tg-verified: #24a1de;

  --tg-rose: #f43f5e;
  --tg-rose-dark: #be123c;
  --tg-rose-light: #fff5f7;
}

/* ─── ABSOLUTE UNIVERSAL ZERO-SHADOW DIRECTIVE ─── */
/* The user strictly requires: "make sure donot use shadows" */
*,
*::before,
*::after {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  text-shadow: none !important;
}

/* Strip any Tailwind or framework shadow utility classes completely */
[class*="shadow-"],
[class*="drop-shadow-"],
[class*="shadow"],
[style*="box-shadow"],
[style*="drop-shadow"] {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
}

/* Retain backdrop blur for header/modal translucency without drop shadows */
.header-glass,
[class*="backdrop-blur"] {
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
}

/* =========================================================
   TGT LAYOUT SAFETY & CORE SETUP
   ========================================================= */
html,
body {
  max-width: 100% !important;
  overflow-x: clip !important;
  background-color: var(--tg-bg) !important;
  color: var(--tg-text) !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card-container,
.card-container *,
.sticker-grid,
.sticker-grid *,
#related-groups,
#related-groups *,
.tgt-avatar-wrap,
.tgt-card-avatar,
.tgt-ad-wrapper {
  box-sizing: border-box;
}

img,
video,
iframe,
ins.adsbygoogle,
.adsbygoogle {
  max-width: 100% !important;
}

.tgt-card-avatar img,
.tgt-avatar-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.card-container,
.sticker-grid,
#related-groups .grid {
  align-items: stretch;
}

.card-container > .card,
.card-container > .blog-card,
.card-container > .sticker-card,
.sticker-grid > .sticker-card,
#related-groups .grid > .card {
  min-width: 0;
}

/* =========================================================
   TELEGRAM VERIFIED BADGE & CHIP STYLING
   ========================================================= */
.tgt-verified-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--tg-verified) !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

.tgt-verified-badge svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}

/* Telegram Type Pill (Channel / Group / Bot) */
.tgt-type-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: 9999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  background-color: var(--tg-primary-light) !important;
  color: var(--tg-primary) !important;
  border: 1px solid var(--tg-primary-border) !important;
  line-height: 1.3 !important;
}

.tgt-type-chip.tgt-type-18 {
  background-color: #fff1f4 !important;
  color: #e11d48 !important;
  border-color: #fecdd3 !important;
}

/* =========================================================
   TELEGRAM LISTING CARDS (CLEAN, FLAT, PREMIUM)
   ========================================================= */

/* Equal Height & Stretch for Cards in the Grid */
.card-container,
.search-results-grid,
#related-groups .grid,
.featured-container {
  display: grid !important;
  align-items: stretch !important;
}

.tgt-18plus-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
.tgt-18plus-card > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.card,
article.card,
.featured-card,
article.featured-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
  border: 1px solid var(--tg-border) !important;
  border-radius: 1rem !important; /* 16px */
  padding: 0.875rem !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.card:hover,
article.card:hover {
  border-color: var(--tg-primary) !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
}

/* Featured / VIP Telegram Card */
.featured-card,
article.featured-card {
  border: 1.5px solid #fed7aa !important; /* Soft warm amber border */
  background: #ffffff !important;
}

.featured-card:hover,
article.featured-card:hover {
  border-color: #f59e0b !important;
  box-shadow: none !important;
}

/* Telegram Channel Circular Avatar */
.tgt-card-avatar {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  margin-top: 0.25rem !important;
  margin-bottom: 0.5rem !important;
  border-radius: 50% !important;
  overflow: visible !important;
  position: relative !important;
  box-shadow: none !important;
  transition: transform 0.2s ease !important;
}

.card:hover .tgt-card-avatar,
.featured-card:hover .tgt-card-avatar {
  transform: scale(1.04);
}

.tgt-card-avatar > div {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid var(--tg-border-light) !important;
  background-color: #ffffff !important;
}

/* Telegram Gold VIP Badge (Flat, Crisp) */
.tgt-featured-badge-gold {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
  box-shadow: none !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 3px 8px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* Telegram Subscribers Pill */
.subscribers {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background-color: #f8fafc !important;
  border: 1px solid var(--tg-border-light) !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: 9999px !important;
  color: var(--tg-text-secondary) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.subscribers b {
  color: var(--tg-text) !important;
  font-weight: 700 !important;
}

.subscribers em {
  font-style: normal !important;
  color: var(--tg-text-secondary) !important;
}

/* Telegram Category & Tag Badges in Cards */
.tags {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem !important;
}

.tags span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  background-color: var(--tg-primary-light) !important;
  color: var(--tg-primary) !important;
  border: 1px solid var(--tg-primary-border) !important;
  box-shadow: none !important;
}

/* =========================================================
   TELEGRAM "JOIN" BUTTON (SIGNATURE TELEGRAM BLUE, ZERO SHADOW)
   ========================================================= */
.tgt-join-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 1rem !important;
  border-radius: 0.625rem !important; /* 10px - Telegram sleek rounded rect */
  font-size: 0.85rem !important; /* 13.5px */
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1 !important;
  color: #ffffff !important;
  background: var(--tg-primary) !important; /* #24A1DE */
  box-shadow: none !important;
  border: none !important;
  transition: background-color 0.15s ease, transform 0.1s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  user-select: none !important;
}

.tgt-join-btn:hover {
  background: var(--tg-primary-hover) !important; /* #1E88BE */
  color: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

.tgt-join-btn:active {
  background: var(--tg-primary-active) !important; /* #1778A8 */
  transform: scale(0.99) !important;
  box-shadow: none !important;
}

.tgt-join-btn:focus-visible {
  outline: 2px solid var(--tg-primary) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* 18+ Adult Button Variant */
.tgt-join-btn.tgt-btn-members {
  background: #e11d48 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.tgt-join-btn.tgt-btn-members:hover {
  background: #be123c !important;
  box-shadow: none !important;
}

/* Telegram Paper Plane Icon in Join Buttons */
.tgt-join-btn svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}
.tgt-join-btn svg:not(.tgt-plane-icon) {
  fill: currentColor !important;
}
.tgt-plane-icon {
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-shadow: none !important;
  filter: none !important;
}

/* ==========================================================================
   TELEGRAM SEARCH BAR & INPUT CONTROLS (SIMPLE, ATTRACTIVE & PREMIUM)
   ========================================================================== */
#search-form > div,
#members-search-form > div,
#search-page-form > div,
#search-form-second > div,
form[role="search"] > div,
.tgt-search-bar,
.tgt-search-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 9999px !important; /* Elegant modern pill shape */
  padding: 5px 6px 5px 14px !important;
  box-shadow: none !important;
  filter: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 640px) {
  #search-form > div,
  #members-search-form > div,
  #search-page-form > div,
  #search-form-second > div,
  form[role="search"] > div,
  .tgt-search-bar,
  .tgt-search-input-wrapper {
    padding: 6px 7px 6px 18px !important;
  }
}

/* Hover state - Standard Search */
#search-form > div:hover,
#search-page-form > div:hover,
#search-form-second > div:hover,
form[role="search"]:not([data-is-members="1"]) > div:hover,
.tgt-search-bar:hover,
.tgt-search-input-wrapper:not(.tgt-members-search-wrapper):hover {
  border-color: #24a1de !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Focus-within state - Standard Search */
#search-form > div:focus-within,
#search-page-form:not([data-is-members="1"]) > div:focus-within,
#search-form-second > div:focus-within,
form[role="search"]:not([data-is-members="1"]) > div:focus-within,
.tgt-search-bar:focus-within,
.tgt-search-input-wrapper:not(.tgt-members-search-wrapper):focus-within {
  border-color: #0088cc !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

/* Hover & Focus state - 18+ / Members Search */
#members-search-form > div:hover,
#search-page-form[data-is-members="1"] > div:hover,
form[data-is-members="1"] > div:hover,
.tgt-members-search-wrapper:hover {
  border-color: #e11d48 !important;
  box-shadow: none !important;
  filter: none !important;
}

#members-search-form > div:focus-within,
#search-page-form[data-is-members="1"] > div:focus-within,
form[data-is-members="1"] > div:focus-within,
.tgt-members-search-wrapper:focus-within {
  border-color: #be123c !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

/* Search lens icon styling */
.tgt-search-input-wrapper > div:first-child svg,
#search-form > div > div:first-child svg,
#search-page-form > div > div:first-child svg,
#search-form-second > div > div:first-child svg,
form[role="search"] > div > div:first-child svg {
  color: #24a1de;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tgt-members-search-wrapper > div:first-child svg,
#members-search-form > div > div:first-child svg,
#search-page-form[data-is-members="1"] > div > div:first-child svg {
  color: #e11d48 !important;
}

.tgt-search-input-wrapper:focus-within > div:first-child svg,
#search-form > div:focus-within > div:first-child svg,
#search-page-form > div:focus-within > div:first-child svg,
#search-form-second > div:focus-within > div:first-child svg,
form[role="search"]:focus-within > div:first-child svg {
  transform: scale(1.08) !important;
}

/* Search input typography & sizing */
/* Minimum 16px font-size prevents iOS Safari from automatically zooming on input focus */
#search-form input[type="search"],
#members-search-form input[type="search"],
#search-page-form input[type="search"],
#search-form-second input[type="search"],
form[role="search"] input[type="search"],
.tgt-search-input-wrapper input[type="search"],
#tgtLangSearchInput {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  outline: none !important;
  box-shadow: none !important;
}

@media (min-width: 640px) {
  #search-form input[type="search"],
  #members-search-form input[type="search"],
  #search-page-form input[type="search"],
  #search-form-second input[type="search"],
  form[role="search"] input[type="search"],
  .tgt-search-input-wrapper input[type="search"] {
    font-size: 15px !important;
    padding: 9px 14px !important;
  }
}

/* iOS Safari WebKit override: strictly keep font-size >= 16px on all iOS devices (portrait & landscape) to prevent auto-zoom */
@supports (-webkit-touch-callout: none) {
  #search-form input[type="search"],
  #members-search-form input[type="search"],
  #search-page-form input[type="search"],
  #search-form-second input[type="search"],
  form[role="search"] input[type="search"],
  .tgt-search-input-wrapper input[type="search"],
  #tgtLangSearchInput,
  input[type="search"],
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Mobile screens: prevent auto-zoom on any mobile device */
@media screen and (max-width: 768px) {
  input[type="search"],
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  select,
  textarea,
  .tgt-theme-input {
    font-size: 16px !important;
  }
}

#search-input,
input[type="search"],
input[type="text"] {
  outline: none !important;
  box-shadow: none !important;
}

/* Search submit buttons styling */
#search-form button[type="submit"],
#search-page-form:not([data-is-members="1"]) button[type="submit"],
#search-form-second button[type="submit"],
form[role="search"]:not([data-is-members="1"]) button[type="submit"],
.tgt-search-input-wrapper:not(.tgt-members-search-wrapper) button[type="submit"],
.tgt-search-submit-btn {
  background: linear-gradient(135deg, #0088cc 0%, #24a1de 100%) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.015em !important;
  padding: 8px 18px !important;
  box-shadow: none !important;
  filter: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

@media (min-width: 640px) {
  #search-form button[type="submit"],
  #search-page-form:not([data-is-members="1"]) button[type="submit"],
  #search-form-second button[type="submit"],
  form[role="search"]:not([data-is-members="1"]) button[type="submit"],
  .tgt-search-input-wrapper:not(.tgt-members-search-wrapper) button[type="submit"],
  .tgt-search-submit-btn {
    padding: 9px 24px !important;
    font-size: 14px !important;
  }
}

#search-form button[type="submit"]:hover,
#search-page-form:not([data-is-members="1"]) button[type="submit"]:hover,
#search-form-second button[type="submit"]:hover,
form[role="search"]:not([data-is-members="1"]) button[type="submit"]:hover,
.tgt-search-input-wrapper:not(.tgt-members-search-wrapper) button[type="submit"]:hover,
.tgt-search-submit-btn:hover {
  background: linear-gradient(135deg, #0077b5 0%, #0088cc 100%) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: translateY(-1px) !important;
}

#search-form button[type="submit"]:active,
#search-page-form:not([data-is-members="1"]) button[type="submit"]:active,
#search-form-second button[type="submit"]:active,
form[role="search"]:not([data-is-members="1"]) button[type="submit"]:active,
.tgt-search-input-wrapper:not(.tgt-members-search-wrapper) button[type="submit"]:active,
.tgt-search-submit-btn:active {
  transform: scale(0.97) !important;
  box-shadow: none !important;
  filter: none !important;
}

/* 18+ / Members search submit button */
#members-search-form button[type="submit"],
#search-page-form[data-is-members="1"] button[type="submit"],
form[data-is-members="1"] button[type="submit"],
.tgt-members-search-wrapper button[type="submit"] {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.015em !important;
  padding: 8px 18px !important;
  box-shadow: none !important;
  filter: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

@media (min-width: 640px) {
  #members-search-form button[type="submit"],
  #search-page-form[data-is-members="1"] button[type="submit"],
  form[data-is-members="1"] button[type="submit"],
  .tgt-members-search-wrapper button[type="submit"] {
    padding: 9px 24px !important;
    font-size: 14px !important;
  }
}

#members-search-form button[type="submit"]:hover,
#search-page-form[data-is-members="1"] button[type="submit"]:hover,
form[data-is-members="1"] button[type="submit"]:hover,
.tgt-members-search-wrapper button[type="submit"]:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: translateY(-1px) !important;
}

#members-search-form button[type="submit"]:active,
#search-page-form[data-is-members="1"] button[type="submit"]:active,
form[data-is-members="1"] button[type="submit"]:active,
.tgt-members-search-wrapper button[type="submit"]:active {
  transform: scale(0.97) !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Suppress duplicate native browser search clear cancel button (Fixes 2 X icons) */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* =========================================================
   TELEGRAM TOPIC CHIPS & MARQUEE PILLS
   ========================================================= */
.tgt-marquee-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: var(--tg-primary) !important;
  background-color: var(--tg-primary-light) !important;
  border: 1px solid var(--tg-primary-border) !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.tgt-marquee-pill:hover {
  background-color: var(--tg-primary) !important;
  color: #ffffff !important;
  border-color: var(--tg-primary) !important;
  box-shadow: none !important;
}

.tgt-marquee-pill .pill-count {
  font-size: 10px !important;
  font-weight: 600 !important;
  opacity: 0.75 !important;
  padding: 1px 5px !important;
  border-radius: 9999px !important;
  background: rgba(36, 161, 222, 0.12) !important;
}

.tgt-marquee-pill:hover .pill-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Sticky 18+ Premium Pill in Marquee (Zero Shadows, Clean & Crisp) */
.tgt-fp-18-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 55%, #be123c 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  letter-spacing: 0.025em !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.tgt-fp-18-btn:hover {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
  transform: translateY(-1px) !important;
}

.tgt-fp-18-btn:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: none !important;
  filter: none !important;
}

/* =========================================================
   HERO VERIFIED BADGE (SIMPLE, ATTRACTIVE, ZERO-SHADOW)
   ========================================================= */
.tgt-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: #f0f8fd !important;
  border: 1px solid #d2ebf9 !important;
  color: #0088cc !important;
  border-radius: 9999px !important;
  padding: 5px 14px !important;
  box-shadow: none !important;
  filter: none !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.tgt-hero-badge:hover {
  background: #e4f3fb !important;
  border-color: #0088cc !important;
}

/* 18+ Adult Context Theme Override */
body.tgt-members-page .tgt-hero-badge,
.members-mode .tgt-hero-badge {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #e11d48 !important;
}
body.tgt-members-page .tgt-hero-badge:hover,
.members-mode .tgt-hero-badge:hover {
  background: #ffe4e6 !important;
  border-color: #e11d48 !important;
}

/* =========================================================
   PAGINATION (TELEGRAM PILL BAR, ZERO SHADOW)
   ========================================================= */
.posts-pagination,
.blog-pagination {
  box-shadow: none !important;
}

.posts-pagination a,
.posts-pagination span,
.blog-pagination a,
.blog-pagination span {
  box-shadow: none !important;
  border-radius: 0.625rem !important; /* 10px */
}

.posts-pagination a:hover,
.blog-pagination a:hover {
  box-shadow: none !important;
  border-color: var(--tg-primary) !important;
}

/* Active page indicator */
.posts-pagination [aria-current="page"],
.blog-pagination [aria-current="page"] {
  background: var(--tg-primary) !important;
  color: #ffffff !important;
  border-color: var(--tg-primary) !important;
  box-shadow: none !important;
}

/* =========================================================
   TELEGRAM POPULAR CATEGORIES CARDS (PREMIUM & UNIQUE)
   ========================================================= */
.tgt-category-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--tg-border) !important;
  border-radius: 1.125rem !important; /* 18px */
  padding: 0.75rem 0.875rem !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  min-width: 0 !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.tgt-category-card:hover {
  border-color: var(--tg-primary) !important;
  background-color: #fbfdff !important;
  box-shadow: none !important;
}

.tgt-cat-avatar {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  border-radius: 0.875rem !important; /* 14px Telegram squircle */
  overflow: hidden !important;
  background-color: var(--tg-primary-light) !important;
  border: 1.5px solid var(--tg-primary-border) !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease !important;
}

.tgt-category-card:hover .tgt-cat-avatar {
  transform: scale(1.06) !important;
}

.tgt-cat-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.tgt-cat-info {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

.tgt-cat-title {
  font-size: 0.875rem !important; /* 14px */
  font-weight: 800 !important;
  color: var(--tg-text) !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.15s ease !important;
}

.tgt-category-card:hover .tgt-cat-title {
  color: var(--tg-primary) !important;
}

.tgt-cat-count-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin-top: 0.25rem !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: 9999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  background-color: var(--tg-primary-light) !important;
  color: var(--tg-primary) !important;
  border: 1px solid var(--tg-primary-border) !important;
  white-space: nowrap !important;
}

.tgt-cat-count-pill b {
  font-weight: 700 !important;
}

.tgt-cat-arrow {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background-color: #f8fafc !important;
  border: 1px solid var(--tg-border-light) !important;
  color: var(--tg-text-muted) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  transition: all 0.2s ease !important;
}

.tgt-category-card:hover .tgt-cat-arrow {
  background-color: var(--tg-primary) !important;
  border-color: var(--tg-primary) !important;
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

@media (max-width: 639px) {
  .tgt-category-card {
    gap: 0.5rem !important;
    padding: 0.625rem 0.625rem !important;
    border-radius: 0.875rem !important;
  }

  .tgt-cat-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 0.625rem !important;
  }

  .tgt-cat-title {
    font-size: 12px !important;
  }

  .tgt-cat-count-pill {
    font-size: 9.5px !important;
    padding: 0.1rem 0.35rem !important;
    margin-top: 0.15rem !important;
  }
}

/* =========================================================
   TELEGRAM STICKER CARDS (PREMIUM & UNIQUE DIE-CUT STAGE)
   ========================================================= */
.sticker-card,
article.sticker-card {
  box-sizing: border-box !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--tg-border) !important;
  border-radius: 1.125rem !important; /* 18px */
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  padding: 0.875rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
}

.sticker-card:hover,
article.sticker-card:hover {
  border-color: var(--tg-primary) !important;
  box-shadow: none !important;
}

.tgt-sticker-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 6px !important;
  background-color: var(--tg-primary-light) !important;
  color: var(--tg-primary) !important;
  border: 1px solid var(--tg-primary-border) !important;
  line-height: 1 !important;
}

.tgt-sticker-stage {
  width: 100% !important;
  height: 120px !important;
  border-radius: 0.875rem !important; /* 14px */
  background-color: #f8fafc !important;
  border: 1px solid var(--tg-border-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem !important;
  margin-bottom: 0.625rem !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
  overflow: hidden !important;
}

.sticker-card:hover .tgt-sticker-stage {
  background-color: var(--tg-primary-light) !important;
  border-color: var(--tg-primary-border) !important;
}

.tgt-sticker-stage img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: 80px !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.sticker-card:hover .tgt-sticker-stage img {
  transform: scale(1.12) rotate(-3deg) !important;
}

.sticker-title {
  font-size: 0.85rem !important; /* 13.5px */
  font-weight: 800 !important;
  color: var(--tg-text) !important;
  line-height: 1.25 !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.sticker-btn,
.tgt-sticker-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  color: #ffffff !important;
  background: var(--tg-primary) !important; /* #24a1de */
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, transform 0.1s ease !important;
}

.sticker-btn:hover,
.tgt-sticker-btn:hover {
  background: var(--tg-primary-hover) !important; /* #1e88be */
  color: #ffffff !important;
  box-shadow: none !important;
}

.sticker-btn:active,
.tgt-sticker-btn:active {
  background: var(--tg-primary-active) !important;
  transform: scale(0.98) !important;
  box-shadow: none !important;
}

@media (max-width: 639px) {
  .sticker-grid,
  .stickers-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.625rem !important;
  }

  .sticker-card,
  article.sticker-card {
    padding: 0.625rem !important;
    border-radius: 0.875rem !important;
  }

  .tgt-sticker-stage {
    height: 96px !important;
    margin-bottom: 0.5rem !important;
    padding: 0.5rem !important;
  }

  .tgt-sticker-stage img {
    height: 64px !important;
  }

  .sticker-title {
    font-size: 11px !important;
    margin-bottom: 0.375rem !important;
  }

  .sticker-btn,
  .tgt-sticker-btn {
    height: 28px !important;
    min-height: 28px !important;
    font-size: 10.5px !important;
    padding: 0 0.5rem !important;
  }
}

/* =========================================================
   TELEGRAM BLOG & GUIDE CARDS (PREMIUM & UNIQUE, ZERO SHADOW)
   ========================================================= */
.blog-card,
article.blog-card {
  background: #ffffff !important;
  border: 1.5px solid var(--tg-border) !important;
  border-radius: 1.125rem !important; /* 18px */
  padding: 0.875rem !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
  height: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}

.blog-card:hover,
article.blog-card:hover {
  border-color: var(--tg-primary) !important;
  box-shadow: none !important;
}

/* Instant View Top Chip Bar */
.tgt-blog-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-bottom: 0.625rem !important;
}

.tgt-blog-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0.18rem 0.5rem !important;
  border-radius: 6px !important;
  background-color: var(--tg-primary-light) !important; /* #f0f7fc */
  color: var(--tg-primary) !important; /* #24a1de */
  border: 1px solid var(--tg-primary-border) !important;
  line-height: 1 !important;
}

.tgt-blog-chip svg {
  width: 10px !important;
  height: 10px !important;
  fill: currentColor !important;
}

.tgt-blog-readtime {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--tg-text-secondary) !important;
  white-space: nowrap !important;
}

.tgt-blog-readtime svg {
  width: 12px !important;
  height: 12px !important;
  color: var(--tg-text-muted) !important;
}

/* Framed Visual Stage */
.tgt-blog-stage {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 0.75rem !important; /* 12px */
  border: 1px solid var(--tg-border-light) !important;
  background-color: #f8fafc !important;
  overflow: hidden !important;
  display: block !important;
}

.tgt-blog-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.blog-card:hover .tgt-blog-stage img {
  transform: scale(1.05) !important;
}

.tgt-blog-cat-pill {
  position: absolute !important;
  bottom: 0.5rem !important;
  left: 0.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: var(--tg-text) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 9999px !important;
  border: 1px solid var(--tg-border-light) !important;
  box-shadow: none !important;
  z-index: 2 !important;
}

.tgt-blog-cat-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background-color: var(--tg-primary) !important;
  flex-shrink: 0 !important;
}

/* Editorial Body */
.tgt-blog-body {
  padding-top: 0.75rem !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.tgt-blog-date {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: var(--tg-text-secondary) !important;
  margin-bottom: 0.375rem !important;
}

.tgt-blog-date svg {
  width: 12px !important;
  height: 12px !important;
  color: var(--tg-text-muted) !important;
}

.tgt-blog-title {
  font-size: 0.9375rem !important; /* 15px */
  font-weight: 800 !important;
  color: var(--tg-text) !important;
  line-height: 1.35 !important;
  margin-bottom: 0.375rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.15s ease !important;
}

.blog-card:hover .tgt-blog-title,
.tgt-blog-title a:hover {
  color: var(--tg-primary) !important;
}

.tgt-blog-excerpt {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: var(--tg-text-secondary) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin-bottom: 0.75rem !important;
}

/* Bottom Action Pill */
.tgt-blog-btn {
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  background-color: var(--tg-primary-light) !important; /* #f0f7fc */
  color: var(--tg-primary) !important; /* #24a1de */
  border: 1px solid var(--tg-primary-border) !important; /* #d2e7f5 */
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin-top: auto !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease !important;
}

.blog-card:hover .tgt-blog-btn,
.tgt-blog-btn:hover {
  background-color: var(--tg-primary) !important; /* #24a1de */
  color: #ffffff !important;
  border-color: var(--tg-primary) !important;
  box-shadow: none !important;
}

.tgt-blog-btn:active {
  background-color: var(--tg-primary-hover) !important;
  transform: scale(0.98) !important;
}

.tgt-blog-btn svg {
  width: 13px !important;
  height: 13px !important;
  fill: currentColor !important;
  transition: transform 0.2s ease !important;
}

.blog-card:hover .tgt-blog-btn svg,
.tgt-blog-btn:hover svg {
  transform: translateX(2px) !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 639px) {
  article.blog-card {
    padding: 0.75rem !important;
    border-radius: 1rem !important;
  }

  .tgt-blog-stage {
    border-radius: 0.625rem !important;
  }

  .tgt-blog-title {
    font-size: 13.5px !important;
  }

  .tgt-blog-excerpt {
    font-size: 11.5px !important;
  }

  .tgt-blog-btn {
    height: 30px !important;
    min-height: 30px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   WORDPRESS TERM DESCRIPTION & TYPOGRAPHY
   ========================================================= */
.term-description {
  color: #374151;
  font-size: 15px;
  line-height: 1.75;
}

.term-description h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 1.75rem 0 1rem;
  color: var(--tg-text);
}

.term-description h2 {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.5rem 0 0.875rem;
  color: var(--tg-text);
}

.term-description h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.25rem 0 0.75rem;
  color: var(--tg-text);
}

.term-description h4,
.term-description h5,
.term-description h6 {
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: var(--tg-text);
}

.term-description p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.term-description strong {
  font-weight: 700;
  color: var(--tg-text);
}

.term-description em {
  font-style: italic;
}

.term-description ul {
  list-style: disc;
  margin: 1rem 0;
  padding-left: 1.75rem;
}

.term-description ol {
  list-style: decimal;
  margin: 1rem 0;
  padding-left: 1.75rem;
}

.term-description li {
  margin: 0.4rem 0;
  line-height: 1.7;
}

.term-description blockquote {
  border-left: 4px solid var(--tg-primary);
  background: var(--tg-primary-light);
  padding: 0.875rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #475569;
}

.term-description a {
  color: var(--tg-primary);
  font-weight: 600;
  text-decoration: none;
}

.term-description a:hover {
  color: var(--tg-primary-hover);
  text-decoration: underline;
}

.term-description img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1rem 0;
}

.term-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 14px;
}

.term-description th,
.term-description td {
  border: 1px solid var(--tg-border);
  padding: 0.75rem;
  text-align: left;
}

.term-description th {
  background: var(--tg-primary-light);
  font-weight: 700;
  color: var(--tg-text);
}

.term-description hr {
  border: 0;
  border-top: 1px solid var(--tg-border);
  margin: 2rem 0;
}

.term-description code {
  background: #f1f5f9;
  color: var(--tg-primary-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.term-description pre {
  background: #17212b;
  color: #f8fafc;
  padding: 1.25rem;
  border-radius: 12px;
  overflow: auto;
  margin: 1.5rem 0;
}

.term-description pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* =========================================================
   MARQUEE ANIMATION
   ========================================================= */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}

.group\/marquee:hover .animate-marquee {
  animation-play-state: paused;
}

/* =========================================================
   RESPONSIVE CARD VISIBILITY HELPERS
   ========================================================= */
@media (min-width: 640px) {
  .sm\:hidden {
    display: none !important;
  }
  .sm\:flex {
    display: flex !important;
  }
}

.tgt-ad-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* =========================================================
   404 HOT AIR BALLOON ANIMATIONS
   ========================================================= */
@keyframes tgtBalloonFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  50% {
    transform: translateY(-6px) rotate(-1.5deg);
  }
  75% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.tgt-balloon-floating {
  animation: tgtBalloonFloat 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: 250px 380px;
  will-change: transform;
}

@keyframes tgtArmWave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(14deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

.tgt-waving-arm {
  animation: tgtArmWave 1.8s ease-in-out infinite;
  transform-origin: 245px 335px;
  will-change: transform;
}

@keyframes tgtCloudDriftLeft {
  0%, 100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-16px);
  }
}

@keyframes tgtCloudDriftRight {
  0%, 100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(18px);
  }
}

.tgt-cloud-left {
  animation: tgtCloudDriftLeft 7s ease-in-out infinite;
  will-change: transform;
}

.tgt-cloud-right {
  animation: tgtCloudDriftRight 8.5s ease-in-out infinite;
  will-change: transform;
}

.tgt-cloud-upper {
  animation: tgtCloudDriftLeft 9s ease-in-out infinite 1s;
  will-change: transform;
}

@keyframes tgtFlameFlicker {
  0%, 100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

.tgt-flame {
  animation: tgtFlameFlicker 1.2s ease-in-out infinite;
  transform-origin: 250px 296px;
  will-change: transform, opacity;
}

.tgt-flame-inner {
  animation: tgtFlameFlicker 1.2s ease-in-out infinite 0.15s;
  transform-origin: 250px 296px;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .tgt-balloon-floating,
  .tgt-waving-arm,
  .tgt-cloud-left,
  .tgt-cloud-right,
  .tgt-cloud-upper,
  .tgt-flame,
  .tgt-flame-inner {
    animation: none !important;
  }
}

/* =========================================================
   GOOGLE ADSENSE / AUTO ADS COLLISION PROTECTION
   ========================================================= */
.google-anno-skip,
.section-heading-wrap {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  position: relative !important;
}

.section-heading-wrap > h2,
.section-heading-wrap > h1,
.section-heading-wrap > h3 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  width: auto !important;
  max-width: 100% !important;
  line-height: 1.25 !important;
}

google-auto-placed:not([style*="position: fixed"]):not([style*="position:fixed"]):not([style*="position: absolute"]):not([style*="position:absolute"]),
.google-auto-placed:not([style*="position: fixed"]):not([style*="position:fixed"]):not([style*="position: absolute"]):not([style*="position:absolute"]),
ins.adsbygoogle:not([style*="position: fixed"]):not([style*="position:fixed"]):not([style*="position: absolute"]):not([style*="position:absolute"]):not(.adsbygoogle-noablate) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.section-heading-wrap google-auto-placed,
.section-heading-wrap .google-auto-placed,
.section-heading-wrap ins.adsbygoogle {
  display: none !important;
}

.card-container,
.featured-container,
.stickers-gallery,
.sticker-grid,
.blog-container,
#related-groups .grid {
  contain: layout style !important;
  position: relative !important;
  z-index: 1 !important;
}

.card-container > google-auto-placed,
.card-container > .google-auto-placed,
.card-container > ins.adsbygoogle,
.card-container > div[id^="aswift_"],
.card-container > div[id^="google_ads_"],
.card-container > iframe[id^="aswift_"],
.featured-container > google-auto-placed,
.featured-container > .google-auto-placed,
.featured-container > ins.adsbygoogle,
.featured-container > div[id^="aswift_"],
.featured-container > div[id^="google_ads_"],
.stickers-gallery > google-auto-placed,
.stickers-gallery > .google-auto-placed,
.stickers-gallery > ins.adsbygoogle,
.stickers-gallery > div[id^="aswift_"],
.stickers-gallery > div[id^="google_ads_"],
.sticker-grid > google-auto-placed,
.sticker-grid > .google-auto-placed,
.sticker-grid > ins.adsbygoogle,
.sticker-grid > div[id^="aswift_"],
.sticker-grid > div[id^="google_ads_"],
.blog-container > google-auto-placed,
.blog-container > .google-auto-placed,
.blog-container > ins.adsbygoogle,
.blog-container > div[id^="aswift_"],
.blog-container > div[id^="google_ads_"],
#related-groups .grid > google-auto-placed,
#related-groups .grid > .google-auto-placed,
#related-groups .grid > ins.adsbygoogle,
#related-groups .grid > div[id^="aswift_"],
#related-groups .grid > div[id^="google_ads_"] {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  clear: both !important;
  display: block !important;
  box-sizing: border-box !important;
}

.card-container .google-auto-placed[data-ad-format="relatedsearch"],
.featured-container .google-auto-placed[data-ad-format="relatedsearch"],
.stickers-gallery .google-auto-placed[data-ad-format="relatedsearch"],
.sticker-grid .google-auto-placed[data-ad-format="relatedsearch"],
.blog-container .google-auto-placed[data-ad-format="relatedsearch"],
#related-groups .google-auto-placed[data-ad-format="relatedsearch"],
.card .google-auto-placed,
.card ins.adsbygoogle,
article.card google-auto-placed,
article.card ins.adsbygoogle,
.sticker-card .google-auto-placed,
.sticker-card ins.adsbygoogle,
.blog-card .google-auto-placed,
.blog-card ins.adsbygoogle,
.featured-card .google-auto-placed,
.featured-card ins.adsbygoogle {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.container.grid google-auto-placed,
.container.grid .google-auto-placed,
.container.grid ins.adsbygoogle,
.container.grid div[id^="aswift_"],
.container.grid div[id^="google_ads_"] {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  display: block !important;
  clear: both !important;
}

main google-auto-placed[data-ad-format="relatedsearch"],
main .google-auto-placed[data-ad-format="relatedsearch"] {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 1rem 0 !important;
  z-index: auto !important;
}

section google-auto-placed,
section .google-auto-placed {
  position: static !important;
  float: none !important;
  z-index: auto !important;
}

section[aria-labelledby="popular-categories"] .container > google-auto-placed,
section[aria-labelledby="popular-categories"] .container > .google-auto-placed,
section[aria-labelledby="popular-categories"] .container > ins.adsbygoogle {
  display: none !important;
}

section[aria-labelledby="sticker-section"] .stickers-gallery > google-auto-placed,
section[aria-labelledby="sticker-section"] .stickers-gallery > .google-auto-placed,
section[aria-labelledby="sticker-section"] .stickers-gallery > ins.adsbygoogle {
  display: none !important;
}

section[aria-labelledby="latest-articles-heading"] .blog-container > google-auto-placed,
section[aria-labelledby="latest-articles-heading"] .blog-container > .google-auto-placed,
section[aria-labelledby="latest-articles-heading"] .blog-container > ins.adsbygoogle {
  display: none !important;
}

header#typing-container google-auto-placed,
header#typing-container .google-auto-placed,
header#typing-container ins.adsbygoogle,
.animate-marquee google-auto-placed,
.animate-marquee .google-auto-placed {
  display: none !important;
}

google-auto-placed iframe,
.google-auto-placed iframe,
ins.adsbygoogle iframe {
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* Ensure fixed & anchor Google Ads (top/bottom sticky anchor ads, vignettes, side rails) stay above cards and scrolling content */
div[id^="google_ads_iframe_"][style*="position: fixed"],
div[id^="google_ads_iframe_"][style*="position:fixed"],
div[id^="google_ads_iframe_"][style*="position: absolute"],
div[id^="google_ads_iframe_"][style*="position:absolute"],
div[id^="aswift_"][style*="position: fixed"],
div[id^="aswift_"][style*="position:fixed"],
div[id^="aswift_"][style*="position: absolute"],
div[id^="aswift_"][style*="position:absolute"],
div[id*="_anchor"],
iframe[id^="google_ads_iframe_"][style*="position: fixed"],
iframe[id^="google_ads_iframe_"][style*="position:fixed"],
iframe[id^="aswift_"][style*="position: fixed"],
iframe[id^="aswift_"][style*="position:fixed"],
ins.adsbygoogle[style*="position: fixed"],
ins.adsbygoogle[style*="position:fixed"],
ins.adsbygoogle[style*="position: absolute"],
ins.adsbygoogle[style*="position:absolute"],
ins.adsbygoogle.adsbygoogle-noablate,
.google-auto-placed[style*="position: fixed"],
.google-auto-placed[style*="position:fixed"],
.google-auto-placed[style*="position: absolute"],
.google-auto-placed[style*="position:absolute"],
google-auto-placed[style*="position: fixed"],
google-auto-placed[style*="position:fixed"],
google-auto-placed[style*="position: absolute"],
google-auto-placed[style*="position:absolute"] {
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#mobileMenu:not(.hidden) {
  z-index: 2147483648 !important;
}
#menuOverlay:not(.hidden) {
  z-index: 2147483647 !important;
}

/* ==========================================
   Horizontal Scrollable Breadcrumbs (Mobile)
   ========================================== */
.tgt-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-bottom: 4px !important;
  padding-top: 2px !important;
}

.tgt-breadcrumbs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.tgt-breadcrumbs > * {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Center Jetpack Share Buttons on Desktop */
@media (min-width: 768px) {
    #block-67 .jetpack-sharing-buttons__services-list {
        justify-content: center !important;
    }

    #block-67 {
        text-align: center;
    }
}

/* Keep mobile layout unchanged */
@media (max-width: 767px) {
    #block-67 .jetpack-sharing-buttons__services-list {
        justify-content: flex-start !important;
    }
}

/* =========================================================================
   COMPREHENSIVE RTL (ARABIC / PERSIAN / URDU) & SEARCH BAR ALIGNMENT FIXES
   ========================================================================= */
body.tgt-rtl,
[dir="rtl"] {
  direction: rtl;
}

body.tgt-rtl #siteHeader,
body.tgt-rtl main,
body.tgt-rtl footer {
  text-align: right;
}

/* Language Dropdown & Search Bar - Fixed LTR Alignment in RTL Mode */
body.tgt-rtl .tgt-lang-dropdown-wrapper,
[dir="rtl"] .tgt-lang-dropdown-wrapper {
  direction: ltr !important;
  text-align: left !important;
}

body.tgt-rtl #tgtLangDropdownMenu,
[dir="rtl"] #tgtLangDropdownMenu {
  direction: ltr !important;
  text-align: left !important;
  left: 0 !important;
  right: auto !important;
  transform-origin: top left !important;
}

/* Language Search Input & Icon Positioning */
.tgt-lang-search-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  direction: ltr !important;
}

.tgt-lang-search-icon {
  position: absolute !important;
  left: 11px !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  color: #94a3b8 !important;
  width: 15px !important;
  height: 15px !important;
  z-index: 10 !important;
}

#tgtLangSearchInput {
  width: 100% !important;
  padding-left: 36px !important;
  padding-right: 32px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #f8fafc !important;
  color: #1e293b !important;
  text-align: left !important;
  direction: ltr !important;
  outline: none !important;
  box-sizing: border-box !important;
}

#tgtLangSearchInput:focus {
  background-color: #ffffff !important;
  border-color: #24a1de !important;
  box-shadow: 0 0 0 2px rgba(36, 161, 222, 0.2) !important;
}

/* Language Dropdown Spinner */
.tgt-lang-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  color: #24a1de;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  margin-right: 2px;
}
.tgt-lang-spinner.tgt-spinning,
.tgt-lang-spinner:not(.hidden) {
  display: inline-flex !important;
}
.tgt-lang-spinner svg {
  animation: tgt-spin 0.75s linear infinite !important;
  transform-origin: center center;
  width: 14px !important;
  height: 14px !important;
}
@keyframes tgt-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Mobile Drawer Positioning in RTL */
body.tgt-rtl #mobileMenu,
[dir="rtl"] #mobileMenu {
  left: 0.75rem !important;
  right: auto !important;
  text-align: right !important;
}

/* Marquee Scrolling in RTL: Natural RTL Flow (Left-to-Right) */
@keyframes marquee-scroll-rtl {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(50%);
  }
}

body.tgt-rtl .animate-marquee,
[dir="rtl"] .animate-marquee {
  direction: rtl !important;
  animation: marquee-scroll-rtl 35s linear infinite !important;
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

body.tgt-rtl .group\/marquee:hover .animate-marquee,
[dir="rtl"] .group\/marquee:hover .animate-marquee {
  animation-play-state: paused !important;
}

/* Main Search Bar Padding in RTL */
body.tgt-rtl #search-form > div,
body.tgt-rtl #members-search-form > div,
body.tgt-rtl #search-page-form > div,
body.tgt-rtl #search-form-second > div,
body.tgt-rtl form[role="search"] > div,
body.tgt-rtl .tgt-search-bar,
body.tgt-rtl .tgt-search-input-wrapper,
[dir="rtl"] #search-form > div,
[dir="rtl"] #members-search-form > div,
[dir="rtl"] #search-page-form > div,
[dir="rtl"] #search-form-second > div,
[dir="rtl"] form[role="search"] > div,
[dir="rtl"] .tgt-search-bar,
[dir="rtl"] .tgt-search-input-wrapper {
  padding: 5px 14px 5px 6px !important;
}

@media (min-width: 640px) {
  body.tgt-rtl #search-form > div,
  body.tgt-rtl #members-search-form > div,
  body.tgt-rtl #search-page-form > div,
  body.tgt-rtl #search-form-second > div,
  body.tgt-rtl form[role="search"] > div,
  body.tgt-rtl .tgt-search-bar,
  body.tgt-rtl .tgt-search-input-wrapper,
  [dir="rtl"] #search-form > div,
  [dir="rtl"] #members-search-form > div,
  [dir="rtl"] #search-page-form > div,
  [dir="rtl"] #search-form-second > div,
  [dir="rtl"] form[role="search"] > div,
  [dir="rtl"] .tgt-search-bar,
  [dir="rtl"] .tgt-search-input-wrapper {
    padding: 6px 18px 6px 7px !important;
  }
}

body.tgt-rtl #search-input,
body.tgt-rtl input[type="search"]:not(#tgtLangSearchInput),
[dir="rtl"] #search-input,
[dir="rtl"] input[type="search"]:not(#tgtLangSearchInput) {
  text-align: right !important;
  direction: rtl !important;
}

body.tgt-rtl .tgt-input-controls,
[dir="rtl"] .tgt-input-controls {
  margin-right: 0 !important;
  margin-left: 8px !important;
}

body.tgt-rtl .tgt-search-dropdown,
[dir="rtl"] .tgt-search-dropdown {
  text-align: right !important;
  direction: rtl !important;
}


