/* 
Theme Name:		 twentytwentyfour-child
Theme URI:       https://przyogniu.eu/
Description:	 twentytwentyfour-child is a child theme of twentytwentyfour
Author:			 Getid
Author URI:		 https://przyogniu.eu/
Template:		 twentytwentyfour
Version:		 1.0.0
Text Domain:	 twentytwentyfour-child
*/


/*
    Add your custom styles here
*/

/* posts list: hide category */
.taxonomy-category.wp-block-post-terms {
    display: none;
}

/* footer styling */
._td-footer-menu nav ul {
    display: flex;
    flex-direction: row;
}
._td-footer-social-insta a, ._td-footer-social-tiktok a, ._td-footer-social-mail a {
    position: relative;
    padding-left: 20px;
}
._td-footer-social-insta a:hover::after, ._td-footer-social-tiktok a:hover::after, ._td-footer-social-mail a:hover::after {
    transform: translateY(-50%) scale(1.2);
}
._td-footer-social-insta a::after, ._td-footer-social-tiktok a::after, ._td-footer-social-mail a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

._td-footer-social-insta a::after {
    background-image: url(/wp-content/themes/twentytwentyfour-child/assets/img/insta.svg);
}
._td-footer-social-tiktok a::after {
    background-image: url(/wp-content/themes/twentytwentyfour-child/assets/img/tiktok.svg);
}
._td-footer-social-mail a::after {
    background-image: url(/wp-content/themes/twentytwentyfour-child/assets/img/mail.svg);
}

/* gallery list styling */
.ngg-album .ngg-albumcontent {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}
.ngg-album .ngg-thumbnail {
    float: none;
}
.ngg-album .ngg-thumbnail a {
    display: block;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 1000px;
    overflow: hidden;
}
.ngg-album .ngg-thumbnail a:hover img {
    transform: scale(1.1);
}
.ngg-album .ngg-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease-in-out;
}
@media(min-width:600px) {
    .ngg-album .ngg-albumcontent {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto 1fr;
        grid-auto-rows: auto;
        align-items: start;
        align-content: start;
        justify-items: start;
    }
    .ngg-album .ngg-thumbnail {
        grid-row: 1/3;
        grid-column: 1/2;
    }
    .ngg-album .ngg-albumtitle {
        grid-row: 1/2;
        grid-column: 2/3;
    }
    .ngg-album .ngg-description {
        grid-row: 2/3;
        grid-column: 2/3;
    }
}