#photography,
#photography>article,
#photography>article:not(.hero)>section,
#photography>article>section>ul {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-gap: .25rem;
    color: var(--white);
    background-color: var(--blue_darkest);
}

#photography>article,
#photography>article>section,
#photography>article>section>ul {
    grid-column: 1 / 13;
}

#photography img {
    width: 100%;
    height: auto;
    cursor: pointer;
}


/* hero */

#photography .hero {  
    box-sizing: border-box;
    color: var(--black);
    grid-column: 1 / 13;
    display: grid;
    grid-template-columns: var(--grid-columns);
    grid-gap: var(--grid-gap);
    height: 44rem;
    padding-inline: var(--edge);
    background-image: url('../../images/photography/background_photo.jpg');
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
}

#photography .hero section {  
    grid-column: span 8;
    row-gap: var(--vertical_xxs);
    position: sticky;
    bottom: 0;
    align-self: end;
    padding-bottom: var(--vertical_m);
}

#photography .hero h1 {
    color: var(--blue_dark);
}

#photography .hero h1.h2_style {
    display: none;
}

#photography .hero p {
    max-width: 49rem;
}


/* Headline */

#photography .headline {
    grid-column: 1 / 13;
    box-sizing: border-box;
    width: 100%;
    column-gap: var(--horizontal_m);
    margin-top: var(--vertical_m);
    padding-inline: var(--edge);
    align-items: center;
}

#photography .headline::before,
#photography .headline::after{
    flex-grow: 1;
    height: var(--border);
    background-color: var(--white);
    content:"";
    width: 10rem;
}

    #photography input:not(:checked)+article .headline::before,
    #photography input:not(:checked)+article .headline::after{
        background-color: var(--grey_dark);
    }

#photography .headline h2 {
    display: flex;
    color: var(--grey_dark);
}

    #photography input:checked+article .headline h2 {
        color: var(--white);
    }

    #photography .headline h2:hover {
        color: var(--hover_white) !important;
    }

#photography .headline h2::after {
    background-image: url("../../images/icons/arrow/arrow-down_white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    align-self: center;
    width: var(--horizontal_s);
    aspect-ratio: 1/1;
    margin-left: var(--horizontal_s);
}

    #photography .headline h2:hover::after {
        background-image: url("../../images/icons/arrow/arrow-down_white_hover.png");
    }

    #photography input:not(:checked)+article>.headline h2::after {
        background-image: url("../../images/icons/arrow/arrow-up_grey_dark.png");
    }

    #photography input:not(:checked)+article>.headline h2:hover::after {
        background-image: url("../../images/icons/arrow/arrow-up_white_hover.png");
    }

#photography>input,
#photography>input:not(:checked)+article>section {
    display: none;
}


/* phototext */

#photography .phototext {  
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    grid-column: span 12;
    margin: 0 var(--edge);
    padding: var(--vertical_m) 0;
    justify-content: space-between;
}

#photography .phototext h3 {  
    width: var(--column5);  
}

#photography .phototext p {  
    line-height: 1.75rem;  
}
  
#photography .phototext section {  
    row-gap: var(--vertical_xxs);
    width: var(--column7); 
}


/* photos */

#photography .wide {  
    grid-column: span 6;
}

#photography .high {  
    grid-column: span 4;
}


/* Full Size */

#photography li>input,
#photography label>input {
    display: none;
}


#photography li>label {
    display: block;
    width: 100%;
}


#photography li>label>input:checked~img {
    z-index: 4;
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    background-color: var(--black);
    height: 100vh;
    width: 100vw;
    padding-top: var(--height_navigation);
    object-fit: contain;
}


#photography+#callaction {  
    background-image: initial;
}


/* passwordInput */

#photography #passwordInput {
    grid-column: span 12;
    justify-content: center;
    margin-bottom: var(--vertical_xl);
}

#photography #passwordInput form {
    flex-direction: column;
    align-items: center;
    row-gap: var(--vertical_xxs);
}

#photography #passwordInput form input {
    color: var(--black);
}

#photography #downloadButton {

    grid-column: span 12;
    justify-content: center;
    margin: var(--vertical_s) 0 var(--vertical_l) 0;
}



/* media */

@media only screen and (max-width: 1024px) {
    
    #photography .hero {  
        height: 34rem;
    }
}

@media only screen and (max-width: 979px) and (min-width: 768px) {
    
    #photography .hero {  
        background-position: calc(100% + 30px) bottom;
    }
}

@media only screen and (max-width: 768px) {
    
    #photography .hero {  
        background-image: url('../../images/photography/small/background_photo_768.jpg');
    }
}

@media only screen and (max-width: 767px) and (min-width: 641px) {
    
    #photography .hero {  
        height: 27rem;
    }
    
    #photography .hero section {  
        padding-bottom: var(--vertical_xs);
    }
}

@media only screen and (max-width: 640px) {
    
    #photography .hero {  
        background-image: none;
        
        height: fit-content;
        margin-top: var(--height_navigation);

    }
    
    #photography .hero section {  
        grid-column: 1 / 13;
        padding-block: var(--vertical_l) 0;
    }

    #photography .hero h1.h2_style {
        display: block;
    }

    #photography .hero h1:not(.h2_style) {
        display: none;
    }
    
    #photography .hero p,
    #photography .hero h1 {
        color: var(--white);
    }

    #photography .headline {
        margin-top: var(--vertical_m);
    }

    #photography article:not(.hero) ul {
        margin-top: var(--vertical_xxs);
    }

    #photography .phototext {
        order: 2;
        flex-direction: column;
        padding-block: var(--vertical_s) 0;
        row-gap: var(--vertical_xxs);
    }

    #photography .phototext > * {
        width: var(--column12) !important;
    }

    #photography #callaction {
        padding-top: var(--vertical_l);
    }

}

@media only screen and (min-width: 1537px) {
    
    #photography .hero {  
        height: 50rem;
        background-position: right calc(100% + 70px);
    }

    #photography .hero section {
        padding-bottom: var(--vertical_l);
    }

    #photography > article > section > ul {
        margin-inline: calc(var(--edge)/2);
    }
}

@media only screen and (min-width: 1920px) {
    
    #photography .hero {  
        height: 55rem;
    }
}