/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1740717665
Updated: 2025-02-28 04:41:05

*/
body {
  overflow-x: hidden;
}
.scrolled-header {
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}

/* Before Scroll */
.scrolled-header .main-logo a,
.scrolled-header .main-header-menu a,
.scrolled-header .main-header-btn a {
  color: #ffffff;
}

.scrolled-header .main-header-btn a {
  background: transparent;
  border: 1px solid #ffffff;
}

/* After Scroll */
.scrolled-header.scrolled {
  background: #dad0d8 !important;
}
.scrolled .sub-menu li a {
  background: #dad0d8;
}
.scrolled .sub-arrow svg {
  fill: #7d055f;
}
.scrolled-header.scrolled .main-logo a,
.scrolled-header.scrolled .main-header-menu li a {
  color: #7d055f !important;
}
.scrolled-header.scrolled .main-header-menu li a:after {
  background-color: #7d055f !important;
}
.scrolled-header.scrolled .main-header-menu li:not(:last-child):after {
  border-color: #7d055f !important;
}

.scrolled-header.scrolled .main-header-btn a {
  background: #dad0d8 !important;
  color: #7d055f !important;
  border: 1px solid #7d055f !important;
}
@media (max-width: 767px) {
  .scrolled-header.scrolled .main-logo a,
  .scrolled-header.scrolled .main-header-menu li a {
    color: #ffff !important;
  }
  .scrolled-header.scrolled .main-logo a,
  .scrolled-header.scrolled .main-header-menu li a {
    color: #ffff !important;
  }
  .scrolled .sub-menu li a {
    background: #dad0d8;
  }
  .scrolled-header.scrolled .main-logo a {
    color: #7d055f !important;
  }
}
.logged-in .join-btn,
.logged-in .login-btn {
  display: none !important;
}
.logged-in .non-login-menu {
  display: none !important;
}

.gd-author-actions .edit_link:after {
  content: " Listing";
}

.membership-change-container {
  display: none !important;
}

div.add-listing-btn-members .elementor-element-ce116d0 {
  display: none !important;
}
.uwp_mute_notification_items {
  display: none !important;
}

.e-con-full > .elementor-nav-menu__align-justify:nth-child(2) {
  display: none !important;
}

.elementor-738 .elementor-element.elementor-element-acbb391 {
  width: 14% !important;
}
.elementor-738
  .elementor-element.elementor-element-2db1850
  a
  .elementor-button-text {
  width: max-content !important;
}

body.role-house_sitter .elementor .elementor-hidden-desktop {
  display: block !important;
}
body.role-house_sitter .elementor .elementor-hidden-mobile {
  display: block !important;
}
body.role-house_sitter .member-btn {
  display: none !important;
}
body.role-founding_member .house-sit-btn {
  display: none !important;
}

/* ======= GEODIRECTORY CARD HORIZONTAL REDESIGN ======= */

/* Ensure the grid wraps as a full-width single column stack */
.geodir-listing-posts.geodir-gridview {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.geodir-listing-posts.geodir-gridview .geodir-post {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 25px !important;
}

/* 1. Main Card Container */
.geodir-listing-posts.geodir-gridview .geodir-post .card {
    display: flex !important;
    background-color: #e6dae2 !important; /* Soft mauve background */
    border-radius: 12px !important;
    padding: 20px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    gap: 30px;
}

/* Desktop vs Mobile adjustments for image and text row */
@media (min-width: 768px) {
    .geodir-listing-posts.geodir-gridview .geodir-post .card {
        flex-direction: row !important;
        align-items: center !important;
    }
    .geodir-listing-posts.geodir-gridview .geodir-post .card-img-top {
        width: 320px !important;
        flex: 0 0 320px !important;
        max-width: 320px !important;
    }
}
@media (max-width: 767px) {
    .geodir-listing-posts.geodir-gridview .geodir-post .card {
        flex-direction: column !important;
        gap: 15px;
        padding: 15px !important;
    }
    .geodir-listing-posts.geodir-gridview .geodir-post .card-img-top {
        width: 100% !important;
    }
}

/* 2. Image styling */
.geodir-listing-posts.geodir-gridview .geodir-post .card-img-top {
    border-radius: 10px !important;
    overflow: hidden;
}

/* 3. Magic CSS Grid to reorganize all fields natively! */
.geodir-listing-posts.geodir-gridview .geodir-post .card-body {
    flex: 1 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: max-content auto 1fr;
    grid-auto-rows: min-content;
    grid-template-areas: 
       "title title title"
       "subtitle subtitle subtitle"
       "status rating fav"
       "locations locations locations";
    align-items: center;
    column-gap: 20px;
    row-gap: 15px;
}

/* Make inner plugin wrappers invisible so elements snap precisely to our Grid */
.geodir-listing-posts.geodir-gridview .geodir-post .card-body > .geodir-output-location,
.geodir-listing-posts.geodir-gridview .geodir-post .card-body > .geodir-output-location > .list-group {
    display: contents !important;
}

/* Hide all unnecessary fields / buttons by default */
.geodir-listing-posts.geodir-gridview .geodir-post .card-body > *:not(.geodir-post-title):not(.geodir-post-rating):not(.gd-fav-info-wrap):not(.geodir-output-location) {
    display: none !important;
}
.geodir-listing-posts.geodir-gridview .geodir-post .list-group-item {
    display: none !important;
}

/* --- Specific Components Alignment --- */

/* Title */
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-post-title {
    grid-area: title;
    text-align: left;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-entry-title {
    margin: 0 !important;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-entry-title a {
    color: #7b0051 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Subtitle (One Line Description) */
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-sitters_one_line {
    grid-area: subtitle;
    display: flex !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    align-items: center;
    color: #7b0051 !important;
    font-size: 16px !important;
    margin-top: -5px !important;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-sitters_one_line .geodir_post_meta_icon {
    display: none !important; /* Hide label */
}

/* Status Button Block */
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-status {
    grid-area: status;
    display: flex !important;
    align-items: center;
    background-color: #8c0054 !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    white-space: nowrap;
    border: none !important;
    width: max-content;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-status .geodir_post_meta_icon i,
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-status .geodir_post_meta_title,
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-status {
    color: white !important;
    font-size: 14px !important;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir_post_meta_title {
    margin-right: 5px;
}

/* Rating Stars */
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-post-rating {
    grid-area: rating;
    display: block !important;
    margin: 0 !important;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-post-rating > div {
    float: none !important; 
    margin: 0 !important;
}

/* Heart Favorite (Pushed to the far right using 1fr Grid property) */
.geodir-listing-posts.geodir-gridview .geodir-post .gd-fav-info-wrap {
    grid-area: fav;
    display: flex !important;
    justify-content: flex-end;
    margin: 0 !important;
    float: none !important;
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-addtofav-icon i {
    font-size: 20px !important;
    color: #000 !important; 
}
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-fav-text {
    display: none !important;
}

/* Preferred Locations row at bottom */
.geodir-listing-posts.geodir-gridview .geodir-post .geodir-field-preferred_locations {
    grid-area: locations;
    display: flex !important;
    padding: 0 !important;
    border: none !important;
    align-items: center;
    color: #7b0051 !important;
    font-size: 15px !important;
    font-weight: 600;
}

