/* ==========================================================================
   Cube Download Listing — scoped under .download-listing
   ========================================================================== */

.cube-content-flex {
	display: flex;
	align-items: center;
	padding-bottom: 137px;
}

.cube-content-flex .cube-content-flex-item:first-child {
	width: 45%;
}

.cube-content-flex .cube-content-flex-item:last-child {
	width: 55%;
	display: flex;
	padding-left: 100px;
}

h2.cube-dl__title-main {
	color: #031E45 !important;
	font-family: 'magistral';
	font-size: 60px;
	font-style: normal;
	font-weight: 400;
	line-height: 54px;
	margin: 0 !important;
	padding-bottom: 44px;
}

.cube-dl__content p {
	color: #031E45;
	font-family: 'suisse-intl';
	font-size: 22px;
	font-style: normal;
	font-weight: 400;	
	line-height: 26px;
}

.cube-dl__filters {
	display: flex;
	align-items: flex-end;
	gap: 27px;
	position: relative;
	width: 100%;
	margin-bottom: 0;
	padding-top: 60px;
}

.cube-dl__filter-wrap {
	width: 50%;
	display: flex;
	flex-direction: column;
	row-gap: 21px;
}

.cube-dl__filter-label {
	width: 100%;
	color: #031E45;
	font-family: 'suisse-intl';
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.2px;
	margin: 0 !important;
}

.cube-dl__select-wrap,
.cube-dl__search-wrap {
	position: relative;
	width: 100% !important;
}

.cube-dl__filter-wrap .cube-dl__select-wrap {
	max-width: none !important;
}

.cube-dl__search-wrap {
	display: flex;
	align-items: center;
	width: 50% !important;
}

body .container-wrap .download-listing .cube-dl__select {
	appearance: none !important;
	-webkit-appearance: none !important;
	background: #FFFFFF;
	border: 0 !important;
	border-radius: 999px;
	padding: 15px 44px 15px 24px;
	min-width: 190px;
	cursor: pointer;
	color: #B1B1B1;
	font-family: 'suisse-intl';
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-overflow: ellipsis;
}

body .container-wrap .download-listing .cube-dl__select.is-active {
	color: #031E45 !important;
}

body .container-wrap .download-listing .cube-dl__select option {
	color: #031E45 !important;
}

.cube-dl__select-wrap::before {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 46px;
	height: 46px;
	border-radius: 100%;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='14' viewBox='0 0 11 14' fill='none'%3E%3Cpath d='M9.83496 7.93555L5.24182 12.5202L0.750001 8.02842' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.29199 0.75L5.29199 12.5199' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px;
	background-color: #031E45;
	transition: 0.3s ease;
}

