.entry__content>.pgi-office-locations.alignfull {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.pgi-office-locations {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--pgi-black);
    background-image: var(--pgi-office-bg-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--pgi-white);
    font-family: "Involve", system-ui, sans-serif;
}

.pgi-office-card {
    color: var(--pgi-white);
    font-family: "Involve", system-ui, sans-serif;
}

.pgi-office-locations::before,
.pgi-office-locations::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pgi-office-locations::before {
    z-index: 1;
    background: var(--pgi-office-overlay-color, rgba(0, 0, 0, 0.7));
}

.pgi-office-locations::after {
    z-index: 1;
    background: linear-gradient(180deg, rgba(34, 26, 20, 0.6) 0%, rgba(0, 0, 0, 0) 50%, rgba(34, 26, 20, 0.6) 100%);
}

.pgi-office-locations__background-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.pgi-office-locations__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 915px);
    align-items: center;
    gap: 64px;
    width: min(100% - 40px, var(--pgi-container));
    max-width: none;
    min-height: 840px;
    margin: 0 auto;
}

.pgi-office-locations__map {
    position: relative;
    min-height: 780px;
    height: 100%;
}

.pgi-office-locations__map img {
    position: absolute;
    top: 0px;
    right: 0;
    display: block;
    width: min(1300px, 72vw);
    max-width: none;
    height: 100%;
}

.pgi-office-locations__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

.pgi-office-locations__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding-top: 206px;
}

.pgi-office-locations__icon {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    min-height: 45px;
    color: rgba(255, 254, 250, 0.6);
}

.pgi-office-locations__icon img,
.pgi-office-locations__icon svg {
    display: block;
    width: 24px;
    height: auto;
}

.pgi-office-locations__header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.pgi-office-locations__title {
    margin: 0;
    color: var(--pgi-office-title-color, var(--pgi-white));
    font-size: var(--pgi-office-title-size, 40px);
    font-weight: 600;
    line-height: 1.1;
}

.pgi-office-locations__subtitle {
    margin: 0;
    color: var(--pgi-office-subtitle-color, var(--pgi-white));
    font-size: var(--pgi-office-subtitle-size, 16px);
    font-weight: 500;
    line-height: 1.3;
}

.pgi-office-locations__cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    padding-bottom: 222px;
}

.pgi-office-locations__cards>.block-editor-inner-blocks,
.pgi-office-locations__cards>.block-editor-inner-blocks>.block-editor-block-list__layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.pgi-office-locations__cards .wp-block-acf-pgi-office-card {
    width: 100%;
}

.pgi-office-locations__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    width: 100%;
    min-height: 229px;
    padding: 10px 20px 10px;
    border-radius: var(--pgi-office-card-radius, 20px);
    background: var(--pgi-office-card-bg, rgba(255, 254, 250, 0.2));
    backdrop-filter: blur(8px);
}

.pgi-office-locations__card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    width: 365px;
}

.pgi-office-locations__card-title {
    margin: 0;
    color: var(--pgi-office-card-title-color, var(--pgi-white));
    font-size: var(--pgi-office-card-title-size, 32px);
    font-weight: 600;
    line-height: 1.3;
}

.pgi-office-locations__card-title a {
    color: inherit;
    text-decoration: none;
}

.pgi-office-locations__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.pgi-office-locations__detail {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    margin: 0;
    color: var(--pgi-white);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.pgi-office-locations__detail span,
.pgi-office-locations__detail a {
    min-width: 0;
}

.pgi-office-locations__detail--address {
    gap: 7px;
    color: var(--pgi-office-card-address-color, var(--pgi-white));
    font-size: var(--pgi-office-card-address-size, 16px);
}

.pgi-office-locations__detail--hours {
    color: var(--pgi-office-card-hours-color, rgba(255, 254, 250, 0.6));
    font-size: var(--pgi-office-card-hours-size, 16px);
    font-weight: 500;
    line-height: 1.3;
}

.pgi-office-locations__detail--phone {
    color: var(--pgi-office-card-phone-color, var(--pgi-white));
    font-size: var(--pgi-office-card-phone-size, 16px);
}

.pgi-office-locations__detail a {
    color: inherit;
    text-decoration: none;
}

.pgi-office-locations__copy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: currentColor;
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease;
}

.pgi-office-locations__copy-icon:hover,
.pgi-office-locations__copy-icon:focus-visible,
.pgi-office-locations__copy-icon.is-copied {
    opacity: 1;
}

.pgi-office-locations__copy-icon.is-copied {
    transform: scale(0.9);
}

.pgi-office-locations__copy-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.pgi-office-locations__actions {
    display: flex;
    padding-top: 10px;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pgi-office-locations__action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 22px;
    padding-bottom: 6px;
    color: var(--pgi-office-card-links-color, var(--pgi-white));
    font-size: var(--pgi-office-card-links-size, 16px);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.pgi-office-locations__action::before,
.pgi-office-locations__action::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: currentColor;
}

.pgi-office-locations__action::before {
    opacity: 0;
}

.pgi-office-locations__action::after {
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 350ms ease-in-out;
}

.pgi-office-locations__action:hover,
.pgi-office-locations__action:focus-visible {
    color: var(--pgi-office-card-links-color, var(--pgi-white));
    text-decoration: none;
}

.pgi-office-locations__action:hover::after,
.pgi-office-locations__action:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.pgi-office-locations__action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: currentColor;
}

.pgi-office-locations__action-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.pgi-office-locations__card-image {
    /* flex: 0 0 320px; */
    display: block;
    width: 374px;
    height: 169px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 254, 250, 0.12);
}

