/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://example.com/
 Description:  Дочірня тема для GeneratePress
 Author:       Ваше ім’я
 Author URI:   https://example.com/
 Template:     generatepress
 Version:      1.0
*/

/* Можна додати власні стилі нижче */
/* Сітка для архіву */
.archive .site-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Заголовок категорії */
.archive .site-main > header {
    grid-column: 1 / -1;
	text-align: center;
}

/* Картка поста */
.archive .site-main > article {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 480px; /* мінімальна висота для всіх карток */
    display: flex;
    flex-direction: column;
}

.archive .site-main > article:hover {
    box-shadow: 0 0px 10px 5px rgba(0,0,0,0.2);
}

/* Картинка */
.archive .site-main > article img {
    width: calc(100% - 20px);
    margin: 0 10px;
    border-radius: 10px;
    display: block;
    height: 300px;
    object-fit: cover;
}

/* Заголовок */
.archive .site-main > article .entry-title {
    text-align: center;
    font-size: 24px;
    margin: 15px;
}

/* Мета */
.archive .site-main > article .entry-meta {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin: 10px 0;
}

/* Уривок */
.archive .site-main > article .entry-content {
    padding: 20px 15px;
    text-align: justify;
    font-size: 15px;
    color: #555;
    flex-grow: 1;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .archive .site-main {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .archive .site-main {
        grid-template-columns: 1fr;
    }
}

.page-id-796 .entry-title {
    display: none;
}

.custom-footer-block {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0px 10px 0px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;	
    padding: 30px;
    margin: 20px auto;
    max-width: 1300px;
    text-align: center;
}

.custom-footer-block:hover {
    box-shadow: 0 0px 10px 5px rgba(0,0,0,0.2);
}	

.custom-footer-block .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.custom-footer-block .footer-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.custom-footer-block .footer-nav a:hover {
    color: #0073aa;
}

.custom-footer-block .footer-copyright {
    font-size: 14px;
    color: #777;
}