body .container-wrap .download-listing .cube-dl__search {
	background: #FFFFFF;
	border: 0 !important;
	border-radius: 999px;
	padding: 15px 44px 15px 24px;
	color: #031E45;
	font-family: 'suisse-intl';
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

body .container-wrap .download-listing .cube-dl__search::placeholder {
	color: #B1B1B1;
}

body .container-wrap .download-listing .cube-dl__search-btn {
	position: absolute;
	right: 4px;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 100% !important;
	background: #031E45;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

body .container-wrap .download-listing .cube-dl__search-btn:hover {
	background: #0085CF;
}

.cube-dl__select-wrap:hover::before {
	background-color: #0085CF;
}

body .container-wrap .download-listing .cube-dl__search-btn svg {
	width: 16px;
	height: 16px;
}

body .container-wrap .download-listing .cube-dl__clear-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 40px !important;
    background: #031E45;
    color: #fff;
    cursor: pointer;
    padding: 7px 18px;
    font-family: 'suisse-intl';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

body .container-wrap .download-listing .cube-dl__clear-btn {
    position: absolute;
    bottom: -60px;
}

body .container-wrap .download-listing .cube-dl__clear-btn span {
    line-height: 0 !important;
}

body .container-wrap .download-listing .cube-dl__clear-btn span svg {
    width: 15px;
    height: 15px;
}

body .container-wrap .download-listing .cube-dl__clear-btn:hover {
    background: #0085CF;
}

body .container-wrap .download-listing .cube-dl__clear-btn[hidden] {
    display: none !important;
}

.cube-dl__counter {
	margin-bottom: 23px;
	color: #031E45;
	font-family: 'suisse-intl';
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.16px;
}

/* ---------- Grid ---------- */

.cube-dl__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.cube-dl__grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.cube-dl__grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

/* ---------- Card ---------- */

.cube-dl__card {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    padding: 30px;
    padding-left: 50px;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}

.cube-dl__card:hover {
	transform: translateY(-2px);
}

.cube-dl__arrow {
	position: absolute;
	left: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 100%;
	background: #031E45;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	text-decoration: none;
	transition: background .3s ease-in-out, transform .3s ease-in-out;
}

.cube-dl__card:hover .cube-dl__arrow {
	background: #0085CF;
	transform: translateY(-50%) translateX(3px);
}

.cube-dl__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 85px;
}

.cube-dl__badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 100px;
    background: #00B8C5;
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.cube-dl__filesize {
    color: #031E45;
    font-family: 'suisse-intl';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.cube-dl__label {
    display: block;
    color: #0085CF;
    font-family: 'suisse-intl';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    margin-bottom: 10px !important;
}

body .container-wrap .download-listing .cube-dl__title {
    margin: 0 0 24px;
    color: #031E45;
    font-family: 'magistral';
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

body .container-wrap .download-listing .cube-dl__title a {
	color: #031E45;
	text-decoration: none;
}

body .container-wrap .download-listing .cube-dl__download-btn {
    display: inline-flex;
    align-items: center;
    gap: 29px;
    width: 174px !important;
    background: #0085CF;
    text-decoration: none;
    padding: 5px 8px 5px 26px;
    border-radius: 999px;
    transition: background .3s ease-in-out;
    color: #FFF;
    text-align: center;
    font-family: Magistral;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

body .container-wrap .download-listing .cube-dl__download-btn:hover {
    background: #2AC4EA!important;
}

.cube-dl__card .b-card__indicator {
    width: 32px;
    height: 91px;
    left: -2px;
}
.cube-dl__card .b-card__indicator svg.svg-icon {
    width: 13px;
    height: 13px;
    left: 6px;
}

.cube-dl__btn-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #031E45;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.3s ease;
}

.download-listing .cube-dl__download-btn:hover span.cube-dl__btn-arrow {
    transform: rotate(
-45deg);
}

.cube-dl__card:hover .b-card__indicator svg.svg-icon {
	fill: #00AEEF;
	transform: translateY(-50%) translateX(3px);
}

.cube-dl__empty {
	text-align: center;
	padding: 60px 20px;
	color: #031E45;
	font-family: 'magistral';
	font-size: 40px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

/* ---------- Pagination ---------- */

.cube-dl__pagination-wrap {
	display: flex;
	justify-content: center;
	margin-top: 70px;
	margin-bottom: 130px;
}

.cube-dl__pagination {
	display: flex;
	align-items: center;
	gap: 8px;
}

body .container-wrap .download-listing .cube-dl__page-btn {
	min-width: 46px;
	height: 46px;
	border-radius: 100% !important;
	border: none;
	background: #031E45;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #FFF;
	font-family: 'suisse-intl';
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 0.2px;
}

body .container-wrap .download-listing .cube-dl__page-btn:hover,
body .container-wrap .download-listing .cube-dl__page-next:hover span.cube-dl__page-next-icon,
body .container-wrap .download-listing .cube-dl__page-btn.is-active,
body .container-wrap .download-listing .cube-dl__page-prev:hover span.cube-dl__page-prev-icon {
	background: #0085CF;
}

body .container-wrap .download-listing .cube-dl__page-next:hover,
body .container-wrap .download-listing .cube-dl__page-prev:hover {
	background: #ffffff;
}

body .container-wrap .download-listing .cube-dl__page-next,
body .container-wrap .download-listing .cube-dl__page-prev {
	color: #031E45;
	border: 1px solid #e2e5ea;
	min-width: 140px !important;
	border-radius: 40px !important;
	background: #FFF;
	height: 54px !important;
	display: flex;
	justify-content: space-between;
	padding-left: 21px;
	padding-right: 4px !important;
	transition: background .3s ease-in-out;
}

body .container-wrap .download-listing .cube-dl__page-prev {
	padding-left: 4px !important;
	padding-right: 20px !important;
	gap: 20px !important;
}

span.cube-dl__page-next-icon,
span.cube-dl__page-prev-icon {
	width: 46px;
	height: 46px;
	background: #031E45;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background .3s ease-in-out;
}

.cube-dl__page-dots {
	color: #B1B1B1;
	padding: 0 4px;
}

body .container-wrap .download-listing .cube-dl__pagination--loadmore {
	width: 100%;
	justify-content: center;
}

body .container-wrap .download-listing .cube-dl__loadmore {
	padding: 10px 28px;
	border-radius: 999px;
	border: 1px solid #e2e5ea;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

/* ---------- Loading state ---------- */

.cube-dl__results-wrap {
	position: relative;
}

.cube-dl__loader {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 5;
	align-items: center;
	justify-content: center;
	background: #F1F4F9;
	border-radius: 40px;
}

.download-listing.is-loading .cube-dl__loader {
	display: flex;
}

.download-listing.is-loading .cube-dl__results {
	opacity: .35;
	pointer-events: none;
}

.cube-dl__spinner {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 6px solid #031E45;
	border-top-color: #F1F4F9;
	animation: cube-dl-spin .7s linear infinite;
}


@keyframes cube-dl-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Media queries ---------- */

@media (max-width: 1441px) {
	.cube-content-flex .cube-content-flex-item:last-child {
		padding-left: 20px;
	}
	h2.cube-dl__title-main {
		font-size: 50px;
		line-height: 54px;
		padding-bottom: 34px;
	}
	.cube-dl__content p {
		font-size: 19px;
		line-height: 23px;
	}
	.cube-dl__filters {
		gap: 15px;
	}
}

@media (min-width: 1281px) and (max-width: 1601px) {
	body .container-wrap .download-listing .cube-dl__title {
		font-size: 26px;
	}
	body .container-wrap .download-listing .cube-dl__page-next,
	body .container-wrap .download-listing .cube-dl__page-prev {
		height: 50px !important;
		display: flex;
		justify-content: space-between;
		padding-left: 21px;
		padding-right: 4px !important;
	}
	.cube-dl__pagination-wrap {
		margin-top: 60px;
		margin-bottom: 90px;
	}
	body .container-wrap .download-listing .cube-dl__page-btn {
		font-size: 18px;
	}
}

@media (max-width: 1281px) {
	h2.cube-dl__title-main {
		font-size: 42px;
		line-height: 44px;
		padding-bottom: 24px;
	}
	.cube-dl__content p {
		font-size: 18px;
		line-height: 22px;
	}
	.cube-content-flex {
		padding-bottom: 80px;
	}
}

@media (min-width: 1000px) and (max-width: 1280px) {
	.cube-dl__grid {
		gap: 20px;
		row-gap: 40px;
		grid-template-columns: repeat(3, 1fr);
	}
	body .container-wrap .download-listing .cube-dl__title {
		font-size: 26px;
	}
	body .container-wrap .download-listing .cube-dl__page-next,
	body .container-wrap .download-listing .cube-dl__page-prev {
		height: 50px !important;
		display: flex;
		justify-content: space-between;
		padding-left: 21px;
		padding-right: 4px !important;
	}
	.cube-dl__pagination-wrap {
		margin-top: 60px;
		margin-bottom: 90px;
	}
	body .container-wrap .download-listing .cube-dl__page-btn {
		font-size: 18px;
	}
}

@media (max-width: 999px) {
	.cube-dl__grid,
	.cube-dl__grid--cols-3,
	.cube-dl__grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		row-gap: 20px;
	}
	.cube-dl__filter-label {
		font-size: 17px;
	}
	.cube-dl__filters {
		gap: 10px;
	}
	.cube-content-flex .cube-content-flex-item {
		width: 100% !important;
		padding: 0 !important;
	}
	.cube-content-flex {
		flex-direction: column;
		padding-bottom: 60px !important;
	}
	.cube-dl__filter-wrap,
	.cube-dl__search-wrap {
		width: 100% !important;
	}
	body .container-wrap .download-listing .cube-dl__select,
	body .container-wrap .download-listing .cube-dl__search {
		padding: 11px 20px 11px 20px !important;
		font-size: 17px;
	}
	.cube-dl__select-wrap::before,
	body .container-wrap .download-listing .cube-dl__search-btn {
		width: 36px;
		height: 36px;
	}
	.cube-dl__counter {
		margin-bottom: 15px;
	}
	.cube-dl__card {
        border-radius: 20px;
        padding: 20px;
        padding-left: 35px !important;
    }
	.cube-dl__label {
		font-size: 14px;
		margin-bottom: 10px !important;
	}
	body .container-wrap .download-listing .cube-dl__title {
		margin: 0 0 16px;
		font-size: 22px;
	}
	.cube-dl__badge {
		font-size: 12px;
		padding: 5px 14px;
	}
	.cube-dl__filesize {
		font-size: 14px;
	}
    body .container-wrap .download-listing .cube-dl__download-btn {
        gap: 20px;
        width: 150px !important;
        padding: 5px 8px 5px 20px;
        font-size: 16px;
    }
	body .container-wrap .download-listing .cube-dl__clear-btn {
        padding: 5px 10px;
        font-size: 14px;
    }
    body .container-wrap .download-listing .cube-dl__clear-btn span svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 690px) {
	.cube-dl__filters {
		flex-direction: column;
	}
	.cube-dl__filter-wrap,
	.cube-dl__search-wrap {
		width: 100% !important;
	}
	.cube-dl__grid, .cube-dl__grid--cols-3, .cube-dl__grid--cols-4 {
		grid-template-columns: repeat(1, 1fr);
	}
	body .container-wrap .download-listing .cube-dl__title {
		margin: 0 0 12px;
		font-size: 20px;
	}
	body .container-wrap .download-listing .cube-dl__select,
	body .container-wrap .download-listing .cube-dl__search {
		font-size: 16px;
	}
	.cube-dl__pagination-wrap {
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.cube-dl__pagination {
		gap: 4px;
	}
	body .container-wrap .download-listing .cube-dl__page-next,
	body .container-wrap .download-listing .cube-dl__page-prev {
		font-size: 0;
		min-width: unset !important;
		padding: 0 !important;
		width: 40px !important;
		height: 40px !important;
		gap: 0;
	}
	span.cube-dl__page-next-icon, span.cube-dl__page-prev-icon {
		width: 40px !important;
		height: 40px !important;
	}
	body .container-wrap .download-listing .cube-dl__page-next span.cube-dl__page-next-text,
	body .container-wrap .download-listing .cube-dl__page-prev span.cube-dl__page-prev-text {
		display: none !important;
	}
	body .container-wrap .download-listing .cube-dl__page-btn {
		min-width: 40px;
		height: 40px;
		gap: 6px;
		font-size: 16px;
	}
	body .container-wrap .download-listing .cube-dl__clear-btn {
        margin-top: 10px;
    }
}