.iti-search-section {
    margin-bottom: 40px;
}

.post-cards {
    display: flex;
    flex-wrap: wrap;
    /*gap: 20px;*/
}

.post-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    /*width: calc(33.333% - 14px);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    text-decoration: none;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card-image img {
    width: 100%;
    height: auto;
}

.post-card-content {
    padding: 15px;
}

.post-card h2 {
    font-size: 1.25rem;
    margin: 0 0 10px;
}

.post-card p {
    font-size: 1rem;
    color: #555;
}

/* CONTROLS */
.btn:hover svg {
    fill: #fff;
}

.iti-search-form-container {
    /*margin-left: auto;*/
    margin-right: 30px;
}

.iti-search-form-container .iti-btn:hover {
    background: var(--search-primary-color--dark);
}

.iti-search-form {
    display: none;
}

.iti-search-form__control {
    max-width: 315px;
    width: 100%;
    padding: 7px 15px;
    line-height: 1;
    font-size: 16px;
    border: none;
    outline: none;
}

.iti-btn_search {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    border: none;
    border-radius: 0;
}

.iti-btn_search-mobile {
    border: none;
}

.iti-btn_search svg {
    width: 24px;
    height: 24px;
}

.iti-search-form.active {
    display: flex !important;
    justify-content: center;
    padding: 25px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--search-cover-color);
    backdrop-filter: blur(5px);
    z-index: 999;
}

@media (max-width: 991px) {

    .post-card {
        /*width: calc(50% - 10px);*/
    }
}

@media (max-width: 479px) {
    .post-card {
        width: 100%;
    }

    .translation__select-box .translation__select {
        padding: 5px;
    }
}

@media (max-width: 379px) {
    .iti-search-form-container {
        margin-left: 0;
        margin-right: 80px;
    }

    .header-top__col:first-child {
        width: 40%;
    }

    .header-top__col:last-child {
        width: 60%;
    }

    .header .header-top .main_logo img {
        max-width: 70px;
    }
}

@media (min-width: 992px) {
}

/* Поправка на админ-бар */
.admin-bar .iti-search-form.active {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .iti-search-form.active {
        top: 46px;
    }
}
