/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo
*/
/* Make header action area align nicely */
.header-widget {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* "Join Now" button look */
.join-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  line-height: 1;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  background: #ff5a5f;         /* tweak to match your palette */
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.join-now-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  color: #fff !important;
  background: #e14b50;         /* hover shade */
}

/* Space it just like other header buttons */
.header-widget .join-now-btn { margin-left: 6px; }

/* Hide "Add Listing" for NOT logged-in users (covers common Listeo button variants) */
body:not(.logged-in) a.add-listing,
body:not(.logged-in) .add-listing,
body:not(.logged-in) a[href*="submit-listing"],
body:not(.logged-in) a[href*="add-listing"],
body:not(.logged-in) .header-widget a.button.border.with-icon[href*="submit"],
body:not(.logged-in) .header-widget a.button.with-icon[href*="submit"] {
  display: none !important;
}

/* Optional: keep Sign In + Join Now on one line on tighter widths */
@media (max-width: 1024px) {
  .header-widget { gap: 8px; }
  .join-now-btn { padding: 8px 14px; }
}