.pgi-office-locations__card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1280px) {
    .pgi-office-locations__inner {
        grid-template-columns: minmax(0, 1fr) minmax(480px, 700px);
        gap: 40px;
    }

    .pgi-office-locations__map img {
        width: min(1180px, 78vw);
    }
}

@media (max-width: 1024px) {
    .pgi-office-locations {
        min-height: 0;
        padding: 0;
        padding-bottom: 30px;
    }

    .pgi-office-locations__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
        width: 100%;
        min-height: 0;
    }

    .pgi-office-locations__map {
        order: 0;
        min-height: 0;
    }

    .pgi-office-locations__map img {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        max-width: none;
        height: auto;
        transform: none;
    }

    .pgi-office-locations__header {
        padding-top: 0px;
    }

    .pgi-office-locations__cards {
        padding-bottom: 0px;
    }

    .pgi-office-locations__content {
        order: 1;
        width: min(100% - 40px, 800px);
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pgi-office-locations {
        padding: 30px 0 57px;
    }

    .pgi-office-locations__inner {
        gap: 0px;
    }

    .pgi-minh-1080 .pgi-office-locations__inner {
        min-height: 0px;
    }

    .pgi-office-locations__map {
        margin: -30px 0 0;
        max-height: 275px;
    }

    .pgi-office-locations__map img {
        min-width: 400px;
        transform: translateX(-50%);
        left: 50%;
        max-height: 275px;
    }

    .pgi-office-locations__content {
        width: calc(100% - 20px);
        gap: 30px;
    }

    .pgi-office-locations__header {
        gap: 14px;
        padding: 0px;
    }

    .pgi-office-locations__icon,
    .pgi-office-locations__icon img,
    .pgi-office-locations__icon svg {
        flex-basis: 14px;
        width: 14px;
        height: 14px;
    }

    .pgi-office-locations__title {
        font-size: min(var(--pgi-office-title-size, 24px), 24px);
    }

    .pgi-office-locations__subtitle {
        font-size: min(var(--pgi-office-subtitle-size, 14px), 14px);
    }

    .pgi-office-locations__subtitle br {
        display: none;
    }

    .pgi-office-locations__card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        min-height: 0;
        padding: 23px 20px 14px;
    }
	
	.pgi-cta-showroom .pgi-office-locations__card {
        padding: 23px 20px 23px;
	}

    .pgi-office-locations__card-image {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .pgi-office-locations__card-title {
        font-size: min(var(--pgi-office-card-title-size, 18px), 18px);
        line-height: 1.3;
    }

    .pgi-office-locations__card-content {
        width: 100%;
        gap: 9px;
        padding-top: 9px;
    }
	
	.page-id-932 .pgi-office-locations__card-content,
	.pgi-office-locations__inner .pgi-office-locations__card-content	{
        padding-top: 23px;
    }
	
	.pgi-cta-showroom .pgi-office-locations__card-content {
		padding-top: 23px;
	}

    .pgi-office-locations__details {
        gap: 9px;
    }

    .pgi-office-locations__detail {
        gap: 10px;
        line-height: 1.25;
        font-size: min(var(--pgi-office-card-address-size, 14px), 14px);
    }

    .pgi-office-locations__detail--address span {
        overflow-wrap: anywhere;
    }

    .pgi-office-locations__actions {
        gap: 20px;
        padding-top: 5px;
        padding-bottom: 8px;
    }

    .pgi-office-locations__action {
        font-size: var(--pgi-office-card-links-size, 16px);
    }

    .pgi-mobile-map {
        margin-top: 11px;
    }
	
	.pgi-office-locations__card-image img {
		aspect-ratio: 16/9;
	}
}

@media (min-width: 769px) and (max-width: 1499px) {
    .pgi-office-locations {
        gap: 38.4px;
    }

    .pgi-office-locations__inner {
        min-height: 544px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .pgi-office-locations__cards {
        padding-bottom: 50px;
    }

    .pgi-office-locations__header {
        padding-top: 50px;
    }

    .pgi-office-locations__content {
        gap: 19.2px;
    }

    .pgi-office-locations__title {
        font-size: min(var(--pgi-office-title-size, 32px), clamp(25.6px, 2.04vw, 32px));
    }

    .pgi-office-locations__subtitle {
        max-width: 544px;
    }

    .pgi-office-locations__card {
        min-height: 160px;
        padding: 17.6px 19.2px 14px;
    }

    .pgi-office-locations__card-content {
        width: 256px;
    }

    .pgi-office-locations__card-title {
        font-size: min(var(--pgi-office-card-title-size, 25.6px), clamp(19.2px, 1.64vw, 25.6px));
    }

    .pgi-office-locations__card-image {
        width: 256px;
        height: 112px;
    }
}

/* PGI middle-desktop client font-size normalization */
@media (min-width: 769px) and (max-width: 1499px) {
    .pgi-office-locations__title {
        font-size: min(var(--pgi-office-title-size, 24px), 24px);
    }

    .pgi-office-locations__subtitle {
        font-size: min(var(--pgi-office-subtitle-size, 14px), 14px);
    }

    .pgi-office-locations__card-title {
        font-size: min(var(--pgi-office-card-title-size, 18px), 18px);
    }

    .pgi-office-locations__detail,
    .pgi-office-locations__detail--address,
    .pgi-office-locations__detail--hours,
    .pgi-office-locations__detail--phone {
        font-size: 13px;
    }

    .pgi-office-locations__action {
        font-size: min(var(--pgi-office-card-links-size, 15px), 15px);
    }
}

