/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .community-hero {
        min-height: 100svh;

        align-items: flex-start;
    }

    .hero-copy {
        width: 65%;

        margin-left: 6%;
        margin-top: 145px;
    }

    .hero-copy h1 {
        font-size: clamp(58px, 8vw, 76px);
    }

    .hero-gallery {
        width: 45%;
    }

    .gallery-card-main {
        width: 190px;
        height: 145px;

        left: 2%;
    }

    .gallery-card-top {
        width: 105px;
        height: 110px;

        right: 8%;
    }

    .gallery-card-left {
        width: 100px;
        height: 105px;

        left: -8%;
    }

    .gallery-card-bottom {
        width: 95px;
        height: 100px;

        right: 5%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .community-hero {
        min-height: 100svh;

        display: block;

        padding-top: 120px;
    }


    .hero-copy {
        width: auto;

        margin: 0 24px;

        padding: 0;
    }


    .eyebrow {
        margin-bottom: 24px;

        font-size: 9px;
        letter-spacing: 0.11em;
    }


    .hero-copy h1 {
        font-size: clamp(52px, 16vw, 72px);

        line-height: 0.9;
    }


    .hero-description {
        width: 100%;

        margin-top: 25px;

        font-size: 14px;

        line-height: 1.5;
    }


    .hero-actions {
        margin-top: 22px;

        gap: 9px;
    }


    .btn {
        height: 43px;

        padding: 0 17px;

        font-size: 12px;
    }


    /* Gallery becomes lower visual layer */

    .hero-gallery {
        position: relative;

        width: 100%;
        height: 260px;

        margin-top: 30px;
    }


    .gallery-card-main {
        width: 180px;
        height: 135px;

        top: 30px;
        left: 27%;
    }


    .gallery-card-top {
        width: 90px;
        height: 95px;

        top: 0;
        right: 8%;
    }


    .gallery-card-left {
        width: 90px;
        height: 95px;

        top: 95px;
        left: 5%;
    }


    .gallery-card-bottom {
        width: 85px;
        height: 90px;

        top: 130px;
        right: 10%;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .community-hero {
        padding-top: 105px;
    }

    .hero-copy {
        margin: 0 20px;
    }

    .hero-copy h1 {
        font-size: 52px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .gallery-card-main {
        width: 155px;
        height: 120px;

        left: 29%;
    }
}