/* ================================
   One Shang Central - Office Page
================================ */

.osc-office-page,
.osc-office-page * {
    box-sizing: border-box;
}

.osc-office-page {
    overflow: hidden;
    background: #DBD5C9;
}

.osc-office-page img {
    display: block;
    max-width: 100%;
}

.osc-office-container,
.osc-office-specs__container,
.osc-office-floorplans__container,
.osc-office-extension__container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* HERO */

.osc-office-hero {
    min-height: 1139px;
    background: url("https://osc.whitedragontech.com/wp-content/themes/osc2026/assets/images/office/office-hero1.jpg") no-repeat center center / cover;
    position: relative;
    overflow: hidden;
}

.osc-office-hero .banner-con {
    position: relative;
    inset: 0;
    display: flex;
    top: 770px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.osc-office-hero h1 {
    color: #FFF;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 55px;
    font-style: normal;
    font-weight: 400;
    /* line-height: 42px; */
    max-width: 1000px;
    margin: 0 auto;
}

/* BLUR INTRO */

.osc-office-blur-intro {
    min-height: 600px;
    background:
        linear-gradient(rgba(35, 31, 32, 0.2), rgba(35, 31, 32, 0.2)),
        url("https://osc.whitedragontech.com/wp-content/themes/osc2026/assets/images/office/designed-excellence-bg.jpg") no-repeat center center / cover;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.osc-office-blur-intro__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.osc-office-blur-intro h1 {
    color: #fff;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 20px;
}

.osc-office-blur-intro h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background: rgba(255, 255, 255, 0.35);
    margin-top: 22px;
}

.osc-office-blur-intro span {
    display: block;
    color: #fff;
    font-family: "Gilroy-Medium", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* LIGHT MAIN */

.osc-office-light {
    background: #DBD5C9;
    padding: 80px 0 75px;
}

.osc-office-container {
    padding: 0 60px;
}

.osc-office-container::before,
.osc-office-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background: rgba(35, 31, 32, 0.35);
}

.osc-office-container::before {
    left: 40px;
}

.osc-office-container::after {
    right: 40px;
}

.osc-office-first-grid {
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 120px;
    align-items: start;
}

.osc-office-first-left {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    border-right: 0.5px solid rgba(35, 31, 32, 0.35);
}

.osc-office-first-left h2,
.osc-office-workspace-head h2,
.osc-office-extension h2 {
    color: #231F20;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 36px !important;
    font-weight: 400;
    line-height: 42px;
    margin: 0;
}

.osc-office-text-card {
    border-top: 0.5px solid rgba(35, 31, 32, 0.35);
    padding-top: 20px;
}

.osc-office-text-card h3,
.osc-office-spatial-text h3,
.osc-office-extension article h3 {
    color: #231F20;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    margin: 0 0 16px;
}

.osc-office-text-card p,
.osc-office-spatial-text p,
.osc-office-workspace-head p,
.osc-office-accordion__content p,
.osc-office-extension article p {
    color: #535A5E;
    font-family: "Gilroy-Regular", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    margin: 0;
}

.osc-office-first-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.osc-office-divider {
    height: 0.5px;
    background: rgba(35, 31, 32, 0.35);
    margin: 50px 20px;
}

.osc-office-wide-image {
    padding: 0 20px;
}

.osc-office-wide-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.osc-office-spatial-text {
    display: flex;
    justify-content: flex-end;
    padding: 45px 20px 0;
}

.osc-office-spatial-text>div {
    width: 53%;
    border-left: 0.5px solid rgba(35, 31, 32, 0.35);
    padding-left: 20px;
}

/* WORKSPACE */

.osc-office-workspace-head {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 80px;
    padding: 0 100px 60px;
}

.osc-office-workspace-grid {
    display: grid;
    grid-template-columns: 58% 1fr;
    gap: 90px;
    align-items: start;
}

.osc-office-workspace-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.osc-office-accordion {
    border-left: 0.5px solid rgba(35, 31, 32, 0.35);
    padding-left: 30px;
}

.osc-office-accordion__item {
    border-bottom: 0.5px solid rgba(35, 31, 32, 0.35);
}

.osc-office-accordion__trigger {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
}

.osc-office-accordion__trigger span:first-child {
    color: #231F20;
    font-family: "Gilroy-Regular", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
}

.osc-office-accordion__icon {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.osc-office-accordion__icon::before,
.osc-office-accordion__icon::after {
    content: "";
    position: absolute;
    background: #A98E6F;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.osc-office-accordion__icon::before {
    width: 10px;
    height: 1px;
}

.osc-office-accordion__icon::after {
    width: 1px;
    height: 10px;
}

.osc-office-accordion__item.active .osc-office-accordion__icon::after {
    display: none;
}

.osc-office-accordion__content {
    display: none;
    padding: 0 35px 22px 0;
}

.osc-office-accordion__item.active .osc-office-accordion__content {
    display: block;
}

/* ARRIVAL */

.osc-office-arrival {
    min-height: 800px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15)),
        url("https://osc.whitedragontech.com/wp-content/themes/osc2026/assets/images/office/the-arrival1.jpg") no-repeat center 100% / cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    padding: 90px 20px 0;
}

