/* A phone turned sideways must not enlarge the text on its own. */
html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}

/* TABLET */


@media screen and (max-width:1024px){

    .hero{
        height:500px;
    }

    /* .property-grid had grid-template-columns:repeat(2,1fr) here.
       The grid is a wrapping flex row now (properties.css) — cards
       reflow on their own flex basis, so no column override is needed. */

}

@media screen and (max-width:768px){

    .hero{
        height:350px;
    }

    .logo img{
        width:90px;
    }

    /* .property-grid had grid-template-columns:1fr here; see the
       ≤1024 note above — the flex grid settles on one card per line
       below ~732px on its own. */

    /* Symmetric 48px top/bottom — one shared vertical rhythm with the
       Highlights panel below (its ≤768 margin-bottom in
       best-units.css is the same 48px). */
    .properties-section{
        padding:48px 18px;
    }

    .properties-label{
        font-size:2.1rem;
    }

    .properties-label::after{
        width:60px;
        margin-top:14px;
    }

    /* Scroll offsets for the nav targets now live in one place
       (--nav-offset in components/Navbar/navbar.css) and apply at every
       width, since the pill stays pinned on mobile too. */

    /* .property-info is a grid now, so stack it with grid-template-columns
       (the old flex-direction override no longer applied to anything) */
    .property-info{
        grid-template-columns:1fr;
        gap:14px;
    }

    .right-side{
        width:100%;
        text-align:left;
    }

    .available{
        margin-top:0;
    }

}

@media screen and (max-width:480px){

    .hero{
        height:280px;
    }

    .logo img{
        width:70px;
    }

    /* The cover is sized by its wrapper now, so grow the wrapper
       instead of pinning the <img> height */
    .card-image{
        height:220px;
    }

    .card-content h3{
        font-size:20px;
    }

}

