

/* Start:/local/templates/crystal_blog/components/bitrix/news/blog/style.css?17866973964137*/
.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.blog-card__image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card__video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .8rem;
}
.blog-card__body {
    padding: 1.25rem;
}
.blog-card__date {
    font-size: .85rem;
    color: #888;
}
.blog-card__title {
    margin: .5rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
}
.blog-card__title a {
    color: #222;
    text-decoration: none;
}
.blog-card__title a:hover {
    color: #1976d2;
}
.blog-card__excerpt {
    color: #555;
    font-size: .95rem;
    line-height: 1.5;
}
.blog-card__link {
    display: inline-block;
    margin-top: .75rem;
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}
.blog-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
}
.blog-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.blog-detail__header {
    /*max-width: 800px;*/
    margin: 0 auto 2rem;
    text-align: center;
}
.blog-detail__title {
    font-size: 2rem;
    margin: .75rem 0;
}
.blog-detail__cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
}
.blog-detail__content {
    /*max-width: 800px;*/
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}
.blog-detail__content h1,
.blog-detail__content h2,
.blog-detail__content h3,
.blog-detail__content h4 {
    margin: 1.5em 0 .5em;
    font-weight: 700;
    line-height: 1.3;
}
.blog-detail__content h1 { font-size: 1.8rem; }
.blog-detail__content h2 { font-size: 1.5rem; }
.blog-detail__content h3 { font-size: 1.3rem; }
.blog-detail__content p { margin: 0 0 1em; }
.blog-detail__content ul,
.blog-detail__content ol { margin: 0 0 1em 1.5em; }
.blog-detail__content li { margin-bottom: .3em; }
.blog-detail__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.blog-detail__content th,
.blog-detail__content td {
    border: 1px solid #ddd;
    padding: .75rem;
}
.blog-detail__content th {
    background: #f5f5f5;
    font-weight: 600;
}
.blog-detail__content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #1976d2;
    background: #f9f9f9;
    font-style: italic;
}
.blog-detail__content img {
    max-width: 100%;
    border-radius: 8px;
}
.blog-detail__content a {
    color: #1976d2;
    text-decoration: underline;
}
.blog-detail__content a:hover {
    text-decoration: none;
}

