/* Правки оформления yarst.org под разметку Joomla 4/5/6.
   Старые стили (template.css, custom.css) рассчитаны на разметку Helix3/Joomla 3. */

/* Заголовок материала: в Joomla 3 был .entry-header, теперь .page-header */
#sp-component .page-header {
	position: relative;
	margin: 0 0 30px;
	padding-bottom: 0;
	border-bottom: 0;
	text-align: left;
}
#sp-component .page-header h2 {
	color: #3d3d3d;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	margin: 0 0 6px;
	text-transform: uppercase;
}
#sp-component .page-header h2 a {
	color: #000;
	border-bottom: 3px solid #fbb450;
}

/* Заголовок категории: в Joomla 3 был обычный h2, теперь h1 */
#sp-component .blog > h1,
#sp-component .com-content-category > h1,
#sp-component .com-content-category-list > h1,
#sp-component .com-content-featured > h1 {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 .5rem;
}

/* Материалы в списке блога: отступ между ними как у старых article.item */
#sp-component .blog-items .blog-item {
	margin-bottom: 30px;
}

/* Кнопка «Подробнее» в списках (раньше article .readmore .btn-default) */
#sp-component .readmore .btn {
	color: #3d3d3d;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	background: transparent;
	border: 0;
	padding: 0;
}
#sp-component .readmore .btn:hover { color: #43c3ea; }

/* Значки Joomla 4 (icon-*) без шрифта Joomla не нужны */
#sp-component .readmore .btn [class^="icon-"] { display: none; }

/* Постраничная навигация Joomla 4 */
#sp-component .com-content-category-blog__navigation,
#sp-component .pagination__wrapper { margin-top: 20px; }
