.post-archive {
    padding: clamp(32px, 4vw, 60px) 0;
}

.post-archive > .container {
    max-width: none;
}

.post-archive__heading {
    margin-bottom: 24px;
}

.post-archive__heading-title {
    margin: 0;
    color: #17243d;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.post-archive__breadcrumbs {
    margin-bottom: 8px;
}

.post-archive__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-archive__breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
    min-width: 0;
}

.post-archive__breadcrumbs li:not(:last-child)::after {
    content: '\203a';
    color: #98a2b3;
}

.post-archive__breadcrumbs a {
    color: #667085;
    text-decoration: none;
}

.post-archive__breadcrumbs a:hover {
    color: #0554f2;
}

.post-archive__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.post-archive__results {
    min-width: 0;
}

.post-archive__categories {
    padding: 16px;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    background: #fff;
}

.post-archive__category-select {
    display: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 32px 10px 12px;
    border: 1px solid #dce5f2;
    border-radius: 4px;
    background-color: #fff;
    color: #17243d;
    font-size: 16px;
}

.post-archive__categories-heading {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.post-archive__categories ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-archive__categories a {
    display: block;
    padding: 10px 12px;
    border: 1px solid #dce5f2;
    border-radius: 4px;
    color: #17243d;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.post-archive__results[aria-busy="true"] {
    opacity: .55;
}

.post-archive__categories a[aria-current="page"],
.post-archive__categories a:hover,
.post-archive__categories a:focus-visible {
    background: #edf3ff;
    color: #0554f2;
    border-color: #0554f2;
}

.post-archive__layout .post-archive__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .post-archive__layout .post-archive__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .post-archive__heading-title {
        font-size: 20px;
    }

    .post-archive__category-select {
        display: block;
    }

    .post-archive__categories ul {
        display: none;
    }

    .post-archive__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .post-archive__layout .post-archive__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.post-archive__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-archive__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    color: #17243d;
}

.post-archive__image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f7;
}

.post-archive__image img,
.post-archive__image picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 180ms ease;
}

.post-archive__title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    margin: 0;
    color: #17243d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.post-archive__title a {
    color: inherit;
    text-decoration: none;
}

.post-archive__description {
    display: -webkit-box;
    overflow: hidden;
    color: #667085;
    font-size: 14px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.post-archive__description p {
    margin: 0;
}

.post-archive__card:hover .post-archive__image img,
.post-archive__card:focus-within .post-archive__image img {
    transform: scale(1.025);
}

.post-archive__card:hover .post-archive__title,
.post-archive__card:focus-within .post-archive__title {
    color: #0554f2;
}

.easyfind-article-listings {
    width: 100%;
    margin-top: 40px;
}

.easyfind-article-listings .est-home-listings__header {
    margin-bottom: 12px;
}

.easyfind-article-listings .est-home-listings__title {
    white-space: normal;
}

.easyfind-article-listings .est-home-listings__swiper {
    padding-bottom: 0;
}

body.single-post .page__main {
    padding-bottom: 16px;
}

/* Keep universal listing cards intact inside the article editor. */
.easyfind-article-listings .est-home-listings__swiper .swiper-wrapper {
    align-items: stretch;
}

.easyfind-article-listings .est-home-listings__swiper .swiper-slide {
    height: auto;
}

.easyfind-article-listings .est-listing-card,
.easyfind-article-listings .est-listing-card:hover,
.easyfind-article-listings .est-listing-card:focus-within {
    height: auto;
    min-height: 260px;
}

.easyfind-article-listings .est-listing-card__inner {
    height: 100%;
}

.editor .easyfind-article-listings .est-listing-card__title {
    min-height: 38px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

@media (min-width: 1440px) {
    .post-archive__title {
        min-height: 48px;
        font-size: 20px;
    }

    .editor .easyfind-article-listings .est-listing-card__title {
        min-height: 42px;
        font-size: clamp(14px, .82vw, 17px);
    }
}

@media (max-width: 1023px) {
    .post-archive__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .post-archive {
        padding: 24px 0 32px;
    }

    .post-archive__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .post-archive__card {
        gap: 7px;
    }

    .post-archive__title {
        min-height: 38px;
        font-size: 15px;
        line-height: 1.25;
    }

    .post-archive__description {
        font-size: 12px;
    }

    .easyfind-article-listings {
        margin-top: 32px;
    }

    .easyfind-article-listings .est-listing-card,
    .easyfind-article-listings .est-listing-card:hover,
    .easyfind-article-listings .est-listing-card:focus-within {
        min-height: 220px;
    }

    .editor .easyfind-article-listings .est-listing-card__title {
        min-height: 32px;
        font-size: 12px;
        line-height: 1.3;
    }
}

/* Продовская компоновка только экспертного архива, без вмешательства в запрос статей. */
.ef-experts__layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:28px;align-items:start}
.ef-experts__main{min-width:0}
.ef-experts__main>.container{width:100%;max-width:none;padding-left:0;padding-right:0}
.ef-experts__main .post-archive__list{grid-template-columns:repeat(3,minmax(0,1fr))}
.ef-experts__sidebar{min-width:0;display:grid;gap:18px;margin-top:80px}
.ef-experts__box{border:1px solid #e8edf4;border-radius:10px;padding:22px;background:#fff;color:#17243d}
.ef-experts__box--author{background:#fff4ea;border-color:#fff4ea}
.ef-experts__icon{color:#ff7900;margin-bottom:12px}
.ef-experts__box h2{font-size:18px;line-height:1.35;margin:0 0 8px;color:inherit}
.ef-experts__box p{font-size:14px;line-height:1.5;margin:0 0 16px;color:#526079}
.ef-experts__contact{display:inline-flex;align-items:center;gap:18px;min-height:44px;padding:10px 20px;background:#f45108;color:#fff;border-radius:6px;font-size:15px;font-weight:600}
.ef-experts__newsletter-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px;color:#0554f2}
.ef-experts__newsletter-heading svg{flex-shrink:0}
.ef-experts__newsletter-heading h2{font-size:16px;line-height:1.35;margin:0}
.ef-experts__box--newsletter .mc_signup_form{display:block;margin:0}
.ef-experts__box--newsletter .mc_merge_var{margin-bottom:12px}
.ef-experts__box--newsletter .mc_merge_var label{display:block;font-size:13px;line-height:1.4;color:#526079;margin:0 0 5px}
.ef-experts__box--newsletter .mc_input{width:100%;height:38px;padding:0 12px;border:1px solid #dbe3ef;border-radius:8px;font:inherit;color:#17243d}
.ef-experts__box--newsletter .mc_signup_submit_button{width:100%;height:38px;margin:0;padding:10px 12px;background:#0554f2;color:#fff;border:0;border-radius:8px;font-size:15px}
.ef-experts__box small{display:block;margin-top:12px;font-size:12px;line-height:1.5;color:#647189}
@media(max-width:900px){.ef-experts__layout{grid-template-columns:minmax(0,1fr)}.ef-experts__sidebar{margin-top:0}.ef-experts__main .post-archive__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){.ef-experts__main .post-archive__list{grid-template-columns:minmax(0,1fr)}}
/* Пустой блок сообщения формы занимает только исходный межблочный интервал. */
.ef-experts__box--newsletter .mc_form_inside{display:flex;flex-direction:column;gap:10px}
.ef-experts__box--newsletter .mc_merge_var{margin:0}
