:root {
	--article-inner-width: 1080px;
	--plist-item-height: 25%;
	--extra-photo-font-size: 8vw;
}

.product-groups-container .round-delimeter { margin-top: 0px; }

.news-item-info {
    background-color: #f3f3f3;
    margin-bottom: 30px;
    margin-top: 15px;
    padding: 15px;
}

.news-item-prevtext { 
	margin-top: 10px; 
	line-height: 1.5em;
    height: 3em;
}

.news-item-title.h3 {
    font-size: calc(var(--h3-font-size) * 0.7);
    font-weight: 600 !important;
    width: calc(100% - 85px);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	margin: 0px;
}

.news-item-date { width: 85px; white-space: nowrap; }

.news-item-image {
    aspect-ratio: 16 / 9;
    background-size: 100% auto;
    background-size: cover;
    background-position: center;
    transition: .5s ease-out;
}

.news-item:hover .news-item-image {
	/*background-size: 105% auto;*/
}

.product-items-list .row [class ^="col"] {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

article	{
	padding: var(--page-h-padding) 0px;
}

article .inner {
	width: var(--article-inner-width);
	max-width: 100%;
	margin: auto;
}

article .layout {
	aspect-ratio: 16 / 9;
	width: calc(100% + 2 * var(--page-h-padding));
	margin-left: calc(-1 * var(--page-h-padding));
	margin-right: calc(-1 * var(--page-h-padding));
	overflow: hidden;
}

.layout video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

article .main-text { 
	/*box-shadow: 0px 0px 10px 0px rgba(0,0,0,.3);*/
	background-color: #fff;
	margin-top: calc(-1 * var(--page-h-padding) - var(--h1-font-size));
	margin-bottom: var(--page-h-padding);
}

article h1 { margin-top: 0px; font-weight: 300; text-transform: uppercase; margin-bottom: 15px; }
article .main-text p:last-child,
article .inner p:last-child { margin-bottom: 0px; }
article .article-date { 
	position: absolute;
	right: 0; /*var(--page-h-padding);*/
	top: calc(var(--page-h-padding) + var(--h1-font-size) - 1em);
}
article .inner.padding {
	padding: var(--page-h-padding) 0;
}

.article-slider .swiper-container { aspect-ratio: 16 / 9; max-width: 100%; width: calc(var(--article-inner-width) + 2 * var(--page-h-padding)); margin: auto; }
.article-slider .swiper-slide .flex { overflow: hidden; justify-content: center; }
.article-slider-image { width: 100%; height: auto; }

.article-slider-btn { z-index: 5; top: 0; left: calc(-2 * var(--page-h-padding)); height: 100%; padding: var(--page-h-padding); position: absolute;}
.article-slider-btn.slider-btn-next { right: calc(-2 * var(--page-h-padding)); left: auto; }

.article-slider-btn svg { width: auto; height: calc(var(--page-h-padding) * 2 / 3); fill: var(--grey-social-color); }

article .go-back-btn { 
	margin-top: var(--page-h-padding);
	height: calc(var(--page-h-padding) * 2 / 3);
	line-height: calc(var(--page-h-padding) * 2 / 3);
	padding: 0px var(--page-h-padding); 
}

article .gallery-item, 
article .gallery-item:first-child {
    /*width: var(--plist-item-height);*/
    
    width: calc( var(--article-inner-width) / 4 );
    
    height: auto;
    aspect-ratio: 1/1;
}

article .gallery-list-container .gallery-item:nth-of-type(n + 4) .extraPhotos {
    display: block;
}

article .gallery-list-container.row {
    margin: -7.5px auto;
    width: calc(var(--article-inner-width) + 2 * var(--page-h-padding) + 15px);
}

article .gallery-list-container.row {
    width: calc(100% + 15px);
    margin: -7.5px;
}

@media screen and ( max-width: 1180px ) and (min-height: 700px) and ( min-width: 1025px ) {
    article .go-back-btn {
	    width: calc(var(--plist-item-height) * 2 - 7px);
	    height: 40px;
	    line-height: 40px;
	}
}

@media (max-width: 1024px) and (min-width: 770px) {
    article .go-back-btn {
	    width: calc(var(--plist-item-height) * 2 - 7px);
	    height: 40px;
	    line-height: 40px;
	}
}

@media screen and ( max-width: 850px ) and ( min-width: 770px ) {
	.news-item-title.h3 {
	    /*
	    -webkit-line-clamp: 2;
	    display: -webkit-box;
	    -webkit-box-orient: vertical;
	    */
	    overflow: hidden;
        white-space: nowrap;
        width: 100%;
        text-overflow: ellipsis;
        text-align: left;
        height: 1.2em;
        font-size: 1.2em;
	}
}

@media (max-width: 769px) and (min-width: 500px) {

	.news-item-title.h3 {
	    white-space: nowrap;
	    overflow: hidden;
	    width: 100%;
	    text-overflow: ellipsis;
	    text-align: left;
	    font-size: calc(var(--h3-font-size) * .85);
	}

	article .go-back-btn {
	    width: calc(var(--plist-item-height) * 2 - 7px);
	    height: 40px;
	    line-height: 40px;
	}
	
	article .gallery-item, article .gallery-item:first-child {
	    width: calc((100vw - 2* var(--page-h-padding)) / 2);
    }
}

@media ( max-width: 499px ) {
	:root {
		--plist-item-height: calc((100vw - 2 * var(--page-h-padding)) / 2 + 7.5px);
		--extra-photo-font-size: 18vw;
	}

	article { padding-top: 0px; }
	article .article-date { position: static; }
	article .gallery-list-container.row {
	    margin: -7.5px -7.5px -7.5px;
	    width: calc(100vw - 2 * var(--page-h-padding) + 15px);
	    max-width: none;
	}

	article .go-back-btn {
        width: 100%;
        height: calc(var(--page-h-padding) * 1.8) !important;
        line-height: calc(var(--page-h-padding) * 1.8) !important;
    }
    
    article .gallery-item, article .gallery-item:first-child {
        width: calc(var(--plist-item-height) - 8px);
    }
}