.ya-posts-style2 {
    --ya-s2-gap: 36px;
    --ya-s2-title: #3e5556;
    --ya-s2-text: #657779;
    --ya-s2-meta: #656b68;
    position: relative;
    width: 100%;
    text-align: left;
}
.ya-posts-style2 *, .ya-posts-style2 *::before, .ya-posts-style2 *::after { box-sizing: border-box; }
.ya-posts-style2 .ya-s2-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ya-s2-gap); align-items: start; }
.ya-posts-style2 .ya-s2-panel[hidden] { display: none !important; }
.ya-posts-style2 .ya-s2-panel-single { grid-template-columns: minmax(0, 1fr); }
.ya-posts-style2 .ya-s2-card, .ya-posts-style2 .ya-s2-body { min-width: 0; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.ya-posts-style2 .ya-s2-image-link { display: block; overflow: hidden; width: 100%; margin: 0; }
.ya-posts-style2 .ya-s2-image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ya-posts-style2 .ya-s2-lead .ya-s2-image-link { aspect-ratio: 2.36 / 1; margin-bottom: 26px; }
.ya-posts-style2 .ya-s2-lead .ya-s2-image { aspect-ratio: 2.36 / 1; }
.ya-posts-style2 .ya-s2-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; color: var(--ya-s2-meta); font-size: 13px; line-height: 1.6; margin: 0 0 8px; }
.ya-posts-style2 .ya-s2-meta a { color: inherit; text-decoration: none; }
.ya-posts-style2 .ya-s2-author-label { opacity: .65; }
.ya-posts-style2 .ya-s2-title { font-size: 28px; font-weight: 400; line-height: 1.3; letter-spacing: normal; text-transform: none; margin: 0; padding: 0; overflow-wrap: anywhere; color: var(--ya-s2-title); }
.ya-posts-style2 .ya-s2-title a { color: inherit; text-decoration: none; transition: color .2s linear; }
.ya-posts-style2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ya-posts-style2 .ya-s2-title a:hover,
.ya-posts-style2 .ya-s2-title a:focus-visible { color: var(--ya-s2-hover, var(--ya-s2-theme-hover, #0bba48)); text-decoration: none; }
/* Kamper's left-to-right text colour sweep, on both large and small titles. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .ya-posts-style2 .ya-s2-title a {
        background-image: linear-gradient(to right, var(--ya-s2-hover, var(--ya-s2-theme-hover, #0bba48)) 0%, var(--ya-s2-hover, var(--ya-s2-theme-hover, #0bba48)) 50%, var(--ya-s2-title) 50%, var(--ya-s2-title) 100%);
        background-size: 200% 100%;
        background-position: 100% 0;
        background-repeat: no-repeat;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: background-position .2s linear;
    }
    .ya-posts-style2 .ya-s2-title a:hover,
    .ya-posts-style2 .ya-s2-title a:focus-visible { background-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ya-posts-style2 .ya-s2-title a { transition: none; }
}
@media (forced-colors: active) {
    .ya-posts-style2 .ya-s2-title a { background-image: none; -webkit-text-fill-color: currentColor; }
}
.ya-posts-style2 a:focus-visible, .ya-posts-style2 button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ya-posts-style2 .ya-s2-excerpt { color: var(--ya-s2-text); font-size: 16px; line-height: 1.65; margin: 18px 0 0; overflow-wrap: anywhere; }
.ya-posts-style2 .ya-s2-list { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.ya-posts-style2 .ya-s2-small { display: flex; align-items: flex-start; gap: 16px; }
.ya-posts-style2 .ya-s2-small .ya-s2-image-link { flex: 0 0 29.5%; aspect-ratio: 1.45 / 1; }
.ya-posts-style2 .ya-s2-small .ya-s2-image { aspect-ratio: 1.45 / 1; }
.ya-posts-style2 .ya-s2-small .ya-s2-body { flex: 1; }
.ya-posts-style2 .ya-s2-small .ya-s2-title { font-size: 22px; line-height: 1.4; }
.ya-posts-style2 .ya-s2-small .ya-s2-meta { margin-bottom: 12px; }
.ya-posts-style2 .ya-s2-navigation { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 24px; }
.ya-posts-style2 .ya-s2-navigation button { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 48px; height: 48px; border: 1px solid #dce1dd; border-radius: 50%; background: transparent; color: var(--ya-s2-title); cursor: pointer; }
.ya-posts-style2 .ya-s2-navigation button:disabled { opacity: .3; cursor: default; }
.ya-posts-style2 .ya-s2-page { font-size: 13px; color: var(--ya-s2-meta); }
@media (min-width: 1200px) {
    .ya-posts-style2 .ya-s2-prev, .ya-posts-style2 .ya-s2-next { position: absolute; top: 50%; transform: translateY(-50%); }
    .ya-posts-style2 .ya-s2-prev { left: -64px; }
    .ya-posts-style2 .ya-s2-next { right: -64px; }
}
@media (max-width: 767px) {
    .ya-posts-style2 .ya-s2-panel { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .ya-posts-style2 .ya-s2-lead .ya-s2-image-link, .ya-posts-style2 .ya-s2-lead .ya-s2-image { aspect-ratio: 16 / 9; }
    .ya-posts-style2 .ya-s2-lead .ya-s2-image-link { margin-bottom: 18px; }
    .ya-posts-style2 .ya-s2-title { font-size: 25px; }
    .ya-posts-style2 .ya-s2-small .ya-s2-title { font-size: 19px; }
    .ya-posts-style2 .ya-s2-small .ya-s2-image-link { flex-basis: 29%; }
    .ya-posts-style2 .ya-s2-list { gap: 22px; }
    .ya-posts-style2 .ya-s2-meta { font-size: 12px; }
    .ya-posts-style2 .ya-s2-small .ya-s2-meta { margin-bottom: 5px; }
}
