/*
Theme Name: Promgrafica-theme
Description: Тема для сайта Promgrafica.
Template: minimalio
Version: 1.0.1
Author: Chromov52
Author URI: https://t.me/chromov52
Text Domain: minimalio-child
*/

.content-area {
    padding-top: 0;
}

/* Эффект scale при наведении на изображение в карточке поста */
.post-card__image {
    overflow: hidden;
}

.wp-block-gallery .wp-block-image img,
.post-card__image img {
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
    transform: scale(1);
}

.post-card__image img {
    filter: grayscale(100%);
}

.wp-block-gallery .wp-block-image {
    overflow: hidden;
}

.wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.2);
}

.post-card:hover .post-card__image img {
    transform: translateX(-50%) scale(1.2);
    filter: grayscale(0);
}

.post-card .post-card__body {
    padding: 5px 15px 15px 15px;
}

.post-card .post-card__heading {
    font-weight: 400;
    font-size: 1.2rem;
    text-align: center;
}

.pswp__bg {
    background: #111111;
}

.entry-content {
    font-size: 1.5rem;
    line-height: 1.6;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.25;
}

.entry-content h1 {
    font-size: 2.4rem;
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.8rem;
}

.entry-content h4 {
    font-size: 1.6rem;
}

.entry-content h5 {
    font-size: 1.4rem;
}

.entry-content h6 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-content p {
    margin: 0 0 1.2em;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.2em 1.5em;
    padding: 0;
}

.entry-content li {
    margin-bottom: 0.4em;
}

.entry-content blockquote {
    margin: 1.5em 0;
    padding-left: 1em;
    border-left: 3px solid rgba(0, 0, 0, 0.15);
    font-style: italic;
}

.site-info .custom-logo-link {
    display: flex;
    justify-content: center;
}

.mobile-menu__menu > .menu-item {
    margin-bottom: 15px;
}

.mobile-menu__menu a {
    text-transform: uppercase;
}

/* Стрелочка вниз для пунктов меню с подменю */
.header__menu .menu-item-has-children > a,
.mobile-menu__menu .menu-item-has-children > a {
    position: relative;
    padding-right: 5px;
}

.header__menu .menu-item-has-children > a::after,
.mobile-menu__menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgb(0 0 0 / 60%);
    border-bottom: 1px solid rgb(0 0 0 / 60%);
    transform: rotate(45deg);
    margin-left: 6px;
    position: relative;
    top: -4px;
    right: -4px;
}

@media (max-width: 768px) {

    .copyright-menu,
    .footer__copyright-first-copy {
        text-align: center;
    }

    .custom-logo-link {
        order: 1;
    }

    .footer__copyright-menu {
        order: 2;
    }

    .footer__copyright-first-copy {
        order: 3;
    }
}

.header__submenu-wrap {
    box-shadow: 0 0 5px #0002;
    border-radius: 3px;
}

.menu-main-container .header__menu>.nav__item>.nav__link {
    line-height: 3em;
}

.mobile-menu__menu .mobile-menu__submenu {
    padding-left: 1em;
}
.mobile-menu__menu .mobile-menu__submenu .mobile-menu__link {
    font-size: 16px;
}

#left-sidebar a {
    font-size: 24px;
    text-decoration: none;
}

.no-decoration,
.no-decoration a{
    text-decoration: none;
}

.header__mobile-button svg {
    color: #666666;
}

@media screen and (max-width: 1024px) {
    body .site .custom-logo-link .img-fluid {
        max-height: 90px;
    }

    body .header__logo-left {
        max-height: 70px;
    }
}

.wp-block-gallery .wp-element-caption {
    display: none;
}

.footer__section .custom-logo-link img {
    max-width: 80px;
}