/* standard-list */

.standard-list ul {
	padding: 0;
}

.standard-list li {
	padding: 0;
}

.standard-list ul a {
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.925rem;
	padding: 1rem;
	display: block;
	color: var(--text1);
}

.standard-list ul a:hover {
	background-color: var(--bkg2);
	color: var(--hover5);
}

/* standard-default */

.standard-default ul {
	padding: 0;
}

.standard-default li {
	padding: 0;
}

.standard-default li .list-plus {
	display: flex;
}

.standard-default li .list-plus .picture img {
	width: 100px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.standard-default li .description {
	font-size: 0.925rem;
	color: var(--text2);
}

.standard-default ul li a {
	font-size: 0.925rem;
	padding: 1rem;
	display: block;
	color: var(--text1);
	flex-grow: 1;
	align-content: center;
}

.standard-default ul li a .title {
	text-transform: uppercase;
	font-weight: 600;
}

.standard-default ul a:hover {
	background-color: var(--bkg2);
	text-decoration: none;
}

.standard-default ul a:hover .title {
	color: var(--hover5);
	text-decoration: underline;
}

/* standard-column */

.standard-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.standard-columns article {
	display: flex;
	flex-direction: column;
	color: var(--text1);
	font-family: var(--font-family-sans-serif);
	background-color: white;
	border: 1px solid var(--border1);
}

.standard-columns a.button {
	font-size: clamp(0.875rem, 2vw, 1rem);
	font-weight: normal;
	color: var(--link2);
	border: 1px solid var(--border4);
	padding: 0.5rem 1.5rem;
	margin-top: 1rem;
	display: inline-block;
	align-self: start;
}

.standard-columns a:hover {
	color: var(--hover2);
}

.standard-columns a.button:hover {
	color: var(--white);
	text-decoration: none;
	background-color: var(--bkg7);
}

.standard-columns .picture {
	position: relative;
	max-height: 440px;
	overflow: hidden;
	display: flex;
	border: 1px solid var(--text3);
	margin-bottom: 0.5rem;
}

.standard-columns img {
	object-fit: cover;
	width: 100%;
	max-width: 100%;
}

.standard-columns img {
	margin: 0 auto;
}

.standard-columns .card-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.standard-columns .title {
	font-weight: bold;
	line-height: 1.4;
	font-size: clamp(1rem, 2.5vw, 1.225rem);
	padding: 0.5rem;
}

.standard-columns .description {
	font-size: 1rem;
}

@media (max-width: 768px) {
	.standard-columns article {
		flex-direction: column;
	}

	.standard-columns .picture {
		margin-bottom: 0.5rem;
		width: 100%;
		min-width: 100%;
	}
}

/* standard-column-2 */

.standard-columns-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.standard-columns-2 a {
	color: var(--text1);
	background-color: var(--text10);
	padding: 1rem 2.5rem;
	border-radius: 0.225rem;
	transition: all 250ms ease-in-out;
}

.standard-columns-2 a:hover {
	color: var(--white);
	background-color: var(--text8);
	transition: all 250ms ease-in-out;
	text-decoration: none;
}

.standard-columns-2 .card-top {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 1rem;
}

.standard-columns-2 .title {
	font-size: clamp(1.225rem, 2.5vw, 1.525rem);
	font-weight: 700;
	padding: 2rem 0 0 0;
}

.standard-columns-2 .title:after {
	content: "";
	display: block;
	min-width: 2rem;
	position: relative;
	border-color: var(--text1);
	border-style: solid;
	border-width: 0;
	width: clamp(1rem, 1.5vw, 2.425rem);
	border-top-width: clamp(0.0925rem, 1vw, 0.205rem);
	bottom: 0rem;
	transition: all 250ms ease-in-out;
}

.standard-columns-2 a:hover .title:after {
	border-color: var(--white);
	transition: all 250ms ease-in-out;
}

.standard-columns-2 .description {
	font-size: clamp(0.625rem, 1vw, 0.825rem);
}

/* sub verticals */
.sub-vertical {
	display: flex;
	flex-direction: column;
}

.sub-vertical article {
	display: flex;
	flex-direction: row;
	color: var(--text1);
	font-family: var(--font-family-sans-serif);
	/* background-color: white;
	padding: 2rem 0; */
}

/* .sub-vertical article:not(:last-child) {
	border-bottom: 1px solid var(--border1);
} */

.sub-vertical .picture {
	position: relative;
	max-height: 360px;
	overflow: hidden;
	display: flex;
	border: 1px solid var(--text3);
	margin-right: 2rem;
}

.sub-vertical img {
	object-fit: cover;
	width: 100%;
	aspect-ratio: 1.225;
	border-radius: .225rem;
}

.sub-vertical .card-body {
	flex-grow: 1;
}

.sub-vertical .card-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.sub-vertical .title {
	font-weight: bold;
	line-height: 1.4;
	font-size: clamp(1.125rem, 2.5vw, 1.325rem);
	margin: 0.5rem 0;
}

.sub-vertical .description {
	margin-bottom: 1rem;
}

.sub-vertical .more {
	text-transform: uppercase;
	font-size: 0.875rem;
	font-weight: bold;
	display: inline-block;
	padding: 0.5rem 2rem;
	border: 2px solid var(--border1);
}

.sub-vertical .more:hover {
	color: var(--link3);
	border: 2px solid var(--link3);
}

@media (max-width: 768px) {
	.sub-vertical article {
		flex-direction: column;
	}

	.sub-vertical .picture {
		margin-right: 0rem;
		margin-bottom: 0.5rem;
		width: 100%;
		min-width: 100%;
	}
}

/* offers */

.sub.offers {
	max-width: 1000px;
}

/* .sub.offers article, */
.sub.offers article > a {
	display: flex;
	flex-direction: row;
	color: var(--text1);
	font-family: var(--font-family-sans-serif);
	margin-bottom: calc(1rem + 1vw);
	background-color: white;
	align-items: flex-start;
	border-radius: 2rem;
}

.sub.offers a.button {
	font-size: clamp(0.875rem, 2vw, 1.125rem);
	font-weight: 500;
	color: var(--link2);
	border: 1px solid var(--border4);
	padding: 0.5rem 1.5rem;
	margin-top: 1rem;
	display: inline-block;
	align-self: start;
}

.sub.offers a:hover {
	background: var(--text10);
}

.sub.offers a:hover .title {
	color: var(--text9);
}

.sub.offers a.button:hover {
	color: var(--white);
	text-decoration: none;
	background-color: var(--bkg7);
}

.sub.offers .picture {
	position: relative;
	max-height: 440px;
	overflow: hidden;
	display: flex;
	width: 200px;
	height: auto;
}

.sub.offers .picture img {
	transition: all ease-in-out 0.2s;
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

.sub.offers .card-body {
	width: 100%;
	margin-top: 0.725rem;
}

.sub.offers a img {
	margin: 0 auto;
}

.sub.offers .title {
	line-height: 1.4;
	font-size: clamp(1.825rem, 2.5vw, 2.325rem);
	margin-bottom: 1.5rem;
	color: var(--text4);
}

.sub.offers .title strong,
.sub.offers .title b {
	display: block;
	font-weight: 700;
}

.sub.offers .description {
	font-weight: var(--font-weight);
	font-size: clamp(1.125rem, 3vw, 1.425rem);
}

@media (max-width: 768px) {
	.sub.offers article a {
		flex-direction: column;
	}

	.sub.offers .card-body {
		margin-bottom: 2rem;
		margin-top: 0;
		padding-top: 0;
	}

	.sub.offers .picture {
		margin-bottom: 0.5rem;
		width: 100%;
		min-width: 100%;
		align-self: flex-start;
		overflow: hidden;
		display: flex;
	}

	.sub.offers .picture img {
		max-width: 120px;
		height: 100%;
		text-align: left;
		margin: 0;
	}
}

/* .sub-news */

.sub-news {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(3, 1fr);
}

.page.container.column .sub-news {
	grid-template-columns: repeat(3, 1fr);
}

.sub-news .item {
	display: flex;
	flex-direction: column;
	margin-bottom: 3rem;
}

.sub-news .item a {
	color: var(--text1);
	display: block;
	height: 100%;
}

.sub-news .item a:hover {
	color: var(--text1);
	text-decoration: none;
}

.sub-news .item .picture {
	outline: 1px solid var(--border4);
	margin-bottom: 1rem;
	overflow: hidden;
	display: flex;
}

.sub-news .item .picture img {
	object-fit: cover;
	object-position: center center;
	width: 100%;
	aspect-ratio: 1 / 1;
	transition: all 250ms;
}

a:hover .picture img {
	transform: scale(1.2);
	transition: all 250ms;
	text-decoration: none;
}

.sub-news .item time {
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
	display: block;
}

.sub-news .item time svg {
	color: var(--text4);
}

.sub-news .item .title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text4);
	margin-bottom: 1rem;
}

.sub-news .item a:hover .title {
	color: var(--hover4);
}

.sub-news .item a:hover time,
.sub-news .item a:hover .description {
	color: var(--text1);
}

@media (max-width: 1200px) {
	.sub-news {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.sub-news {
		grid-template-columns: 1fr;
	}
}

/* animacja zdjecia */
a .picture img {
	transition: all 250ms;
}

a:hover .picture img {
	transform: scale(1.2);
	transition: all 250ms;
	text-decoration: none;
}

/* ------------------ paginacja ------------------ */
.nav-pagination {
	margin: 3rem auto 0.5rem;
	text-align: center;
}

.nav-pagination > ul {
	justify-content: center;
}

.nav-pagination ul.pagination {
	justify-content: center;
	margin: 1rem auto 2rem;
}

.nav-pagination ul.pagination a {
	font-size: 0.875rem;
	padding: 0.5rem 0.875rem;
	background-color: var(--bkgPagin);
	color: var(--colorPagin);
	cursor: pointer;
}

.active.page-item a,
.page-item a.page-link:hover {
	background-color: var(--bkgPaginActive) !important;
	color: var(--colorPaginActive) !important;
	border-color: var(--bkgPaginHover);
	text-decoration: none;
	z-index: 0;
}
