/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Add your custom styles here */

/* Grid layout */
.project-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; 
}

/* Card */
.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.category-card a {
    text-decoration: none;
    display: block;
    height: 100%;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}


.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    background: #1A1A1A; 
}

.category-title h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
	font-family: "SF Pro Display";
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .project-categories-grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================================
   Project Filter Styles
   File: /wp-content/themes/YOUR-THEME/project-filter/style.css
   =========================================== */

.pf-wrapper {
    font-family: inherit;
    width: 100%;
}

/* ------------------------------------------
   Filter Groups
------------------------------------------ */
.pf-filters {
    display: flex;
    gap: 64px;
    padding-bottom: 40px;
    padding-top: 40px;
    border-bottom: 1px solid #E8E8E8;
    border-top: 1px solid #E8E8E8;
}

.pf-group {
    display: flex;
    flex-direction: column;
}

.pf-group-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 12px;
}

.pf-group-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ------------------------------------------
   Filter Buttons
------------------------------------------ */
.pf-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #111;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 2.16px;
    white-space: nowrap;
}

.pf-btn:hover {
    background: #222;
    color: #fff;
}

.pf-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ------------------------------------------
   Grid Header
------------------------------------------ */
.pf-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-top: 96px;
}

.pf-grid-count {
    font-size: 13px;
    color: #6B6B6B;
    font-family: "Open Sans";
    font-weight: 400;
    font-style: normal;
    line-height: 160%;
}

/* Sort dropdown */
.pf-sort select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 4px 24px 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    outline: none;
    font-family: "Open Sans";
}

.pf-sort select:hover {
    color: #555;
}

/* ------------------------------------------
   Projects Grid
------------------------------------------ */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
}

.pf-card {
    overflow: hidden;
    transition: opacity 0.25s ease;
    border: 1px solid #BDBDBD;
    background: #FFF;
}

.pf-card.hidden {
    display: none;
}

.pf-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image */
.pf-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #eee;
}

.pf-card-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 12px;
}

/* Card body */
.pf-card-body {
    padding: 14px 18px 18px 18px;
	display: flex;
    flex-direction: column;
    gap: 6px;
}

.pf-card-meta {
   	color: #6B6B6B;
	font-family: "SF Pro Display";
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: 160%;
	letter-spacing: 2.16px;
}

.pf-card-title {
    color: #111;
	font-family: "SF Pro Display 700";
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: 160%; /* 28.8px */
	letter-spacing: 0.36px;
	text-transform: uppercase;
}

.pf-card-value {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.pf-card-info{
	color: #6B6B6B;
	font-family: "Open Sans";
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 160%; /* 20.8px */
}

/* ------------------------------------------
   No Results
------------------------------------------ */
.pf-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
    display: none;
}

/* ------------------------------------------
   Load More
------------------------------------------ */
.pf-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
 	margin-bottom: 96px;
}

.pf-loadmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border: 2px solid #111;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1.12px;
}

.pf-loadmore-btn:hover {
    background: #111;
    color: #fff;
}

.pf-project-details {
	color: #EB7527;
	font-family: "SF Pro Display";
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	line-height: 160%; /* 20.8px */
	letter-spacing: 2.34px;
}

/* ------------------------------------------
   Responsive
------------------------------------------ */
@media (max-width: 900px) {
    .pf-filters {
		display: flex;
		flex-wrap: wrap;
		gap: 64px;
		padding-bottom: 40px;
		padding-top: 40px;
		border-bottom: 1px solid #E8E8E8;
		border-top: 1px solid #E8E8E8;
	}
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .pf-filters { gap: 20px; }
    .pf-grid { grid-template-columns: 1fr; }
    .pf-btn { font-size: 10px; padding: 5px 12px; }
}