.osc-office-arrival__content {
    max-width: 600px;
}

.osc-office-arrival h2 {
    color: #fff;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 36px !important;
    font-weight: 400;
    line-height: 42px;
    margin: 0 0 20px;
}

.osc-office-arrival p {
    color: #fff;
    font-family: "Gilroy-Regular", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    margin: 0;
}

/* SPECS */

.osc-office-specs {
    background: #5A5148;
    padding: 80px 0 90px;
}

.osc-office-specs__container {
    padding: 0 60px;
}

.osc-office-specs__container::before,
.osc-office-specs__container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background: rgba(255, 255, 255, 0.35);
}

.osc-office-specs__container::before {
    left: 40px;
}

.osc-office-specs__container::after {
    right: 40px;
}

.osc-office-specs__image {
    padding: 0 20px;
}

.osc-office-specs__image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.osc-office-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 35px 20px 40px;
}

.osc-office-stats div {
    border-right: 0.5px solid rgba(255, 255, 255, 0.35);
    padding-left: 30px;
}

.osc-office-stats div:first-child {
    padding-left: 0;
}

.osc-office-stats div:last-child {
    border-right: 0;
}

.osc-office-stats strong {
    display: block;
    color: #fff;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
}

.osc-office-stats small {
    font-size: 16px;
}

.osc-office-stats span {
    color: rgba(255, 255, 255, 0.75);
    font-family: "Gilroy-Regular", sans-serif;
    font-size: 12px;
    line-height: 16px;
}

.osc-office-specs-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 20px;
}

.osc-office-specs-col>div {
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 20px;
    padding: 11px 0;
    border-top: 0.5px solid rgba(255, 255, 255, 0.25);
}

.osc-office-specs-col>div:last-child {
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.25);
}

.osc-office-specs-col span,
.osc-office-specs-col p {
    color: rgba(255, 255, 255, 0.75);
    font-family: "Gilroy-Regular", sans-serif;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
}

.osc-office-specs-col span {
    color: rgba(255, 255, 255, 0.45);
}

/* FLOOR PLANS */

.osc-office-floorplans {
    background: #ffffff;
    padding: 80px 0;
}

.osc-office-floorplans__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    padding: 0 140px;
}

