/* =========================================================
   Projects by Location
   ========================================================= */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pbl-page {
    background: var(--cream-bg-soft);
}

.pbl-page main {
    padding-top: 0;
}

.pbl-hero {
    position: relative;
    min-height: clamp(380px, 52vh, 560px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
}

.pbl-hero__media {
    position: absolute;
    inset: 0;
}

.pbl-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.pbl-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0.55) 45%, rgba(17, 17, 17, 0.88) 100%),
        radial-gradient(ellipse at 20% 20%, rgba(27, 228, 235, 0.22), transparent 55%);
}

.pbl-hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: calc(var(--nav-height) + 72px) 0 56px;
}

.pbl-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.pbl-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.pbl-breadcrumb a:hover,
.pbl-breadcrumb a:focus-visible {
    color: var(--cyan-primary);
}

.pbl-hero__title {
    margin: 0 0 14px;
    font-family: var(--font-primary, "Manrope", sans-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.08;
}

.pbl-hero__subtitle {
    margin: 0;
    max-width: 560px;
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.pbl-toolbar {
    position: sticky;
    top: var(--nav-height);
    z-index: 30;
    background: rgba(252, 249, 242, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cream-border);
}

.pbl-toolbar__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

.pbl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pbl-chip {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--cream-border);
    background: #fff;
    color: var(--text-dark);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pbl-chip:hover,
.pbl-chip:focus-visible {
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--text-dark);
}

.pbl-chip.is-active {
    background: var(--blue-gradient);
    border-color: transparent;
    color: #111;
    box-shadow: 0 4px 14px rgba(8, 127, 175, 0.25);
}

.pbl-sections {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 80px;
    display: grid;
    gap: 64px;
}

.pbl-location {
    scroll-margin-top: calc(var(--nav-height) + 84px);
}

.pbl-location__header {
    margin-bottom: 28px;
    max-width: 560px;
}

.pbl-location__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-primary);
}

.pbl-location__eyebrow strong,
.pbl-location__eyebrow span {
    color: var(--gold-deep, #B8860B);
}

.pbl-location__title {
    margin: 0 0 10px;
    font-family: var(--font-primary, "Manrope", sans-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--text-dark);
}

.pbl-location__desc {
    margin: 0;
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

.pbl-location__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pbl-location__more-wrap {
    margin-top: 24px;
}

.pbl-location__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--blue-deep);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.pbl-location__more:hover,
.pbl-location__more:focus-visible {
    color: var(--gold-deep, #B8860B);
}

.pbl-empty {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 80px;
    padding: 36px;
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    background: #fff;
    border: 1px solid var(--cream-border);
    border-radius: 16px;
}

.pbl-empty[hidden] {
    display: none !important;
}

/* Footer reused from project details naming */
.pd-site-footer {
    background: #111;
    color: rgba(255, 255, 255, 0.75);
    padding: 28px 0;
}

.pd-site-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.pd-site-footer__brand {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
}

.pd-site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.pd-site-footer__nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
}

.pd-site-footer__nav a:hover {
    color: var(--blue-primary);
}

.pd-site-footer__copy {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    width: 100%;
}

@media (max-width: 1023px) {
    .pbl-location__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pbl-hero__content,
    .pbl-toolbar__inner,
    .pbl-sections {
        width: min(100% - 32px, 1180px);
    }

    .pbl-location__grid {
        grid-template-columns: 1fr;
    }

    .pbl-toolbar__inner {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Project card image-overlay price/enquiry text — Pure White (#FFFFFF) */
.project-card__price,
.project-card__media .project-card__price {
    color: #FFFFFF !important;
}

.project-card__price span,
.project-card__price .project-price-val,
.project-card__price .project-price-unit,
.project-card__media .project-card__price span,
.project-card__media .project-card__price .project-price-val,
.project-card__media .project-card__price .project-price-unit {
    color: #FFFFFF !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

