/* Блог: карточки (капля-маска + пунктир), архив, статья */
.lv-blog { padding-block: clamp(56px, 8vw, 104px); }
.lv-blog__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.lv-blog__title { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 44px); }
.lv-blog__lead { margin: 0; font-size: 18px; color: var(--lv-text-muted); }
.lv-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lv-blog__more { margin: 40px 0 0; text-align: center; }

.lv-btn--outline { background: transparent; color: var(--lv-green); border: 1.5px solid var(--lv-green); transition: background .2s, color .2s; }
.lv-btn--outline:hover, .lv-btn--outline:focus-visible { background: var(--lv-green); color: #fff; outline: 0; }

.lv-post { position: relative; display: flex; flex-direction: column; padding: 38px 38px 34px; background: var(--lv-cream); border-radius: 36px; transition: transform .25s, box-shadow .25s; }
.lv-post:hover, .lv-post:focus-within { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(30, 95, 58, .12); }
.lv-post__media { position: relative; aspect-ratio: 300 / 220; margin-bottom: 26px; }
.lv-post__outline { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); overflow: visible; pointer-events: none; }
.lv-post__outline path { fill: none; stroke: #d3bfb1; stroke-width: 1.6px; stroke-dasharray: 6 6; }
.lv-post:hover .lv-post__outline path { stroke: var(--lv-coral); animation: lv-dash .5s linear infinite; }
.lv-post__img {
	position: absolute; inset: 0; display: block; background: var(--lv-sand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220' preserveAspectRatio='none'%3E%3Cpath d='M34 30C86 6 214 6 266 30c22 30 10 66 22 98 8 30-8 58-30 70-58 30-158 30-216 0C20 186 8 158 14 128 22 94 12 60 34 30Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220' preserveAspectRatio='none'%3E%3Cpath d='M34 30C86 6 214 6 266 30c22 30 10 66 22 98 8 30-8 58-30 70-58 30-158 30-216 0C20 186 8 158 14 128 22 94 12 60 34 30Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.lv-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lv-post:hover .lv-post__img img { transform: scale(1.05); }

.lv-post__chips { position: absolute; left: 14px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lv-post__chips li { padding: 7px 14px; border-radius: 999px; background: var(--lv-green); color: #fff; font: 800 12px/1 var(--lv-font-head); }
.lv-post__chips--static { position: static; margin-bottom: 16px; }

.lv-post__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; color: var(--lv-text-muted); }
.lv-post__meta .lv-i { color: var(--lv-green); }
.lv-post__title { margin: 0; font-size: 20px; line-height: 1.3; }
.lv-post__title a { color: var(--lv-green); text-decoration: none; }
.lv-post__title a::after { content: ""; position: absolute; inset: 0; border-radius: 36px; } /* вся карточка кликабельна */
.lv-post__title a:focus-visible { outline: 3px solid var(--lv-coral); outline-offset: 4px; border-radius: 8px; }
.lv-post__title a:focus-visible::after { outline: 0; }
@media (prefers-reduced-motion: reduce) { .lv-post:hover .lv-post__outline path { animation: none; } .lv-post, .lv-post__img img { transition: none; } }

/* Архив /Блог/ */
.lv-blog-archive { padding-block: clamp(40px, 6vw, 80px); }
.lv-page-title { margin: 0 0 clamp(28px, 4vw, 44px); font-size: clamp(32px, 4vw, 52px); text-align: center; }
.lv-blog-archive .navigation { margin-top: 48px; }
.lv-blog-archive .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lv-blog-archive .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--lv-sand); color: var(--lv-green); font: 800 15px/1 var(--lv-font-head); text-decoration: none; background: #fff; }
.lv-blog-archive a.page-numbers:hover { border-color: var(--lv-green); }
.lv-blog-archive .page-numbers.current { background: var(--lv-green); border-color: var(--lv-green); color: #fff; }
.lv-blog-archive .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Статья */
.lv-article { padding-block: clamp(32px, 5vw, 72px); }
.lv-article__wrap { max-width: 820px; }
.lv-article__back { display: inline-block; margin-bottom: 22px; color: var(--lv-green); font: 800 15px/1 var(--lv-font-head); text-decoration: none; }
.lv-article__back:hover { text-decoration: underline; }
.lv-article__title { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; }
.lv-article__figure { margin: 26px 0 30px; }
.lv-article__figure img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 28px; }
.lv-article__content { font-size: 19px; line-height: 1.75; }
.lv-article__content p { margin: 0 0 18px; }
.lv-article__content ul, .lv-article__content ol { margin: 0 0 18px; padding-left: 1.3em; }
.lv-article__content li { margin-bottom: 8px; }
.lv-article__content a { color: var(--lv-green); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) { .lv-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
	.lv-blog__grid { grid-template-columns: 1fr; gap: 22px; }
	.lv-post { padding: 30px 28px 28px; border-radius: 30px; }
	.lv-post__title a::after { border-radius: 30px; }
	.lv-article__content { font-size: 17px; }
}
