/* SkillUnit: список блогу та сторінка статті як на старому сайті. */
.su-blogh { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--pad) 0; }
.su-blogh__title { font-family: var(--f-head); font-weight: 700; font-size: 68px; line-height: 68px; color: #232323; text-decoration: underline; }
.su-blog { margin-top: 70px; }
.su-blog .su-blog__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; }

.su-blog .su-bcard {
	display: block; box-sizing: border-box; padding: 0; border: 20px solid #ececec; border-radius: 25px;
	background: #fff; overflow: hidden;
}
.su-blog .su-bcard__img { display: block; aspect-ratio: 579 / 463; margin: 0 0 20px; border-radius: 0; background: #f5f5f5; overflow: hidden; }
.su-blog .su-bcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.su-blog .su-bcard__img:hover img { transform: scale(1.04); }
.su-blog .su-bcard__body { padding: 0 20px; }
.su-blog .su-bcard__title { margin: 0 0 20px; font-weight: 700; font-size: 28px; line-height: 33.6px; color: #232323; }
.su-blog .su-bcard__title a:hover { color: #9ccc3a; }
.su-blog .su-bcard__excerpt {
	margin: 0 0 21px; font-family: var(--f-head); font-size: 18px; line-height: 27px; color: #454545;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.su-blog .su-bcard__date { display: block; padding: 10px 20px; font-size: 16px; line-height: 17.6px; color: #adadad; }

.su-blog .su-pager .nav-links { justify-content: center; align-items: center; gap: 24px; margin-top: 30px; }
.su-blog .su-pager .page-numbers { min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; font-size: 36px; line-height: 40px; color: #232323; }
.su-blog .su-pager .page-numbers.current { font-weight: 600; color: #333; background: none; }
.su-blog .su-pager a.page-numbers:hover { background: none; color: #9ccc3a; }

/* ---------- Сторінка статті ---------- */
.su-posthead { max-width: 900px; margin: 0 auto; padding: 10px 10px 0; text-align: center; }
.su-posthead__title { font-family: var(--f-head); font-weight: 700; font-size: 60px; line-height: 60px; color: #232323; text-align: center; }
.su-posthead__meta { margin-top: 35px; font-family: Poppins, var(--f-head); font-weight: 300; font-size: 16px; line-height: 24px; color: #333; }
.su-posthead__meta time { display: inline-flex; align-items: center; gap: 6px; text-transform: capitalize; }
.su-posthead__meta svg { flex: none; }

/* Текст статті — як на решті сторінок сайту: основний текст темний, заголовки шрифтом Play, жирні, #232323 */
.su-article { max-width: 900px; margin: 0 auto; padding: 29px 10px 0; }
.su-article .su-prose { font-family: var(--f-text); font-size: 18px; line-height: 27px; color: var(--dark, #232323); text-align: left; }
.su-article .su-prose p { margin: 0 0 20px; }
.su-article .su-prose h2, .su-article .su-prose h3, .su-article .su-prose h4 { font-family: var(--f-head); font-weight: 700; color: #232323; text-align: left; margin: 34px 0 16px; }
.su-article .su-prose > :first-child { margin-top: 0; }
.su-article .su-prose h2 { font-size: 32px; line-height: 38px; }
.su-article .su-prose h3 { font-size: 28px; line-height: 34px; }
.su-article .su-prose h4 { font-size: 22px; line-height: 27px; }
.su-article .su-prose strong, .su-article .su-prose b { color: #232323; }
.su-article .su-prose a { color: inherit; text-decoration: underline; }
.su-article .su-prose a:hover { color: #6f9a14; }
.su-article .su-prose ul, .su-article .su-prose ol { margin: 0 0 20px 24px; }
.su-article .su-prose li { margin-bottom: 8px; }

/* Зміст статті (згортається): без підкреслення, як на richhost.org */
.su-article .su-prose .su-toc { margin: 0 0 30px; }
.su-article .su-prose .su-toc summary { font-family: var(--f-head); font-size: 22px; line-height: 28px; color: #232323; }
.su-article .su-prose .su-toc a { text-decoration: none; color: #232323; font-size: 17px; line-height: 24px; }
.su-article .su-prose .su-toc a:hover { color: #6f9a14; opacity: 1; }
.su-article .su-prose .su-toc a.is-sub { font-size: 16px; color: #454545; }
.su-article .su-prose .su-toc a span { color: #8a8a8a; opacity: 1; font-size: 15px; }
.su-article .su-prose .su-toc + * { margin-top: 0; }
/* Десктоп: колонка з overflow:auto обрізала кружки зліва від лінії, тому даємо їй лівий відступ (ширина 300px = 10px відступу + 290px вмісту) */
@media (min-width: 1200px) {
	.su-article .su-prose details.su-toc { width: 300px; margin-left: -380px; padding-left: 10px; box-sizing: border-box; }
}

.su-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 0; }
.su-postnav__i { flex: 0 1 50%; max-width: 50%; }
.su-postnav__i a { display: block; max-width: none; font-size: 16px; line-height: 24px; }
.su-postnav__lbl { display: block; font-size: 16px; line-height: 24px; color: #1c244b; }
.su-postnav__ttl { display: block; font-size: 18px; line-height: 27px; color: #b7b7b7; transition: color .3s; }
.su-postnav a:hover .su-postnav__ttl { color: #232323; }

.su-share { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 50px; }
.su-share__t { font-size: 16px; line-height: 24px; color: #232323; }
.su-share__b { display: flex; gap: 22px; }
.su-share__i { display: inline-flex; width: 27px; height: 27px; color: #8bc8fc; transition: color .3s; }
.su-share__i:hover { color: #232323; }

.su-related { max-width: 900px; margin: 143px auto 0; padding: 0 10px; }
.su-related__title { font-size: 32px; line-height: 32px; font-weight: 700; color: #232323; }
.su-related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 50px; }
.su-rcard { box-sizing: border-box; border: 15px solid #ececec; border-radius: 25px; background: #fff; padding: 10px 10px 0; overflow: hidden; }
.su-rcard__img { display: block; aspect-ratio: 223 / 179; border-radius: 7px; overflow: hidden; background: #f5f5f5; }
.su-rcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.su-rcard__title { margin: 20px 0 10px; font-weight: 700; font-size: 22px; line-height: 26.4px; color: #232323; }
.su-rcard__title a:hover { color: #9ccc3a; }
.su-rcard__excerpt { margin: 0 0 10px; font-size: 16px; line-height: 27.2px; color: #333; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.su-rcard__date { display: block; padding: 10px 0; font-size: 12px; line-height: 15.6px; color: #adadad; }
.su-posthead ~ .su-contacts, .su-related ~ .su-contacts { margin-top: 100px; }
.su-article + .su-related + * { margin-top: 100px; }

@media (max-width: 991px) {
	.su-blog .su-blog__list { gap: 30px; }
	.su-blog .su-bcard__title { font-size: 24px; line-height: 29px; }
	.su-posthead__title { font-size: 48px; line-height: 52px; }
	.su-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.su-related__list .su-rcard:nth-child(3) { display: none; }
}
@media (max-width: 767px) {
	.su-blogh__title { font-size: 44px; line-height: 48px; }
	.su-blog { margin-top: 40px; }
	.su-blog .su-blog__list { grid-template-columns: minmax(0, 1fr); }
	.su-blog .su-bcard { border-width: 12px; }
	.su-blog .su-bcard__body { padding: 0 8px; }
	.su-blog .su-bcard__date { padding: 10px 8px; }
	.su-blog .su-bcard__title { font-size: 22px; line-height: 27px; }
	.su-blog .su-bcard__excerpt { font-size: 16px; line-height: 24px; }
	.su-blog .su-pager .page-numbers { font-size: 28px; }

	.su-posthead__title { font-size: 34px; line-height: 38px; }
	.su-article .su-prose { font-size: 17px; line-height: 26px; }
	.su-article .su-prose h2 { font-size: 26px; line-height: 31px; }
	.su-article .su-prose h3 { font-size: 22px; line-height: 27px; }
	.su-article .su-prose h4 { font-size: 19px; line-height: 24px; }
	.su-postnav { flex-direction: column; }
	.su-postnav__i { max-width: 100%; flex-basis: auto; }
	.su-share { flex-direction: column; gap: 14px; }
	.su-related { margin-top: 80px; }
	.su-related__list { grid-template-columns: minmax(0, 1fr); }
	.su-related__list .su-rcard:nth-child(3) { display: block; }
}
