/* =====================================================================
   WINTOFX – custom.css (CLEAN)
   ---------------------------------------------------------------------
   Goals:
   - Desktop + Mobile navbar works in ALL languages (TR included)
   - No more “menu yutuyor / kırpılıyor” (clipping/overlap)
   - One consistent layout (no 20 different patch blocks)
   - Keeps your other site customizations (badge, regulators page, etc.)
   ===================================================================== */


/* =========================
   Header title/text
   ========================= */

/* =========================
   Global mobile overflow guard
   (prevents left/right page scrolling caused by a single overflowing element)
   ========================= */
html,
body{
  max-width: 100%;
  overflow-x: hidden;
}

.header-image .header-title,
.header-image .header-text {
  color: #ffffff;
  text-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.60),
    0 0 10px rgba(0, 0, 0, 0.30);
}


/* =========================
   Footer spacing
   ========================= */
footer.footer .footer-upper { padding-bottom: 1rem; }
footer.footer .footer-lower { padding-top: 0.8rem; }
footer.footer .footer-copyright { margin-top: 0; }


/* =====================================================================
   Resolved logo + badges (kept)
   ===================================================================== */

/* Platform logos (white text) – match Admin "Resolved" logo look */
.platform-resolved-logo {
  height: 28px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.95))
          drop-shadow(1px 0 0 rgba(0,0,0,0.85))
          drop-shadow(-1px 0 0 rgba(0,0,0,0.85))
          drop-shadow(0 1px 0 rgba(0,0,0,0.85))
          drop-shadow(0 -1px 0 rgba(0,0,0,0.85))
          drop-shadow(0 0 4px rgba(0,0,0,0.55))
          drop-shadow(0 2px 10px rgba(0,0,0,0.25));
}

/* Public review header: title + logo should never overflow */
.item-review-title .resolved-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.item-review-title .resolved-title .platform-resolved-logo { flex: 0 0 auto; }
.item-review-title .resolved-title-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 576px){
  .item-review-title .resolved-title-text{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.2;
  }
}

/* Resolved badge (public business page) – same look as admin */
.badge.wfx-resolved-badge{
  background-color: #22c55e !important;
  color: #ffffff !important;
  border: 0 !important;
  padding: 5px 10px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1 !important;
}
.badge.wfx-resolved-badge i{
  font-size: 14px !important;
  line-height: 1 !important;
}
@media (max-width: 576px){
  .badge.wfx-resolved-badge{
    padding: 4px 8px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
  }
  .badge.wfx-resolved-badge i{ font-size: 13px !important; }
}

/* Dashboard logo contrast (kept) */
.dashboard-sidebar-header .logo img,
.dashboard-nav .logo img,
.sign-page-header .logo img{
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.95))
          drop-shadow(1px 0 0 rgba(0,0,0,0.85))
          drop-shadow(-1px 0 0 rgba(0,0,0,0.85))
          drop-shadow(0 1px 0 rgba(0,0,0,0.85))
          drop-shadow(0 -1px 0 rgba(0,0,0,0.85))
          drop-shadow(0 0 4px rgba(0,0,0,0.55))
          drop-shadow(0 2px 10px rgba(0,0,0,0.25));
}


/* =====================================================================
   WINTOFX NAVBAR (PC + MOBILE) – CLEAN
   ===================================================================== */

/* Fixed header wrapper */
.wfx-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  font-family: inherit;
  font-size: 15px;
}

/* Front site top padding (dashboard hariç) */
body:not(.body-dashboard){
  padding-top: 134px !important; /* desktop header total height */
}

/* ---------- TOP DARK BAR ---------- */
.wfx-nav-top{
  background-color: #2f3745;
  color: #fff;
  position: relative;
  z-index: 3;
}
.wfx-nav-top-inner{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
}

