@charset "UTF-8";

/* MEDIA QUERIES */

@media screen and (min-width: 420px) {
    main.home div.intro figure.profile {
        float: left;
        margin-right: 16px;
        width: auto;
    }
    
    main.home div.intro figure.profile img {
        float: left;
        width: 40vw;
        max-width: 240px;
    }
}

@media screen and (min-width: 460px) {
    /* figue hero */
    figure.hero figcaption {
        font-size: 14px;
    }
    
    /* inset image & caption */
    img.inset {
        float: left;
        margin: 16px 40px 16px 0;
        width: 50%;
    }
    
    img.inset.shape {
        shape-margin: 40px;
    }

    img.inset.right {
        float: right;
        margin-left: 40px;
        margin-right: 0;
    }
    
    img.inset + span.caption {
        float: left;
        clear: left;
        margin: 0 40px 1em 0;
        width: 50%;
        text-align: center;
    }

    img.inset.right + span.caption {
        float: right;
        clear: right;
        margin: 0 0 1em 40px;
    }

    img.inset.maxw15,
    img.inset.maxw15 + span.caption {
        width: 15%;
    }
    
    img.inset.maxw20,
    img.inset.maxw20 + span.caption {
        width: 20%;
    }
    
    img.inset.maxw25,
    img.inset.maxw25 + span.caption {
        width: 25%;
    }
    
    img.inset.maxw30,
    img.inset.maxw30 + span.caption {
        width: 30%;
    }

    img.inset.maxw35,
    img.inset.maxw35 + span.caption {
        width: 35%;
    }

    img.inset.maxw40,
    img.inset.maxw40 + span.caption {
        width: 40%;
    }
    
    img.inset.maxw45,
    img.inset.maxw45 + span.caption {
        width: 45%;
    }
    
    img.inset.maxw50,
    img.inset.maxw50 + span.caption {
        width: 50%;
    }
    
    img.inset.maxw60,
    img.inset.maxw60 + span.caption {
        width: 60%;
    }
    
    span.caption {
        font-size: 14px;
    }
        
    /* zoomable buttons */
    p.zoomable span.acf-nav-button.right.zoomable {
        top: 0;
        right: 0;
        bottom: auto;
        left: auto;
    }

    div.tile img.pic1 {
        width: 56%;
        transform: rotate(5deg) scale(1.15);
    }

    div.tile.t2 img.pic1 {
        transform: rotate(-5deg) scale(1.2);
    }

    div.tile img.pic2 {
        display: block;
        width: 56%;
        right: -36px;
        transform: rotate(-5deg) scale(1.2);
        box-shadow: -2px 0px 10px 4px rgb(0 0 0 / 40%);
    }
    
    div.tile img.pic3 {
        display: block;
        width: 76%;
        right: -24px;
        transform: rotate(5deg) scale(1.2);
        box-shadow: -2px 0px 10px 4px rgb(0 0 0 / 40%);
        object-fit: contain;
        top: 54%;
        object-position: top;
    }
    
    div.tile.t3 img.pic1 {
        right: 0;
    }
    
    div.tile.t3 img.pic2 {
        top: 22px;
        
        height: 50%;
        left: -26%;
        top: 4%;
        width: auto;
        z-index: 9;
    }
    
    div.tile.t3 img.pic3 {
        top: 65%;
        width: 90%;
        right: 10%;
    }
    
    div.tile.t4 img.pic1 {
        transform: rotate(-5deg) scale(1.2);
        left: -40px;
    }
    
    div.tile.t4 img.pic2 {
        transform: rotate(-5deg) scale(1.2);
        object-position: 70% center;
    }

    div.tile.t5 img.pic1 {
        left: -40px;
    }
    
    div.tile.t6 img.pic1 {
        left: 40px;
        width: auto;
    }
    
    div.tile.t6 img.pic2 {
        transform: rotate(0deg) scale(1.2);
    }
}


@media screen and (min-width: 600px) {
    article.image {
        flex-direction: row;
        gap: 40px;
    }

    article.image > div:first-child {
        display: inherit;
        min-width: 30%;
        max-width: 30%;
    }

    article.image h3 {
        margin-top: 0;
    }

    .video-container {
        padding-bottom: 26.25%;
    }
    
    div.include-transcription {
        flex-direction: column;
    }
    
    article.image.audio div:first-child {
        flex-direction: column;
        gap: 8px;
    }

    audio {
        margin-top: 0px;
    }
}

@media screen and (min-width: 680px) {
    div.main-container div.cols-2,
    div.main-container main.acf footer {
        column-count: 2;
        column-gap: 30px;
    }
    
    div.tiles header {
        min-height: 40px;
        font-size: 28px;
        line-height: 40px
    }
    
    .no-touch div.tiles a:hover header {
        min-height: 64px;
    }
    
    div.tile.t3 img.pic1 {
        right: auto;
    }
    
    div.tile.t3 img.pic2 {
        top: auto;
        height: auto;
        left: auto;
        width: 56%;
        z-index: 15;
    }
    
    div.tile.t3 img.pic3 {
        top: 54%;
        width: 100%;
        right: 24px;
        object-position: 0 -50px;
    }
    
    div.include-transcription {
        flex-direction: column;
        gap: 8px;
    }
    
    div.include-transcription div.system-button.view-transcription {
        margin-top: 0px;
    }
}

@media screen and (min-width: 768px) {
    main.home div.tiles {
        flex-direction: row;
        flex-wrap: wrap;
    }

    main.home div.tiles > div {
        height: calc(200vh/4);
        min-width: 40vw;
    }

    div.tile.t3 img.pic1 {
        width: 100%
    }
    
    div.tile.t3 img.pic2 {
        display: none;
    }
    
    div.tile.t3 img.pic3 {
        top: 58%;
        width: 120%;
        object-position: top;
    }
}

@media screen and (min-width: 1024px) {
    main.home div.tiles {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    
    main.home div.tiles > div {
        height: calc(170vh/4);
        min-width: auto;
    }

    div.tile.t1 img.pic1 {
        left: -70px;
    }

    div.tile.t2 img.pic1 {
        object-position: -20px;
    }

    div.tile.t2 img.pic2 {
        z-index: 9;
    }

    div.tile.t3 img.pic1 {
        width: 56%;
        left: -70px;
    }

    div.tile.t3 img.pic2 {
        display: block;
        object-fit: cover;
        top: 30px;
        height: 80%;
        transform: rotate(-4deg) scale(1.3);
        object-position: -24px;
    }
    
    div.tile.t3 img.pic3 {
        display: none;
    }

    div.tile.t4 img.pic1 {
        object-position: -40px -200px;
    }

}
