/* Footer top */
.footerTop {
	color: #646468;
	font-family: 'Open Sans', sans-serif;
	font-weight: normal;
	background: #1e2028;
	padding: 4em 0 1.5em;
}

.footerTop__linksColumn {
	width: 198px;
}
.footerTop__linksColumn {
	color: #fff;
	font-size: 14px;
}
.footerTop__linksColumn h4 {
	font-size: 14px;
	margin: 0 0 1em;
}
.footerTop__linksColumn ul {
	list-style: none;
	margin: 0 0 1.5em 0;
}
.footerTop__linksColumn li {
	padding: 4px 0;
}
.footerTop__linksColumn a,
.footerTop__linksColumn span {
	color: #646468;
	font-size: 14px;
	text-decoration: none;
}
.footerTop__linksColumn a:hover {
	color: #fff;
	border-bottom: 2px solid #f98500;
}

.footerTop__langs {
	width: 80px;
}

.footerTop__langs__select {
	width: 60px;
}

.footerTop__langs .selectric {
	background: #373944;
	border: 1px solid #373944;
	border-radius: 6px;
}
.footerTop__langs .selectric-open .selectric {
	border: 1px solid #373944;
}

.footerTop__langs .selectric .button {
	background: transparent;
	height: 30px;
	width: 20px;
}

.footerTop__langs .selectric .label {
	background: transparent;
	color: #626468;
	height: 25px;
	line-height: 25px;
	margin: 0;
	font-size: 14px;
	padding-left: 6px;
	font-weight: normal;
}

.footerTop__langs .selectric-wrapper {
	width: 55px;
}

.footerTop__langs .selectric-items {
	background: #373944;
	border: 1px solid #373944;
	top: 80%;
	border-radius: 6px;
	left: -23px;
	width: 100% !important;
	padding: 5px 0 5px 22px;
}

.footerTop__langs .selectric-scroll {
	overflow: visible !important;
}

.footerTop__langs .selectric-items li {
	height: 22px;
	padding: 5px 9px;
	text-align: left;
	line-height: 22px;
	font-size: 14px;
	margin-left: -23px;
	position: relative;
	padding: 5px 0;
}
/*height: 14px;*/
/*background-position: -4295px 0*/
.footerTop__langs .selectric-items li.highlighted.selected,
.footerTop__langs .selectric-items li:hover {
	background: #41454e;
	color: #fff;
}

.footerTop__langs .flag {
	display: inline-block;
	background: url('/media/app/src/wrapper/resource/img/flags.png');
	vertical-align: middle;
	margin: 0 8px;
	border-radius: 100%;
	width: 14px;
	height: 14px;
}

.footerTop__langs .flag.f_ru {
	height: 14px;
	background-position: -4295px 0
}

.footerTop__langs .flag.f_en {
	height: 11px;
	background-position: -5241px 0
}

.footerTop__langs .flag.f_pl {
	height: 13px;
	background-position: -4031px 0;
}


@media only screen and (min-width: 768px) {
	.footerTop .column {
		padding-left: 32px;
	}
	.footerTop .column:first-child {
		padding-left: 0;
	}
	.footerTop__linksColumn.column {
		float: left;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.footerTop__twoColumns.column {
		padding-left: 0;
	}
}

@media only screen and (min-width: 960px) {
	.footerTop__twoColumns.column {
		float: left;
	}
}

@media only screen and (min-width: 960px) and (max-width: 980px) {
	.footerTop__linksColumn {
		width: 206px;
	}
}



/* Footer - Global Footer */
.global-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #f3f4f6;
    padding: 38px 0 57px 0;
}

.global-footer .content-wrapper {
    max-width: 1146px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Two columns layout */
.footer-layout.layout--two-columns {
    display: flex;
    gap: 55px;
    justify-content: space-between;
}

.footer-layout.layout--two-columns::before,
.footer-layout.layout--two-columns::after {
    display: none;
}

/* Left column - brand area */
.footer-layout__brand-area {
    max-width: 192px;
}

/* Right column - navigation area */
.footer-layout__nav-area {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(auto, 186px));
    justify-content: space-between;
    width: 100%;
}

/* Brand info */
.brand-info__logo {
    margin-bottom: 24px;
}

.brand-info__logo-mobile {
    margin-bottom: 24px;
    display: none;
}

.brand-info__slogan {
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: rgba(19, 23, 32, 0.3);
    text-decoration: none;
}

/* Navigation groups */
.nav-group__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    color: rgba(19, 23, 32, 0.5);
    margin-bottom: 14px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-list__item {
    padding: 0;
}

.nav-list__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: rgba(19, 23, 32, 0.3) !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none;
    text-shadow: none;
    text-decoration: none !important;
	transition: all 0.3s ease-in-out;
	display: block;
}
.nav-list__link:hover {
	opacity: 1;
	transform: scale(1.05);
}

/* Inline navigation (for "Что почитать?" section) */
.nav-list--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

/* Copyright */
.copyright-info {
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    text-align: center;
    color: rgba(19, 23, 32, 0.25);
    border-top: 1px solid rgba(19, 23, 32, 0.25);
    padding-top: 21px;
    margin-top: 29px;
}
.footerTop__svg-mobile {
    display: none;
}
/* Tablet landscape (max-width: 1050px) */
@media (max-width: 1050px) {
    .footer-layout__nav-area {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (max-width: 960px) */
@media (max-width: 960px) {
    .global-footer {
        border-top: none;
        background: #383838;
        padding: 34px 0 42px 0;
    }
    .footerTop__svg-mobile {
        display: block;
    }
    .footerTop__svg {
        display: none;
    }
    .footer-layout__brand-area {
        max-width: 100%;
    }
    
    .footer-layout.layout--two-columns {
        flex-direction: column;
        gap: 22px;
    }
    
    .nav-list__link,
    .brand-info__slogan {
        color: #969696;
    }
    
    .footer-layout__nav-area {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-group__title {
        color: #fff;
        margin-bottom: 10px;
    }
}

/* Mobile (max-width: 768px) */
@media only screen and (max-width: 768px) {
    .footer-layout__nav-area {
        grid-template-columns: repeat(1, 1fr);
        gap: 22px;
    }
    
    .brand-info__logo-mobile {
        margin-bottom: 19px;
    }
    
    .copyright-info {
        font-size: 13px;
        line-height: normal;
        text-align: center;
        color: #969696;
        border-top: 1px solid #969696;
        padding-top: 43px;
        margin-top: 22px;
    }
    
    .nav-list {
        gap: 0;
    }
    
    .nav-list__link {
        font-size: 13px;
        line-height: 154%;
    }
    
    .brand-info__slogan {
        font-size: 14px;
        max-width: 280px;
        display: block;
    }
}