/* Logo */
.wfx-logo{
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  flex: 0 0 auto;
}
.wfx-logo img{
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.95))
          drop-shadow(1px 0 0 rgba(0,0,0,0.85))
          drop-shadow(-1px 0 0 rgba(0,0,0,0.85))
          drop-shadow(0 1px 0 rgba(0,0,0,0.85))
          drop-shadow(0 -1px 0 rgba(0,0,0,0.85))
          drop-shadow(0 0 4px rgba(0,0,0,0.55))
          drop-shadow(0 2px 10px rgba(0,0,0,0.25));
}
.wfx-logo-title{ display: none !important; }
.wfx-logo-sub{
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* Search */
.wfx-search-wrapper{
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}
.wfx-search-form{
  width: 100%;
  max-width: 520px;
  margin-left: 6px;
  margin-right: 0;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 999px;
  padding: 3px 3px 3px 18px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.wfx-search-input{
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
  background: transparent;
}
.wfx-search-input::placeholder{ color: #999; }

.wfx-search-btn{
  border: none;
  outline: none;
  border-radius: 999px;
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c18a1a;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Top-right actions (language + user) */
.wfx-top-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* User avatar */
.wfx-user-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.5);
}
.wfx-user-icon img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- NAV SEARCH RESULTS (dropdown) ---------- */
.wfx-nav-top .wfx-search-results.search-results{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 6px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  z-index: 2000;
}
.wfx-nav-top .wfx-search-results .search-results-inner,
.wfx-nav-top .wfx-search-results .wfx-search-results-inner{
  max-height: 360px;
  overflow-y: auto;
}
.wfx-nav-top .wfx-search-wrapper .search-item{
  padding: 8px 14px;
  background-color: #ffffff;
}
.wfx-nav-top .wfx-search-wrapper .search-item:hover{ background-color: #f8fafc; }
.wfx-nav-top .wfx-search-wrapper .item-sm{ gap: 10px; }
.wfx-nav-top .wfx-search-wrapper .item-img img{
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
}
.wfx-nav-top .wfx-search-wrapper .item-title{
  font-size: 0.85rem;
  font-weight: 600;
}
.wfx-nav-top .wfx-search-wrapper .item-link{ display: none !important; } /* domain line hidden */
.wfx-nav-top .wfx-search-wrapper .ratings{ display: none !important; } /* stars hidden */
.wfx-nav-top .wfx-search-wrapper .wfx-search-results-all{
  display: block;
  padding: 10px 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  color: #c18a1a;
}
.wfx-nav-top .wfx-search-wrapper .wfx-search-results-all:hover{ text-decoration: underline; }


/* ---------- BOTTOM YELLOW BAR ---------- */
.wfx-nav-bottom{
  background-color: #ffd54a;
  color: #333;
  position: relative;
  z-index: 2;
  overflow: visible; /* IMPORTANT: never clip the menu */
}
.wfx-nav-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 8px 10px;
  position: relative;
}

/* Menu links (left) */
.wfx-bottom-links{
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.wfx-bottom-link{
  position: relative;
  text-decoration: none;
  color: #333;
  padding-bottom: 4px;
  background: none;
  border: none;
  white-space: nowrap;
}

.wfx-bottom-link:hover{ color: #111; }
.wfx-bottom-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.2s ease;
}
.wfx-bottom-link:hover::after{ width: 100%; }

/* Dropdown (bottom menu) */
.wfx-bottom-item{ position: relative; }
.wfx-bottom-dropdown{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  padding: 6px 0;
  margin-top: 6px;
  display: none;
  z-index: 1000;
}
.wfx-bottom-dropdown-item{
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.wfx-bottom-dropdown-item:hover{ background-color: #f5f5f5; }
.wfx-bottom-item:hover .wfx-bottom-dropdown{ display: block; }

/* Right buttons */
.wfx-bottom-right{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}
.wfx-bottom-buttons{
  display: flex;
  align-items: center;
  gap: 8px;
}
.wfx-auth-btn{
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
  white-space: nowrap;
}
.wfx-auth-login{ background-color: transparent; color: #333; }
.wfx-auth-register{ background-color: #fff; color: #333; }
.wfx-auth-business{
  background-color: #2f3745;
  color: #fff;
  border-color: #2f3745;
}
.wfx-auth-btn:hover{ filter: brightness(1.05); color: inherit; }

/* Mobile hamburger toggle (your existing one) */
.wfx-menu-toggle{
  border: none;
  background: none;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  display: none; /* only mobile */
  margin-left: auto;
}




/* ✅ Mobile hamburger (nav) should show ALL links (including those moved to desktop hamburger) */
@media (min-width: 992px){
  .wfx-bottom-links--mobile{ display: none !important; }
}
@media (max-width: 991.98px){
  .wfx-nav-bottom.is-open .wfx-bottom-links--desktop{ display: none !important; }
  .wfx-nav-bottom.is-open .wfx-bottom-links--mobile{ display: flex !important; }
}
/* Desktop overflow hamburger (JS) — default hidden (desktop media query shows it) */
.wfx-desktop-hamburger{ display:none; }
/* =========================
   DESKTOP (>= 992px)
   IMPORTANT: fixes the “menu yutuyor” issue
   ========================= */
@media (min-width: 992px){

  /* Keep both bars aligned with the same container as your ads (1230) */
  .wfx-nav-top-inner,
  .wfx-nav-bottom-inner{
    max-width: 1230px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .wfx-nav-top-inner{
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .wfx-nav-bottom-inner{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    overflow: visible !important;
    flex-wrap: nowrap !important;
  }

  .wfx-logo img{ height: 46px; }
  .wfx-logo-sub{
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  /* Search sits near the flag, no layout jump */
  .wfx-search-wrapper{
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: flex;
  }
  .wfx-search-form{
    max-width: 360px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .wfx-top-actions{
    gap: 4px;
    margin-left: 4px;
  }
  .wfx-search-btn{ width: 46px; height: 40px; }

  /* Language text + chevron white */
  .wfx-nav-top .dropdown-toggle,
  .wfx-nav-top .dropdown-toggle span,
  .wfx-nav-top .dropdown-toggle i,
  .wfx-nav-top .drop-down-btn,
  .wfx-nav-top .drop-down-btn span,
  .wfx-nav-top .drop-down-btn i{
    color: #ffffff !important;
  }
  .wfx-nav-top .dropdown-toggle::after,
  .wfx-nav-top .drop-down-btn::after{
    border-top-color: #ffffff !important;
  }
  .wfx-top-actions .dropdown-menu span,
  .wfx-top-actions .drop-down-menu span{
    color: #333333 !important;
  }

  /* ===== ALT MENÜ (DESKTOP) — başlangıç/bitiş korunur, boşluk kalmaz =====
     Hedef:
     - Mavi ile çizdiğin alana menü öğeleri EŞİT aralıkla dağılsın (sağa boşluk kalmasın).
     - Scrollbar çıkacağı yerde önce font/padding küçülsün.
     - Yetmezse taşan öğeler DESKTOP hamburger menüye (⋮) taşınsın (BLOG dahil).
     Not: Taşan öğeleri hamburger'e taşıma işi için altta verdiğim JS gerekiyor.
  */

  /* Menü alanı: tüm boşluğu alsın + araya eşit dağıtsın */
  .wfx-nav-bottom .wfx-nav-bottom-inner{
    justify-content: flex-start;
  }

  .wfx-nav-bottom .wfx-bottom-links{
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between; /* başlangıç & bitiş sabit, aralıklar eşit */

    gap: 0;                 /* spacing space-between ile gelsin */
    white-space: nowrap;
    flex-wrap: nowrap;

    overflow: visible;      /* scrollbar göstermeyelim */
  }

  /* Fontu konteynerden miras aldır (JS ile kademeli küçültüyoruz) */
  .wfx-nav-bottom .wfx-bottom-links{ font-size: 15px; }
  .wfx-nav-bottom .wfx-bottom-link,
  .wfx-nav-bottom .wfx-bottom-item{
    font-size: inherit !important;
  }

  /* Menü öğeleri: daralınca kırpılma/“yutma” olmasın */
  .wfx-nav-bottom .wfx-bottom-links > *{
    flex: 0 0 auto;
    min-width: max-content;
  }

  /* Menü link padding'i */
  .wfx-nav-bottom .wfx-bottom-link{
    padding: 0 10px 4px;
    letter-spacing: 0;
  }

  /* Sağdaki butonlar da dar ekranda biraz sıkışabilsin */
  .wfx-nav-bottom .wfx-bottom-right .wfx-auth-btn{
    font-size: 14px;
    padding: 6px 12px;
  }
  .wfx-nav-bottom .wfx-bottom-right .wfx-business-btn{
    padding: 6px 12px;
  }

  /* ===== “Scroll devreye gireceği yerde” sığdırma (JS class ekler) ===== */
  .wfx-nav-bottom.is-tight .wfx-bottom-links{ font-size: 13px; }
  .wfx-nav-bottom.is-tight .wfx-bottom-link{
    padding: 0 8px 4px;
    letter-spacing: -0.01em;
  }
  .wfx-nav-bottom.is-tight .wfx-bottom-right .wfx-auth-btn{
    font-size: 13px;
    padding: 5px 10px;
  }

  .wfx-nav-bottom.is-tighter .wfx-bottom-links{ font-size: 12px; }
  .wfx-nav-bottom.is-tighter .wfx-bottom-link{
    padding: 0 6px 4px;
    letter-spacing: -0.02em;
  }
  .wfx-nav-bottom.is-tighter .wfx-bottom-right .wfx-auth-btn{
    font-size: 12px;
    padding: 5px 9px;
  }

  /* ===== DESKTOP HAMBURGER (taşan öğeler için) ===== */
  .wfx-desktop-hamburger{
    display: inline-flex;     /* desktopta göster */
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    position: relative;
    z-index: 1001;
    margin-left: 10px;        /* butonlardan bir tık ayrışsın */
  }

  .wfx-desktop-hamburger-btn{
    width: 42px;
    height: 36px;
    border-radius: 10px;

    background: rgba(0,0,0,.10);
    border: 1px solid rgba(0,0,0,.18);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    user-select: none;
  }

  .wfx-desktop-hamburger-lines{
    width: 18px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .wfx-desktop-hamburger-line{
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #111;
    display: block;
  }

  .wfx-desktop-hamburger-dropdown{
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;

    min-width: 220px;
    max-width: 320px;

    background: #fff;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;

    box-shadow: 0 18px 40px rgba(0,0,0,.20);
    padding: 10px;

    z-index: 9999;
  }

  .wfx-desktop-hamburger.is-open .wfx-desktop-hamburger-dropdown{
    display: block;
  }

  .wfx-hmb-title{
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .02em;
    margin: 2px 4px 8px;
    color: #111;
    opacity: .85;
  }

  .wfx-hmb-items{
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .wfx-hmb-item{
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;

    font-weight: 700;
    font-size: 14px;
    color: #111;
  }

  .wfx-hmb-item:hover{
    background: rgba(0,0,0,.06);
  }

  /* JS taşırdığı (gizlediği) menü öğeleri */
  .wfx-nav-hidden{ display:none !important; }
}


/* =========================
   MOBILE (<= 991.98px)
   (your current mobile behavior kept)
   ========================= */
@media (max-width: 991.98px){

  .wfx-nav-top-inner{
    display: flex;
    align-items: center;
    padding: 14px 6px 14px 12px;
    gap: 2px;
  }

  .wfx-logo img{ height: 34px; }
  .wfx-logo-text{ display: none; }

  /* Mobile search */
  .wfx-search-wrapper{
    flex: 1 1 auto;
    display: flex;
    margin-left: 4px;
    margin-right: 0;
    position: relative;
    z-index: 20;
  }
  .wfx-search-form{
    position: relative;
    width: 100%;
    max-width: 240px;
    margin-left: 0;
    margin-right: auto;
    padding: 7px 40px 7px 14px;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
  }
  .wfx-search-input{
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wfx-search-input::placeholder{ font-size: 12px; }

  .wfx-search-btn{
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #c18a1a;
    box-shadow: 0 0 0 2px #fff;
  }

  /* Mobile search dropdown */
  .wfx-nav-top .wfx-search-results.search-results{
    top: 100%;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    min-width: 260px;
    max-width: calc(100vw - 24px);
    margin-top: 4px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.30);
    max-height: 230px !important;
  }
  .wfx-nav-top .wfx-search-results .search-results-inner,
  .wfx-nav-top .wfx-search-results .wfx-search-results-inner{
    max-height: 230px !important;
    overflow-y: auto !important;
  }

  /* Top actions: show only flag/icon on mobile */
  .wfx-top-actions{
    flex: 0 0 auto;
    justify-content: flex-end;
    display: flex;
    align-items: center;
    gap: 3px;
    position: relative;
    z-index: 21;
  }
  .wfx-top-actions .drop-down-btn span,
  .wfx-top-actions .dropdown-toggle span,
  .wfx-top-actions .drop-down-btn i,
  .wfx-top-actions .dropdown-toggle i{
    display: none !important;
  }
  .wfx-top-actions .language-img img{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
  }

  .wfx-user-icon{
    width: 28px;
    height: 28px;
    border-width: 1px;
  }

  .wfx-menu-toggle{
    display: block;
    position: relative;
    z-index: 22;
    padding: 4px 4px;
  }
  .wfx-menu-toggle i{ color: #ffffff; }

  .wfx-nav-top{ z-index: 5 !important; overflow: visible; }
  .wfx-nav-bottom{ z-index: 3 !important; }

  .wfx-nav-bottom-inner{
    align-items: center;
    justify-content: space-between;
  }

  .wfx-bottom-links,
  .wfx-bottom-buttons{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 6px;
  }
  .wfx-nav-bottom.is-open .wfx-bottom-links,
  .wfx-nav-bottom.is-open .wfx-bottom-buttons{
    display: flex;
  }

  body:not(.body-dashboard){
    padding-top: 80px !important;
  }
}


/* =====================================================================
   Small UX fixes kept
   ===================================================================== */

/* Language dropdown offset (LTR + RTL) */
@media (min-width: 992px){
  .wfx-top-actions .drop-down.languages{ position: relative; left: 6px; }
  html[dir="rtl"] .wfx-top-actions .drop-down.languages,
  html[lang="ar"] .wfx-top-actions .drop-down.languages{
    left: auto !important;
    right: 6px !important;
  }
}
@media (max-width: 991.98px){
  .wfx-top-actions .drop-down.languages{ position: relative; left: 6px; }
  html[dir="rtl"] .wfx-top-actions .drop-down.languages,
  html[lang="ar"] .wfx-top-actions .drop-down.languages{
    left: auto;
    right: 6px;
  }
}

/* Phone input: country code width */
.phone-cc-select{
  flex: 0 0 170px !important;
  width: 170px !important;
  min-width: 170px !important;
  max-width: 170px !important;
  white-space: nowrap;
}
@media (max-width: 480px){
  .phone-cc-select{
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
  }
}

/* RTL / Arabic: navbar search input direction */
html[dir="rtl"] .wfx-search-input,
html[lang="ar"] .wfx-search-input{
  direction: rtl !important;
  unicode-bidi: plaintext !important;
  text-align: right !important;
}
html[dir="rtl"] .wfx-search-input::placeholder,
html[lang="ar"] .wfx-search-input::placeholder{
  direction: rtl;
  text-align: right;
}
@media (min-width: 992px){
  html[dir="rtl"] .wfx-search-form,
  html[lang="ar"] .wfx-search-form{
    padding: 3px 18px 3px 3px !important; /* mirror LTR padding */
    direction: rtl;
  }
}
@media (max-width: 991.98px){
  html[dir="rtl"] .wfx-search-wrapper,
  html[lang="ar"] .wfx-search-wrapper{ direction: rtl; }

  html[dir="rtl"] .wfx-search-form,
  html[lang="ar"] .wfx-search-form{
    padding: 7px 14px 7px 40px !important;
    margin-right: 0 !important;
    margin-left: auto !important;
  }
  html[dir="rtl"] .wfx-search-btn,
  html[lang="ar"] .wfx-search-btn{
    right: auto !important;
    left: 6px !important;
  }
}

/* Range/slider RTL fix */
[dir="rtl"] .rk-track{ direction: ltr; }
.rk-track{ position: relative; z-index: 50; }
.rk-track, .rk-thumb{
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

/* RTL mobile badge alignment */
html[dir="rtl"] .rk-scroll,
html[lang="ar"] .rk-scroll{ direction: rtl !important; }
@media (max-width: 560px){
  html[dir="rtl"] .rk-top,
  html[lang="ar"] .rk-top{
    direction: rtl !important;
    padding-right: 0 !important;
    padding-left: 32px !important;
    justify-content: flex-start !important;
  }
  html[dir="rtl"] .rk-badge,
  html[lang="ar"] .rk-badge{
    margin: 0 !important;
    align-self: flex-start !important;
  }
}

/* Community sticky sidebar bottom padding */
.community-sticky-sidebar .card{ padding-bottom: 40px; }


/* =====================================================================
   Business dashboard – mobile sidebar (kept)
   ===================================================================== */
@media (max-width: 991.98px){

  .body-dashboard .dashboard-sidebar-inner[data-simplebar] .simplebar-content-wrapper{
    padding-bottom: 72px !important;
  }

  .body-dashboard .dashboard-sidebar-footer{
    position: fixed;
    left: 0;
    bottom: 4px;
    width: var(--sidebar_width);
    padding: 8px 16px 12px;
    margin: 0;
    z-index: 50;
    background-color: rgb(var(--sidebar_background_color));
    box-shadow: 0 -4px 12px rgba(0,0,0,0.35);
  }

  .body-dashboard .dashboard-upgrade-btn{
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}


/* =====================================================================
   Home layout: container width (kept, simplified)
   ===================================================================== */
@media (min-width: 1400px){
  .container,
  .container-custom,
  .container-custom-sm,
  .container-custom-xs{
    max-width: 1230px !important;
  }

  body.special-theme-enabled .special-theme-surface{
    max-width: 1230px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.page-home .section{ padding-top: 18px; padding-bottom: 18px; }
.page-home .section-header{ margin-bottom: 8px; }
.page-home .section-title{ font-size: 18px; }
.page-home .section-text{ margin-top: 5px; font-size: 0.92em; }
@media (max-width: 991.98px){
  .page-home .section{ padding-top: 14px; padding-bottom: 14px; }
  .page-home .section-header{ margin-bottom: 6px; }
  .page-home .section-title{ font-size: 16px; }
}

/* =========================================================
   HOME – Minimal Premium Swiper Navigation Buttons
   (Öne Çıkan İşletmeler + Topluluk / Yorumlar)
   ========================================================= */

.page-home .wfx-swiper-nav{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .wfx-swiper-btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease;
  padding: 0;
}

.page-home .wfx-swiper-btn i{ font-size: 13px; line-height: 1; }

.page-home .wfx-swiper-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  background: #f9fafb;
}

.page-home .wfx-swiper-btn.swiper-button-disabled{
  opacity: 0.35;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 576px){
  .page-home .wfx-swiper-btn{
    width: 32px;
    height: 32px;
  }
  .page-home .wfx-swiper-btn i{ font-size: 12px; }
}


/* =====================================================================
   Regulators (Lisanslar) Page – kept (your design)
   ===================================================================== */

.wfx-regulators { background: #f7f9fb; }


/* =====================================================================
   HOME – Spacing fine-tune (Market / Öne Çıkan / Topluluk / Blog)
   ---------------------------------------------------------------------
   User request:
   - BLOG başlığı kalksın + dev boşluk kapanıp minimize olsun
   - MARKET başlığı kalksın + Öne Çıkan ile boşluk minimize olsun
   - TOPLULUK ile Öne Çıkan arası daha da minimize olsun
   - Masaüstü “uzak görünüm” (genel ölçek/width) bozulmasın
   Notes:
   - Sadece anasayfada (.page-home) etkili
   - Yatay ölçülerle oynamaz, sadece dikey boşlukları toparlar
   ===================================================================== */

/* MARKET + BLOG başlıklarını (section header) anasayfada gizle */
.page-home .fxsent .section-header,
.page-home .section-blog-premium .section-header{
  display: none !important;
}

/* Bu 4 blok arasındaki büyük dikey boşlukları azalt */
.page-home .fxsent.section,
.page-home .section-featured,
.page-home .section-reviews-premium,
.page-home .section-blog-premium{
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Market + Blog: içerideki ekstra (dev) padding’i küçült */
.page-home .fxsent .section-inner{
  padding-top: 10px;
  padding-bottom: 12px;
}
.page-home .section-blog-premium .section-inner{
  padding-top: 10px;
  padding-bottom: 12px;
}

/* Öne Çıkan + Topluluk başlık alt boşlukları biraz daha sıkı */
.page-home .section-featured-header,
.page-home .section-reviews-premium .section-header{
  margin-bottom: 10px;
  padding-bottom: 6px;
}

/* Blog “View All” butonu üst boşluğu azalt */
.page-home .section-blog-premium .section-footer{
  margin-top: 12px !important;
}

@media (max-width: 992px){
  .page-home .fxsent.section,
  .page-home .section-featured,
  .page-home .section-reviews-premium,
  .page-home .section-blog-premium{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .page-home .fxsent .section-inner,
  .page-home .section-blog-premium .section-inner{
    padding-top: 8px;
    padding-bottom: 10px;
  }
}

.wfx-reg-hero{
  padding: 38px 0 24px;
  background: linear-gradient(180deg, rgba(31, 182, 106, .07), rgba(255, 255, 255, 0));
}

.wfx-reg-breadcrumbs{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(12, 21, 38, 0.7);
  margin-bottom: 14px;
}

.wfx-reg-breadcrumbs a{
  color: rgba(12, 21, 38, 0.85);
  text-decoration: none;
}
.wfx-reg-breadcrumbs a:hover{ text-decoration: underline; }
.wfx-reg-breadcrumbs .sep{ opacity: .6; }

.wfx-reg-title{
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0c1526;
  line-height: 1.08;
  font-size: 48px;
  margin: 0;
}
.wfx-reg-checklist{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}
.wfx-reg-checklist li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(12, 21, 38, 0.9);
}
.wfx-reg-checklist i{ color: #1fb66a; font-size: 20px; }

.wfx-reg-illustration{ max-width: 380px; margin-inline-start: auto; }

.wfx-reg-info{
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(12, 21, 38, 0.08);
  border-radius: 16px;
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  box-shadow: 0 10px 20px rgba(12, 21, 38, 0.04);
}

.wfx-reg-info__title{
  margin: 0;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #0c1526;
}
.wfx-reg-info__desc{
  margin: 8px 0 0;
  color: rgba(12, 21, 38, 0.70);
  line-height: 1.45;
}
.wfx-reg-info__icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 182, 106, .10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.wfx-reg-info__icon i{ font-size: 22px; color: #1fb66a; }

.wfx-reg-body{ padding: 18px 0 52px; }

.wfx-reg-card{
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(12, 21, 38, 0.10);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 12px 24px rgba(12, 21, 38, 0.05);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.wfx-reg-card + .wfx-reg-card{ margin-top: 18px; }

.wfx-reg-card::after{
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 0;
  border-top: 20px solid #1fb66a;
  border-right: 20px solid transparent;
}

.wfx-reg-card::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(90deg, rgba(255, 210, 112, 1), rgba(212, 160, 55, 1), rgba(255, 210, 112, 1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.wfx-reg-card:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(12, 21, 38, 0.10);
}
.wfx-reg-card:hover::before{ opacity: 1; }

/* Mobile/iOS: touch devices can keep a :hover state after tap.
   The small scale(1.01) may push the card outside the viewport and
   create horizontal page scrolling. Disable the scale on touch. */
@media (hover: none), (max-width: 991.98px) {
  .wfx-reg-card:hover{
    transform: none;
    box-shadow: 0 18px 34px rgba(12, 21, 38, 0.10);
  }
}

.wfx-reg-card__logo{
  width: 104px;
  height: 78px;
  border-radius: 14px;
  border: 1px solid rgba(12, 21, 38, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}
.wfx-reg-card__logo::before{
  content: "";
  position: absolute;
  inset: 10px;
  background: url("../images/WINTOFX_bull_only.png") center / contain no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}
.wfx-reg-card__logo::after{
  content: "";
  position: absolute;
  inset: 10px;
  background: url("../images/WINTOFX_bull_only.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 3;
  filter: invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.10));
}
.wfx-reg-card__logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.wfx-reg-card__logo--empty{
  color: rgba(12, 21, 38, 0.35);
  font-weight: 700;
}

.wfx-reg-card__content{
  flex: 1 1 auto;
  min-width: 0;
}

.wfx-reg-card__top{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.wfx-reg-card__name{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: #0c1526;
  /* ✅ Desktop title should not look "cut".
     Allow up to 2 lines on desktop and keep layout stable. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

/* Utilities for Blade (prevents duplicate website icons on desktop) */
.wfx-reg-mobile-only{ display:none !important; }


.wfx-reg-link{
  color: inherit;
  text-decoration: none;
  position: relative;
}
.wfx-reg-link i{
  font-size: 14px;
  opacity: .55;
  margin-inline-start: 8px;
}
.wfx-reg-link::after{
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, rgba(31, 182, 106, 0), rgba(31, 182, 106, 1), rgba(31, 182, 106, 0));
  transition: width .22s ease;
}
.wfx-reg-card:hover .wfx-reg-link::after{ width: 100%; }

.wfx-reg-card__country{
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(12, 21, 38, 0.75);
  font-weight: 600;
  white-space: nowrap;
}

.wfx-flag{
  width: 24px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(12, 21, 38, 0.10);
  object-fit: cover;
}

.wfx-reg-card__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wfx-badge{
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(12, 21, 38, 0.12);
  background: rgba(12, 21, 38, 0.02);
  font-size: 12px;
  font-weight: 600;
  color: rgba(12, 21, 38, 0.75);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wfx-reg-card__summary{
  margin: 10px 0 0;
  color: rgba(12, 21, 38, 0.65);
  line-height: 1.45;
}

.wfx-reg-card__rating{
  width: 96px;
  flex: 0 0 auto;
  text-align: right;
}
html[dir="rtl"] .wfx-reg-card__rating{ text-align: left; }

.wfx-grade{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(255, 125, 0, 1);
  line-height: 1;
}
.wfx-grade-label{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 125, 0, 0.95);
}

.wfx-reg-pagination{
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

/* Pagination: prevent "10" from breaking into "1" + "0" on small screens,
   keep the row centered and wrap nicely without overflowing. */
.wfx-reg-pagination nav{ max-width: 100%; }
.wfx-reg-pagination .pagination{
  flex-wrap: wrap;
  direction: ltr;
  justify-content: center;
  gap: 6px;
}
.wfx-reg-pagination .page-item{ margin-right: 0 !important; }
.wfx-reg-pagination .page-link{
  white-space: nowrap;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wfx-reg-sidebar{ width: 100%; }
@media (min-width: 992px){
  .wfx-reg-sidebar{ position: sticky; top: 110px; }
}

.wfx-sidecard{
  background: #ffffff;
  border: 1px solid rgba(12, 21, 38, 0.10);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(12, 21, 38, 0.05);
}
.wfx-sidecard + .wfx-sidecard{ margin-top: 18px; }

.wfx-sidecard__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wfx-sidecard__title{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #0c1526;
}
.wfx-sidecard__head i{ font-size: 22px; opacity: .45; }

.wfx-rating-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.wfx-rating-list li{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease;
}
.wfx-rank{ font-weight: 900; color: #0c1526; }

.wfx-sidecard__h4{
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: #0c1526;
  padding-bottom: 10px;
}
.wfx-sidecard__p{
  margin: 0;
  color: rgba(12, 21, 38, 0.68);
  line-height: 1.55;
}

.wfx-hoverline{
  cursor: default;
  position: relative;
  overflow: hidden;
}
.wfx-hoverline:hover{ transform: translateY(-2px); }

.wfx-hoverline::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0) 70%);
  transform: translateX(-120%) skewX(-16deg);
  pointer-events: none;
}
.wfx-hoverline:hover::before{ animation: wfx-shine 0.75s ease; }

.wfx-hoverline::after{
  content: "";
  position: absolute;
  inset: auto 10px 6px 10px;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 182, 106, 0), rgba(31, 182, 106, 1), rgba(31, 182, 106, 0));
  opacity: 0;
  transition: opacity .18s ease;
}
.wfx-hoverline:hover::after{ opacity: 1; }

@keyframes wfx-shine{
  0% { transform: translateX(-120%) skewX(-16deg); }
  100%{ transform: translateX(140%) skewX(-16deg); }
}

.wfx-empty{
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12, 21, 38, 0.10);
  color: rgba(12, 21, 38, 0.65);
}

/* Responsive regulators */
@media (max-width: 992px){
  .wfx-reg-title{ font-size: 38px; }
  .wfx-reg-illustration{ max-width: 320px; margin-inline-start: 0; }
}
@media (max-width: 768px){
  .wfx-reg-hero{ padding: 28px 0 18px; }
  .wfx-reg-title{ font-size: 32px; }
  .wfx-reg-checklist{ flex-direction: column; gap: 10px; }

  .wfx-reg-card{
    padding: 14px;
    gap: 12px;
    box-shadow: 0 10px 18px rgba(12, 21, 38, 0.05);
  }
  .wfx-reg-card__logo{
    width: 78px;
    height: 58px;
    border-radius: 12px;
  }
  .wfx-reg-card__rating{ width: 86px; }
  .wfx-grade{ font-size: 30px; }

  .wfx-reg-desktop-only{ display: none !important; }
  .wfx-reg-mobile-only{ display: block !important; }
  .wfx-reg-card__rating{ display: none; }

  .wfx-reg-card__mobilemeta{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
  }

  /* Mobile: website icon next to the flag */
  .wfx-reg-card__site--mobile{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(12, 21, 38, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: rgba(12, 21, 38, 0.70);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(12, 21, 38, 0.06);
  }
  .wfx-reg-card__site--mobile i{ font-size: 14px; }

  .wfx-meta-label{
    font-size: 12px;
    font-weight: 700;
    color: rgba(12, 21, 38, 0.55);
  }
  .wfx-meta-grade{
    font-size: 12px;
    font-weight: 900;
    color: rgba(255, 125, 0, 1);
    background: rgba(255, 125, 0, 0.12);
    border: 1px solid rgba(255, 125, 0, 0.35);
    padding: 2px 10px;
    border-radius: 999px;
    line-height: 18px;
  }

  .wfx-reg-card__name{
    font-size: 16px;
    line-height: 1.15;
    max-width: 100%;
  }

  .wfx-badge{
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    padding: 0 7px;
    font-size: 11px;
  }
}

/* Mobile expand toggle (kept) */
.wfx-reg-card__toggle{ display: none; }
@media (max-width: 768px){
  .wfx-reg-card{ padding-bottom: 44px; }
  /* ✅ Mobile: ONLY show extra tags/chips when arrow is opened */
  .wfx-reg-card__badges{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    flex-wrap: wrap;
    transition: max-height .25s ease, opacity .20s ease, margin-top .20s ease;
  }
  .wfx-reg-card.is-open .wfx-reg-card__badges{
    max-height: 420px;
    opacity: 1;
    margin-top: 10px;
  }

  /* ✅ Mobile: no summary text */
  .wfx-reg-card__summary{ display:none !important; }

  .wfx-reg-card__toggle{
    display: flex;
    position: absolute;
    inset-inline-end: 12px;
    inset-block-end: 12px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(12, 21, 38, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: rgba(12, 21, 38, 0.65);
    box-shadow: 0 8px 18px rgba(12, 21, 38, 0.06);
  }
  .wfx-reg-card__toggle svg{ transition: transform .18s ease; }
  .wfx-reg-card.is-open .wfx-reg-card__toggle svg{ transform: rotate(180deg); }
  .wfx-reg-card:not([data-has-extra="1"]) .wfx-reg-card__toggle{ display: none; }
}

/* Desktop: keep single website icon and put arrow bottom-right (PC) */
@media (min-width: 769px){

  /* Give room for the absolute button so it never overlaps the last line */
  .wfx-reg-card[data-has-extra="1"]{
    padding-bottom: 56px;
  }

  .wfx-reg-card__toggle{
    display: flex !important;
    position: absolute !important;

    /* ✅ FIX: physical positioning (works everywhere) */
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: 14px !important;
    bottom: 14px !important;

    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(12, 21, 38, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: rgba(12, 21, 38, 0.65);
    box-shadow: 0 10px 20px rgba(12, 21, 38, 0.08);
    cursor: pointer;
    z-index: 20;
  }

  .wfx-reg-card__toggle svg{ transition: transform .18s ease; }
  .wfx-reg-card.is-open .wfx-reg-card__toggle svg{ transform: rotate(180deg); }

  /* Hide toggle when there is nothing extra to show */
  .wfx-reg-card:not([data-has-extra="1"]) .wfx-reg-card__toggle{ display: none !important; }

  /* Desktop: summary hidden by default; arrow toggles it (card.is-open) */
  .wfx-reg-card__summary{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height .25s ease, opacity .20s ease, margin-top .20s ease;
  }
  .wfx-reg-card.is-open .wfx-reg-card__summary{
    max-height: 520px;
    opacity: 1;
    margin-top: 10px;
  }
}
/* =========================================================
   RTL: Sidebar ranking list (wfx-rating-list) — @supports YOK
   Orijinal LTR bozulmaz, sadece RTL’de ters çevirir
   ========================================================= */
html[dir="rtl"] .wfx-rating-list li,
html[lang="ar"] .wfx-rating-list li{
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* Rank/numara bloğu (genelde ilk child) */
html[dir="rtl"] .wfx-rating-list li > :first-child,
html[lang="ar"] .wfx-rating-list li > :first-child{
  flex: 0 0 44px !important;
  width: 44px !important;
}

/* İçerik bloğu (2. child) */
html[dir="rtl"] .wfx-rating-list li > :nth-child(2),
html[lang="ar"] .wfx-rating-list li > :nth-child(2){
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
/* =========================================================
   RK BADGE FIX (custom.css only)
   - Badge always under title (all languages)
   - Mobile badge smaller
   - Colors locked (licensed green / scam red)
   ========================================================= */

/* 1) Badge always in-flow (under title) */
.rk .rk-badge--corner,
.rk .rk-badge{
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;

  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;

  margin-top: 6px !important;

  transform: none !important;
  box-shadow: none !important;
  border-radius: 999px !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;

  opacity: 1 !important;
  visibility: visible !important;
}

/* RTL: badge align end (under title, right side) */
.rk[dir="rtl"] .rk-badge--corner,
.rk[dir="rtl"] .rk-badge{
  align-self: flex-end !important;
}

/* 2) Default badge color = GREEN (fix “some languages different”) */
.rk .rk-badge--corner,
.rk .rk-badge{
  color: #0f7a3a !important;
  background: rgba(15,122,58,.14) !important;
  border: 1px solid rgba(15,122,58,.28) !important;
}

/* 3) Explicit states */
.rk .rk-badge--corner.is-licensed,
.rk .rk-badge.is-licensed{
  color: #0f7a3a !important;
  background: rgba(15,122,58,.14) !important;
  border-color: rgba(15,122,58,.28) !important;
}

.rk .rk-badge--corner.is-scam,
.rk .rk-badge.is-scam{
  color: #9b1c1c !important;
  background: rgba(155,28,28,.14) !important;
  border-color: rgba(155,28,28,.28) !important;
}

/* 4) Mobile: make badge smaller */
@media (max-width: 560px){
  .rk .rk-badge--corner,
  .rk .rk-badge{
    font-size: 8px !important;
    padding: 2px 7px !important;
    line-height: 1.1 !important;
    margin-top: 5px !important;
  }
}
/* =================================================
   RTL (Arabic) MOBILE: Logo–Search spacing FIX
   - Arama ile logo arasını açar
   - Sadece Arapça + mobil
   ================================================= */
@media (max-width: 991.98px){

  /* Flex satırında nefes aç */
  html[dir="rtl"] .wfx-nav-top-inner,
  html[lang="ar"] .wfx-nav-top-inner{
    gap: 10px !important;
  }

  /* Asıl sorun burada: arama wrapper logoya yapışıyor */
  html[dir="rtl"] .wfx-search-wrapper,
  html[lang="ar"] .wfx-search-wrapper{
    margin-right: 12px !important;   /* LOGO ile arasını açan asıl hamle */
    margin-left: 0 !important;
  }

  /* Logo tarafına dokunma ama hizayı bozma */
  html[dir="rtl"] .wfx-logo,
  html[lang="ar"] .wfx-logo{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* =================================================
   RTL (Arabic) MOBILE: Logo–Search spacing FIX
   - Arama ile logo arasını açar
   - Sadece Arapça + mobil
   ================================================= */
@media (max-width: 991.98px){

  /* Flex satırında nefes aç */
  html[dir="rtl"] .wfx-nav-top-inner,
  html[lang="ar"] .wfx-nav-top-inner{
    gap: 0px !important;
  }

  /* Asıl sorun burada: arama wrapper logoya yapışıyor */
  html[dir="rtl"] .wfx-search-wrapper,
  html[lang="ar"] .wfx-search-wrapper{
    margin-right: 12px !important;   /* LOGO ile arasını açan asıl hamle */
    margin-left: 0 !important;
  }

  /* Logo tarafına dokunma ama hizayı bozma */
  html[dir="rtl"] .wfx-logo,
  html[lang="ar"] .wfx-logo{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* =========================================================
   FINAL MOBILE FIXES (NO LAYOUT SHIFT)
   1) Arabic: logo-search spacing (stable)
   2) Hamburger hit-area (without padding/absolute)
   ========================================================= */

/* 1) AR/RTL mobile: logo ile arama arasını aç (layout değiştirmez) */
@media (max-width: 991.98px){
  html[dir="rtl"] .wfx-nav-top-inner,
  html[lang="ar"] .wfx-nav-top-inner{
    gap: 6px !important;              /* küçük ama net */
  }

  html[dir="rtl"] .wfx-search-wrapper,
  html[lang="ar"] .wfx-search-wrapper{
    margin-right: 10px !important;    /* logo-arama arası */
    margin-left: 0 !important;
  }
}

/* 2) MOBILE hamburger: tıklama alanını büyüt (layout bozmadan) */
@media (max-width: 991.98px){

  /* hamburger butonunun üzerine görünmez tıklama alanı ekle */
  .wfx-menu-toggle{
    position: relative !important;
    z-index: 30 !important; /* aramanın üstünde kalsın */
  }

  .wfx-menu-toggle::before{
    content: "";
    position: absolute;
    top: -14px;
    bottom: -14px;

    /* LTR: sağda geniş alan */
    left: -10px;
    right: -22px;
  }

  /* RTL/AR: tam tersi -> solda geniş alan */
  html[dir="rtl"] .wfx-menu-toggle::before,
  html[lang="ar"] .wfx-menu-toggle::before{
    left: -22px;
    right: -10px;
  }

  /* icon click'i çalmasın */
  .wfx-menu-toggle i{ pointer-events: none !important; }
}
/* =========================================================
   WFX NAVBAR SEARCH LİSTESİ (YENİ SADE LİSTE) — BİREBİR KOPYA
   - Navbar arama sonuçlarını tek satırlık sade liste yapar
   - Domain satırını gizler (sadece isim)
   - Yıldızları gizler
   - Mavi tiki küçültür ve logonun köşesine alır
   ========================================================= */

/* Ortak (PC + mobil) */
.wfx-nav-top .wfx-nav-search-item {
  padding: 6px 10px;
  background: #ffffff;
  text-decoration: none;
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
}
.wfx-nav-top .wfx-nav-search-item:last-child { border-bottom: none; }
.wfx-nav-top .wfx-nav-search-item:hover { background: #f8fafc; }

.wfx-nav-top .wfx-nav-search-logo {
  position: relative;
  margin-right: 8px;
  flex-shrink: 0;
}
.wfx-nav-top .wfx-nav-search-logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
}

/* Mavi tik – logo köşesinde, küçük */
.wfx-nav-top .wfx-nav-search-verified {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.wfx-nav-top .wfx-nav-search-verified i {
  font-size: 9px;
  color: #2563eb;
}

.wfx-nav-top .wfx-nav-search-text {
  display: flex;
  align-items: center;
  min-width: 0;
}
.wfx-nav-top .wfx-nav-search-name {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Eski domain satırını tamamen yok sayıyoruz (her ihtimale karşı) */
.wfx-nav-top .wfx-search-wrapper .item-link { display: none !important; }

/* NAVBAR İÇİN YILDIZLARI GİZLE */
.wfx-nav-top .wfx-search-wrapper .ratings { display: none !important; }

/* NAVBAR İÇİN MAVİ TİKİ KÜÇÜLT (eski markup gelirse) */
.wfx-nav-top .wfx-search-wrapper .item-verified i { font-size: 0.7rem; }

/* PC görünümü – hafif büyük ama sade */
@media (min-width: 992px) {
  .wfx-nav-top .wfx-nav-search-item { padding: 7px 12px; }
  .wfx-nav-top .wfx-nav-search-logo img { width: 26px; height: 26px; }
  .wfx-nav-top .wfx-nav-search-name { font-size: 0.84rem; }
}

/* MOBİL – özel oranlar (PC’ye dokunmadan) */
@media (max-width: 991.98px) {
  .wfx-nav-top .wfx-nav-search-item { padding: 6px 10px; }
  .wfx-nav-top .wfx-nav-search-logo img { width: 24px; height: 24px; }

  .wfx-nav-top .wfx-nav-search-verified {
    width: 12px;
    height: 12px;
    right: -2px;
    bottom: -2px;
  }
  .wfx-nav-top .wfx-nav-search-verified i { font-size: 8px; }

  .wfx-nav-top .wfx-nav-search-name { font-size: 0.8rem; }
}
/* =========================================================
   DESKTOP HAMBURGER — DROPDOWN ALIGN (SAFE CSS)
   - Dropdown stays attached to the hamburger button.
   - Avoids nested @media blocks (prevents CSS parse issues in some environments).
   - RTL/Arabic: mirror alignment.
   ========================================================= */

@media (min-width: 992px){
  .wfx-desktop-hamburger .wfx-desktop-hamburger-dropdown{
    right: 0;
    left: auto;
  }

  html[dir="rtl"] .wfx-desktop-hamburger .wfx-desktop-hamburger-dropdown,
  html[lang="ar"] .wfx-desktop-hamburger .wfx-desktop-hamburger-dropdown{
    left: 0;
    right: auto;
  }
}
/* =========================================================
   HOME Featured: "Öne çıkan" etiketi altta kalmasın (KİLİT FIX)
   ========================================================= */

.page-home .section-featured .featured-card-wrapper{
  position: relative !important;
}

.page-home .section-featured .featured-card-wrapper > .featured-ribbon,
.page-home .section-featured .featured-ribbon{
  position: absolute !important;
  top: 10px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;

  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;

  margin: 0 !important;
  transform: none !important;
  z-index: 999 !important;
}

/* Mobil ince ayar */
@media (max-width: 768px){
  .page-home .section-featured .featured-ribbon{
    top: 8px !important;
    left: 10px !important;
    font-size: 10px !important;
  }
}
/* ======================================
   RK / RANK NUMARASI (PC) – %10 DAHA KÜÇÜK
   ====================================== */
@media (min-width: 992px){

  .rk .rk-rank,
  .rk .rk-num,
  .rk .rk-position,
  .rk .rk-rank-badge,
  .rk .rk-rank-number,
  .rk .rk-rank-circle,
  .rk .rk-top .rk-rank,
  .rk .rk-top .rk-num{
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    line-height: 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
  }

  .rk .rk-rank span,
  .rk .rk-num span,
  .rk .rk-position span,
  .rk .rk-rank-badge span,
  .rk .rk-rank strong,
  .rk .rk-num strong{
    font-size: 12px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
  }

  .rk [class*="rank"]{
    font-size: 12px !important;
  }
}
/* =========================================================
   HAMBURGER (DESKTOP + MOBILE) — SOLDaki ŞEKİL + DAVRANIŞ
   İSTEDİĞİN SON HAL:
   - Default: üst kısa / orta uzun / alt orta (soldaki gibi)
   - Hover: çizgiler eşitlenir + dropdown açılır
   - Mouse alandan (buton+dropdown) ayrılınca kapanır
   - Click ile SABİT AÇIK KALMA YOK (is-open devre dışı)
   ========================================================= */

/* Çizgi sistemi (desktop + mobil ortak) */
.wfx-hmb-lines{
  width: 22px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.wfx-hmb-line{
  height: 2px;
  border-radius: 999px;
  display: block;
  transition: width .18s ease;
}

/* SOLDaki gibi: üst/alt kısa, orta uzun */
.wfx-hmb-lines .wfx-hmb-line:nth-child(1){ width: 14px; }
.wfx-hmb-lines .wfx-hmb-line:nth-child(2){ width: 22px; }
.wfx-hmb-lines .wfx-hmb-line:nth-child(3){ width: 18px; }

/* DESKTOP (sarı bar) */
@media (min-width: 992px){

  /* çizgiler siyah */
  .wfx-desktop-hamburger .wfx-hmb-line{ background:#111; }

  /* buton kutusu sade */
  .wfx-desktop-hamburger-btn{
    width: 38px !important;
    height: 36px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
  }
  .wfx-desktop-hamburger-btn:hover{
    background: rgba(0,0,0,.08) !important;
  }

  /* ✅ SADECE HOVER / FOCUS ile aç (click ile sabitleme YOK) */
  .wfx-desktop-hamburger:hover .wfx-desktop-hamburger-dropdown,
  .wfx-desktop-hamburger:focus-within .wfx-desktop-hamburger-dropdown{
    display: block !important;
  }

  /* ✅ Hover / focus: çizgileri eşitle */
  .wfx-desktop-hamburger:hover .wfx-hmb-line,
  .wfx-desktop-hamburger:focus-within .wfx-hmb-line{
    width: 22px !important;
  }

  /* ✅ Eğer projede JS yanlışlıkla .is-open ekliyorsa kilitlemesin */
  .wfx-desktop-hamburger.is-open .wfx-desktop-hamburger-dropdown{
    display: none !important;
  }
  .wfx-desktop-hamburger.is-open .wfx-hmb-line{
    width: initial !important; /* default ölçülere dönsün */
  }

  /* Hover geçişinde dropdown kapanmasın diye köprü alan */
  .wfx-desktop-hamburger-dropdown::before{
    content:"";
    position:absolute;
    left:0; right:0;
    top:-10px;
    height:10px;
  }
}

/* MOBILE (koyu bar) */
@media (max-width: 991.98px){

  /* mobil butonu çizgili hale getir (fontawesome’u öldürme, sadece gizle) */
  .wfx-menu-toggle i{ display:none !important; }

  .wfx-menu-toggle{
    width: 40px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 10px !important;
    cursor: pointer;
  }

  /* çizgiler beyaz */
  .wfx-menu-toggle .wfx-hmb-line{ background:#fff; }

  /* Mobilde hover yok; click ile aç/kapa çalışıyorsa çizgileri eşitle */
  .wfx-menu-toggle.is-open .wfx-hmb-line{
    width: 22px !important;
  }
}
/* =========================================================
   TOPLULUK – SOL FİLTRE STICKY (SADECE PC: mouse/hover)
   ========================================================= */
@media (hover: hover) and (pointer: fine){

  /* Sticky'yi bozan parent overflow/transform -> sadece topluluk bölümünde kapat */
  body.bg-custom .section.community-page-section,
  body.bg-custom .section.community-page-section > .container,
  body.bg-custom .section.community-page-section .section-inner,
  body.bg-custom .section.community-page-section .section-body,
  body.bg-custom .section.community-page-section .row,
  body.bg-custom .section.community-page-section [class*="col-"]{
    overflow: visible !important;
    transform: none !important;
  }

  /* Asıl sticky elemanın kendisi */
  body.bg-custom .section.community-page-section .community-sticky-sidebar{
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 145px !important;
    z-index: 999 !important;
    align-self: flex-start !important;
  }

  /* Panel çok uzunsa kendi içinde scroll */
  body.bg-custom .section.community-page-section .community-sticky-sidebar .card{
    max-height: calc(100vh - 165px);
    overflow: auto;
  }
}

/* Telefon/tablet (touch) -> devre dışı */
@media (hover: none) and (pointer: coarse){
  .section.community-page-section .community-sticky-sidebar{
    position: static !important;
    top: auto !important;
  }
  .section.community-page-section .community-sticky-sidebar .card{
    max-height: none;
    overflow: visible;
  }
}
