/*!
Theme Name: Hello Elementor Child Theme
Theme URI: https://elementor.com/hello-theme/
Description: A plain-vanilla & lightweight theme for Elementor page builder
Author: Lindell G.
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.1.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor
*/

.no-header .header-1{
	display: none;
}

.single-business .header-1{
	
}

/*************************** POST GRID MODE ***************************/
/*
========================================
GRID MODE
========================================
*/
.display-posts-listing.grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
	align-items: stretch;
}

@media (min-width: 600px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*
========================================
CARD STYLE
========================================
*/
.display-posts-listing.grid .listing-item {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	overflow: hidden;

	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;

	display: flex;
	flex-direction: column;
	height: 100%;
	cursor: pointer;
}

.display-posts-listing.grid .listing-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/*
========================================
IMAGE (KEEP SIMPLE — THIS IS THE WINNER)
========================================
*/
.display-posts-listing.grid a.image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/*
========================================
TITLE
========================================
*/
.display-posts-listing.grid a.title {
	display: block;
	padding: 14px 16px 6px;
	font-size: 16px;
	font-weight: 600;
	color: #111;
	text-decoration: none;
}

.display-posts-listing.grid a.title:hover {
	text-decoration: underline;
}

/*
========================================
BUTTONS
========================================
*/
.display-posts-listing.grid .business-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;

	padding: 12px 16px 16px;
	margin-top: auto;

	border-top: 1px solid #f1f1f1;
	background: #fafafa;
}

.display-posts-listing.grid .business-buttons a {
	background: #0079E8;
	color: #fff;
	padding: 8px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;

	display: inline-flex;
	align-items: center;
	gap: 6px;

	transition: all 0.2s ease;
}

.display-posts-listing.grid .business-buttons a:hover {
	background: #0066c7;
	transform: translateY(-2px);
}

/*
========================================
LIST MODE
========================================
*/
.business-list {
	list-style: disc;
	padding-left: 20px;
	margin: 0;
}

.business-list-item {
	margin-bottom: 8px;
	font-size: 16px;
}

.business-list-item a {
	text-decoration: none;
	color: #111;
}

.business-list-item a:hover {
	text-decoration: underline;
}

/* featured ribbon */
.listing-item {
    position: relative;
    overflow: hidden;
}

.featured-ribbon {
    position: absolute;
    top: 14px;
    right: -42px;

    width: 160px;

    background: #FF0000;
    color: #ffffff;

    text-align: center;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    padding: 8px 0;

    transform: rotate(45deg);

    z-index: 20;

    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}


/*************************** END of POST GRID MODE ***************************/

/*************************** ACF SHORT CODES ***************************/

.acf-field-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.acf-field-label {
    flex-shrink: 0;
    font-weight: bold;
}

.acf-field-value {
    flex: 1;
}