/* ========== NEW STYLES FOR LEFT TITLE/LOCATION + RIGHT VIEW MORE BUTTON ========== */
.portfolio-content-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    background: #fff;
    border-radius: 0 0 12px 12px;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-info-left {
    flex: 2;
    min-width: 140px;
}

.project-info-left h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.project-info-left h4 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.project-info-left h4 a:hover {
    color: #7f021a;
}

.project-location-text {
    font-size: 0.8rem;
    color: #5b6e8c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-location-text::before {
    content: "📍";
    font-size: 0.75rem;
}

.butn-style1 sm text-white {
    background: #7f021a;
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(127,2,26,0.2);
}

.butn-style1 sm text-white:hover {
    background: #5e0113;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127,2,26,0.3);
}

/* Override old portfolio-content style to use new horizontal layout */
.portfolio-style-01 .portfolio-content {
    display: none !important;
}

.portfolio-style-01 {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
    background: white;
    height: 100%;
}

.portfolio-style-01:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.image-card {
    margin-bottom: 1.5rem;
}

/* Grid layout - 3 columns */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}

@media (min-width: 992px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-content-horizontal {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .butn-style1 sm text-white {
        align-self: flex-start;
        white-space: normal;
        width: auto;
    }
}

/* Upcoming cards also have left/right layout */
.upcoming-compact-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.2s;
    border: 1px solid #f0e2df;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.upcoming-info .project-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.upcoming-info .project-location {
    font-size: 0.95rem;
    color: #7f8c8d;
    align-items: center;
    gap: 4px;
}

.upcoming-info .project-location::before {
    content: "📍";
}

.upcoming-info .project-year {
    font-size: 0.7rem;
    color: #7f021a;
    margin-top: 6px;
    font-weight: 500;
}

.upcoming-view-btn {
    background: #7f021a10;
    border: 1px solid #7f021a30;
    color: #7f021a;
    padding: 7px 20px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.upcoming-view-btn:hover {
    background: #7f021a;
    color: white;
    border-color: #7f021a;
}

.mini-divider {
    display: none;
}

/* Filter hide/show classes */
.hide-upcoming {
    display: none !important;
}

.hide-grid {
    display: none !important;
}

.hide-card {
    display: none !important;
}

.filtering span {
    cursor: pointer;
    transition: all 0.2s;
}

.filtering span.active {
    background: #7f021a;
    color: white;
    border-color: #7f021a;
}

/* Responsive fine-tune */
@media (max-width: 550px) {
    .portfolio-content-horizontal {
        padding: 1rem;
    }
    .butn-style1 sm text-white {
        padding: 6px 16px;
        font-size: 0.7rem;
    }
    .project-info-left h4 {
        font-size: 1rem;
    }
}
