/* ===================================================
   Project Header / Hero Section
   =================================================== */

/* Base Styles */
body {
    font-family: polymath-display, sans-serif;
}

.project-header {
    background-color: #FAFAFA;
    padding: 0;
    overflow: hidden;
}

/* Logo */
.project-header__logo {
    max-width: 560px;
    height: auto;
    margin-bottom: 12px;
}

/* Subtitle (color + font come from .dv-text-copy-lg) */
.project-header__subtitle {
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Text over media */
.project-header__text {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 2;
    text-align: left;
}

/* Media Wrapper */
.project-header__media-wrapper {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 96.27px);
}

/* Height adjustment for displays smaller than 993px */
@media (max-width: 992px) {
    .project-header__media-wrapper {
        height: calc(100vh - 85px);
    }
}

.project-header__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Desktop / Mobile video toggle */
.project-header__media--mobile {
    display: none;
}

@media (max-width: 767px) {
    .project-header__media--desktop {
        display: none;
    }

    .project-header__media--mobile {
        display: block;
    }
}

/* Overlay */
.project-header__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 52px;
}

/* CTA buttons - Desktop only bottom margin */
@media (min-width: 992px) {
    .project-header__overlay .dv-cta {
        margin-bottom: 35px;
    }
}

/* Address - Desktop CTA */
.project-header__address--desktop {
    color: #ffffff;
}

.project-header__address--desktop:hover {
    text-decoration: none;
    color: #ffffff;
}

.address-icon {
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.9;
}

/* Address - Mobile Text */
.project-header__address--mobile {
    color: #ffffff;
    font-size: 0.8rem;
    opacity: 0.9;
    text-align: center;
}

/* ===================================================
   Responsive - Tablet (768px - 991px)
   =================================================== */
@media (max-width: 991px) {
    .project-header__logo {
        max-width: 440px;
    }

    .project-header__overlay {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .project-header__overlay .dv-cta {
        order: 1;
        margin-bottom: 16px;
        width: 100%;
        justify-content: center;
    }

    .project-header__overlay .dv-cta .dv-cta__label {
        width: 100%;
        justify-content: center;
        padding: 12px 40px;
        font-size: 0.95rem;
    }

    .project-header__address--mobile {
        order: 2;
    }
}

/* ===================================================
   Responsive - Mobile (below 768px)
   =================================================== */
@media (max-width: 767px) {
    .project-header {
        padding: 0;
    }

    .project-header__logo {
        max-width: 260px;
    }

    .project-header__subtitle {
        font-size: 0.9rem;
    }
}
