/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/******************
**FacetWP
******************/
/* Hide the wrapper if the facet inside it is empty */
.facet-wrap:has(.facetwp-facet:empty) {
    display: none;
}

/* Specifically for facets that might contain an empty template but no items */
.facet-wrap:has(.facetwp-facet.is-empty) {
    display: none;
}

 /*Things search facet*/
  .facetwp-facet input.facetwp-search, .facetwp-facet input.facetwp-location {background-color:#e2d9ce;border-radius: 6px;}
  /*Restrict dropdown width and style dropdown*/
  .facetwp-dropdown {max-width:250px;border:2px solid #808080 !important;}
   /*Hide filter column on mobile*/
@media (max-width: 1095px) {
   
   .things_listings_filters_column {display: none;}
   .things_listings_tiles_column {width:100%;flex-basis:100%;}

}

/* ================================
   GRID WRAPPER (MAIN LAYOUT)
================================ */
.facetwp-template .fwpl-layout.lot-listing-tile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: stretch;
}


/* ================================
   CARD STYLING (EACH RESULT)
================================ */
.fwpl-result {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lot_listing_block {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* IMPORTANT: stop FacetWP inner rows behaving like grids */
/* 1. Target the specific row that is the listing block */
.fwpl-row.lot_listing_block {
    display: flex !important; /* Overrides the 'block' setting */
    flex-direction: column !important;
    height: 100%;
}

/* 2. Ensure the column expands to fill the card */
.fwpl-col {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 auto !important; /* Force it to grow */
}

/* ================================
   IMAGE STYLING
================================ */
.things_featured_image img {
    /* width: 50%;
    height: 90px; */
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ================================
   TITLE
================================ */
.lot-heading h2 {
    font-size: 18px;
    margin: 12px 0 8px;
    line-height: 1.3;
}

/* ================================
   TEXT / DESCRIPTION
================================ */
.fwpl-item p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

/* ================================
   EXPANDABLE TEXT FIX
================================ */
.expandable-text-module .text-content {
    font-size: 14px;
    line-height: 1.5;
}

.expandable-text-module {
    margin: 10px 0;
}

/* ================================
   BUTTONS
================================ */
.fwpl-item a.button {
    display: inline-block;
    padding: 8px 12px;
    margin-top: 6px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
}

.fwpl-item a.button:hover {
    background: #f5f5f5;
}

/* Push buttons to bottom */
.button-row {
   margin-top: auto !important; /* Keep this to stay at the bottom */
    display: flex !important;
    justify-content: space-between; /* This pushes them to the edges */
    align-items: center; /* Keeps them vertically aligned if one is taller */
    width: 100%; /* Ensures the row spans the full width of the card */
}

/* ================================
   MOBILE RESPONSIVENESS
================================ */
@media (max-width: 768px) {
    .button-row {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px; /* Space between the stacked buttons */
    }

    .button-row a.button {
        width: 100%; /* Make buttons span full width */
        text-align: center; /* Center the text inside the full-width button */
        box-sizing: border-box; /* Ensures padding doesn't break the 100% width */
        margin-top: 0; /* Reset margin since the row gap handles spacing */
    }
}

/*Show mobile Things filters button when filters column is hidden; hide on desktop*/

@media (min-width:1095px) {

   .things_mobile_filters_button {display:none;}

}

.facetwp-flyout-content h3 {font-family: 'Stolzl',stolzl,sans-serif;font-size:1.2em;}

/*Hide search and sort facet headings on mobile*/
/* Replace 'myfacetname' with the name of your facet */
.flyout-row.name-thing_sort_artist_name, .flyout-row.name-things_filter_search {
   display: none;
 }

 /*View buttons*/
.view-catalog,.view-catalog:hover,.view-catalog:focus, .view-manual,.view-manual:hover,.view-manual:focus {color:#de8f6e;}

p.lot_ul_heading {margin-bottom:5px;}

h4.facet-label {font-size:1.2rem;margin-bottom: 5px;}

 /*Expandable field in LoT facet listing*/
 /* Container */
.expandable-text-module {
  position: relative;
  margin-top: 1rem;
}

/* Animated content */
.expandable-text-module .text-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: 
    max-height 0.4s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}

.expandable-text-module.expanded .text-content {
  opacity: 1;
  transform: translateY(0);
}

/* Button */
.expandable-text-module .toggle-link {
  margin-bottom: 1rem;
  background: none;
  border: none;
  padding: 0;
  color: #de8f6e;
  font-weight: 600;
  cursor: pointer;
}

.expandable-text-module .toggle-link:hover {
  text-decoration: underline;
}