/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Nov 15 2025 | 18:00:41 */
/* Контейнер елемента */
.alm-item {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: 0.25s ease;
}

/* Ховер */
.alm-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(0,0,0,0.10);
}

/* Фото */
.alm-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Заголовок */
.alm-item h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.alm-item h3 a {
    color: #111;
    text-decoration: none;
    transition: color .25s ease;
}

.alm-item h3 a:hover {
    color: #007aff; /* iOS синій */
}

/* Мета */
.alm-item .entry-meta {
    font-size: 14px;
    opacity: .65;
    margin: 0 0 10px 0;
}

/* Опис */
.alm-item p {
    margin: 0;
    color: #333;
    line-height: 1.45;
}

/* Внутрішній текстовий блок */
.alm-item > h3,
.alm-item > p {
    flex: 1;
}

.alm-item > *:not(img) {
    max-width: calc(100% - 170px);
}

/* Мобільна версія картки: спочатку назва, потім картинка, потім текст */
@media (max-width: 768px) {
    .alm-item {
        flex-direction: column;      /* елементи один під одним */
        align-items: flex-start;
        gap: 10px;
    }

    .alm-item img {
        width: 100%;                /* картинка на всю ширину */
        height: auto;
        max-height: 260px;
    }

    .alm-item > *:not(img) {
        max-width: 100%;            /* текст не обрізається */
    }

    .alm-item h3 {
        font-size: 18px;
    }
}

/* Мобільна версія автор-блоку */
@media (max-width: 768px) {
    .author-box {
        padding: 16px;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .author-box::before {
        display: none;
    }

    .author-box__inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .author-box__avatar-img {
        max-width: 72px;
    }
}