.blog-detail__back {
    display: inline-block;
    margin-top: 2rem;
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-categories__item {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.blog-categories__item:hover {
    background: #e8f4fd;
    color: #1976d2;
    border-color: #1976d2;
    transform: translateY(-2px);
}

.blog-categories__item--all {
    background: #1976d2;
    color: #fff;
}

.blog-categories__item--all:hover {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}
.blog-page__title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
/* End */


/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/round/style.css?17868745562821*/
.bx-pagination {
	margin: 10px 0;
}

.bx-pagination .bx-pagination-container {
	text-align: center;
	position: relative;
}
.bx-pagination .bx-pagination-container ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}
.bx-pagination .bx-pagination-container ul li {
	display: inline-block;
	margin: 0 2px 15px 2px;
}
.bx-pagination .bx-pagination-container ul li span{
    -webkit-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
       -moz-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
    	-ms-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
    	 -o-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
    		transition: color .3s ease, background-color .3s ease, border-color .3s ease;
	background: #eff0f1;
	padding: 0 8px;
	display: block;
	height: 32px;
	min-width: 32px;
	line-height: 32px;
	color: #444;
	font-size: 14px;
	border-radius: 16px;
	vertical-align: middle;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.bx-pagination .bx-pagination-container ul li a {
	text-decoration: none;
	display: block;
	border-radius: 16px;
	height: 32px;
	min-width: 32px;
	line-height: 32px;
	color: #444;
	vertical-align: middle;
}
.bx-pagination .bx-pagination-container ul li a:hover span{
	background: #DADADA;
}
.bx-pagination .bx-pagination-container ul li.bx-active span{
	background: #0083d1;
	color: #fff;
}
.bx-pagination .bx-pagination-container ul li.bx-pag-all a span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev a span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next a span {
	background: #fff;
	border: 2px solid #eff0f1;
	line-height: 28px;
	padding: 0 18px;
	color: #444;
}
.bx-pagination .bx-pagination-container ul li.bx-pag-all span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next span{
	color: #aab1b4;
	background: #fff;
	border: 2px solid #eff0f1;
	line-height: 28px;
	padding: 0 18px;
}
.bx-pagination .bx-pagination-container ul li.bx-pag-all a:hover span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev a:hover span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next a:hover span {
	background: #fff;
	border-color: #DADADA;
	color: #000;
}

/*color schemes*/
.bx-pagination.bx-green  .bx-pagination-container ul li.bx-active span{
	background: #3bc915;
	color: #fff;
}
.bx-pagination.bx-yellow  .bx-pagination-container ul li.bx-active span{
	background: #F9A91D;
	color: #fff;
}
.bx-pagination.bx-red  .bx-pagination-container ul li.bx-active span{
	background: #E22B2B;
	color: #fff;
}
.bx-pagination.bx-blue .bx-pagination-container ul li.bx-active span{
	background: #0083d1;
	color: #fff;
}

/* End */


/* Start:/local/templates/crystal_blog/components/bitrix/news.list/blog_list/style.css?17866974264403*/
.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.blog-card__image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card__video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .8rem;
}
.blog-card__body {
    padding: 1.25rem;
}
.blog-card__date {
    font-size: .85rem;
    color: #888;
}
.blog-card__title {
    margin: .5rem 0;
    font-size: 1.2rem;
    line-height: 1.3;
}
.blog-card__title a {
    color: #222;
    text-decoration: none;
}
.blog-card__title a:hover {
    color: #1976d2;
}
.blog-card__excerpt {
    color: #555;
    font-size: .95rem;
    line-height: 1.5;
}
.blog-card__link {
    display: inline-block;
    margin-top: .75rem;
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}
.blog-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
}
.blog-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.blog-detail__header {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}
.blog-detail__title {
    font-size: 2rem;
    margin: .75rem 0;
}
.blog-detail__cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
}
.blog-detail__content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
}
.blog-detail__content h1,
.blog-detail__content h2,
.blog-detail__content h3,
.blog-detail__content h4 {
    margin: 1.5em 0 .5em;
    font-weight: 700;
    line-height: 1.3;
}
.blog-detail__content h1 { font-size: 1.8rem; }
.blog-detail__content h2 { font-size: 1.5rem; }
.blog-detail__content h3 { font-size: 1.3rem; }
.blog-detail__content p { margin: 0 0 1em; }
.blog-detail__content ul,
.blog-detail__content ol { margin: 0 0 1em 1.5em; }
.blog-detail__content li { margin-bottom: .3em; }
.blog-detail__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.blog-detail__content th,
.blog-detail__content td {
    border: 1px solid #ddd;
    padding: .75rem;
}
.blog-detail__content th {
    background: #f5f5f5;
    font-weight: 600;
}
.blog-detail__content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #1976d2;
    background: #f9f9f9;
    font-style: italic;
}
.blog-detail__content img {
    max-width: 100%;
    border-radius: 8px;
}
.blog-detail__content a {
    color: #1976d2;
    text-decoration: underline;
}
.blog-detail__content a:hover {
    text-decoration: none;
}

.blog-detail__back {
    display: inline-block;
    margin-top: 2rem;
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}/* === Категории блога === */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-categories__item {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.blog-categories__item:hover {
    background: #e8f4fd;
    color: #1976d2;
    border-color: #1976d2;
    transform: translateY(-2px);
}

.blog-categories__item--all {
    background: #1976d2;
    color: #fff;
}

.blog-categories__item--all:hover {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}
.blog-page__title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.blog-categories__item--active {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
    cursor: default;
}

.blog-categories__item--active:hover {
    background: #1976d2;
    color: #fff;
    transform: none;
}

/* End */
/* /local/templates/crystal_blog/components/bitrix/news/blog/style.css?17866973964137 */
/* /bitrix/components/bitrix/system.pagenavigation/templates/round/style.css?17868745562821 */
/* /local/templates/crystal_blog/components/bitrix/news.list/blog_list/style.css?17866974264403 */