.osc-office-floorplan-card span {
    display: block;
    color: #A98E6F;
    font-family: "Gilroy-Medium", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.osc-office-floorplan-card h3 {
    color: #231F20;
    font-family: "Gilroy-UltraLight", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    margin: 0 0 45px;
}

.osc-office-floorplan-card img {
    width: 100%;
    height: auto;
}

/* EXTENSION */

.osc-office-extension {
    background: #B8B1A8;
    padding: 80px 0 90px;
}

.osc-office-extension__container {
    padding: 0 135px;
}

.osc-office-extension h2 {
    margin-bottom: 45px;
}

.osc-office-extension__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.osc-office-extension article {
    border-right: 0.5px solid rgba(35, 31, 32, 0.3);
    padding-right: 22px;
}

.osc-office-extension article:last-child {
    border-right: 0;
}

.osc-office-extension article img {
    width: 287px;
    height: 350px;
    object-fit: cover;
    margin-bottom: 28px;
}

.osc-office-extension article h3 {
    margin-bottom: 14px;
}


.osc-office-extension .wm-wrap::after {
    right: 4px;
    bottom: 35px;
}

/* TABLET + MOBILE */
/* Changed from 1199px to 991px */
@media (max-width: 991px) {
    .osc-office-hero {
        min-height: 800px;
        background: url("https://osc.whitedragontech.com/wp-content/themes/osc2026/assets/images/office/office-hero1.jpg") no-repeat 80% center / cover;
    }

    .osc-office-hero .banner-con {
        top: 520px;
    }

    .osc-office-hero h1 {
        font-size: 45px;
    }

    .osc-office-container,
    .osc-office-specs__container {
        padding: 0 40px;
    }

    .osc-office-container::before,
    .osc-office-specs__container::before {
        left: 20px;
    }

    .osc-office-container::after,
    .osc-office-specs__container::after {
        right: 20px;
    }

    .osc-office-first-grid {
        gap: 60px;
    }

    .osc-office-workspace-head,
    .osc-office-workspace-grid {
        padding-left: 40px;
        padding-right: 40px;
        gap: 50px;
    }

    .osc-office-floorplans__container,
    .osc-office-extension__container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* MOBILE/TABLET LAYOUT */
/* Changed from 767px to 991px */
@media (max-width: 991px) {

    .osc-office-blur-intro {
        min-height: 360px;
        padding: 0 30px;
    }

    .osc-office-blur-intro h1 {
        font-size: 22px;
    }

    .osc-office-light {
        padding: 50px 0;
    }

    .osc-office-container,
    .osc-office-specs__container {
        padding: 0 30px;
    }

    .osc-office-container::before,
    .osc-office-specs__container::before {
        left: 15px;
    }

    .osc-office-container::after,
    .osc-office-specs__container::after {
        right: 15px;
    }

    .osc-office-first-grid,
    .osc-office-workspace-head,
    .osc-office-workspace-grid,
    .osc-office-specs-table,
    .osc-office-floorplans__container,
    .osc-office-extension__grid {
        grid-template-columns: 1fr;
    }

    .osc-office-first-grid {
        gap: 40px;
    }

    .osc-office-first-left {
        min-height: auto;
        gap: 220px;
        border-right: 0;
    }

    .osc-office-first-left h2,
    .osc-office-workspace-head h2,
    .osc-office-extension h2,
    .osc-office-arrival h2 {
        font-size: 28px !important;
        line-height: 34px;
    }

    /* .osc-office-first-image img,
    .osc-office-workspace-image img,
    .osc-office-wide-image img {
        height: auto;
    } */

    .osc-office-spatial-text {
        justify-content: flex-start;
    }

    .osc-office-spatial-text>div {
        width: 100%;
    }

    .osc-office-workspace-head,
    .osc-office-workspace-grid {
        padding: 0 20px 40px;
        gap: 35px;
    }

    .osc-office-accordion {
        border-right: 0;
        padding-right: 0;
    }

    .osc-office-arrival {
        background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15)), url(https://osc.whitedragontech.com/wp-content/themes/osc2026/assets/images/office/the-arrival1.jpg) no-repeat 75% center / cover;
        min-height: 750px;
    }

    .osc-office-specs {
        padding: 50px 0;
    }

    .osc-office-specs__image img {
        height: auto;
    }

    .osc-office-stats {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 35px 20px;
    }

    .osc-office-stats div {
        border-right: 0;
        padding-left: 0;
    }

    .osc-office-specs-table {
        gap: 30px;
    }

    .osc-office-specs-col>div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .osc-office-floorplans {
        padding: 50px 0;
    }

    .osc-office-floorplans__container {
        padding: 0 40px;
        gap: 60px;
    }

    .osc-office-extension {
        padding: 50px 0;
    }

    .osc-office-extension__container {
        padding: 0 40px;
    }

    .osc-office-extension__grid {
        gap: 45px;
    }

    .osc-office-extension article {
        border-right: 0;
        padding-right: 0;
    }

    .osc-office-extension article img {
        height: 750px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .osc-office-extension article img {
        height: auto;
    }

    .osc-office-accordion {
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 575px) {
    .osc-office-hero {
        min-height: 500px;
    }

    .osc-office-hero .banner-con {
        top: 220px;
    }

    .osc-office-hero h1 {
        font-size: 36px;
    }
}

.osc-office-floorplans .wm-wrap.artist-perspective::after {
    display: none !important;
}

@media (max-width: 490px) {
    .osc-office-extension h2 {
        max-width: 260px;
    }
}