/*
 Theme Name:   Aglomeracja Child
 Description:  Aglomeracja Child Theme
 Author:       vware
 Author URI:   https://vware.org
 Template:     woodmart
 Version:      1.0.1
 Text Domain:  woodmart
*/

.agl-map {
	width: 100%;
	min-height: 280px;
	background: #e8eceb;
}

.agl-map-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #00b6e1;
	box-shadow: 0 1px 5px rgb(0 0 0 / 40%);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.agl-map-cluster span {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.agl-map .leaflet-popup-content {
	width: max-content;
	max-width: calc(100vw - 64px);
	box-sizing: border-box;
	margin: 10px;
}

.agl-map .leaflet-popup-content-wrapper.card {
	border-radius: 8px;
}

.agl-map .leaflet-popup.agl-map-popup--bottom .leaflet-popup-tip-container {
	top: 0;
	bottom: auto;
	margin-top: -20px;
	transform: rotate(180deg);
}

.agl-map .leaflet-popup.agl-map-popup--left .leaflet-popup-tip-container {
	top: 50%;
	right: -30px;
	bottom: auto;
	left: auto;
	margin: -10px 0 0;
	transform: rotate(-90deg);
}

.agl-map .leaflet-popup.agl-map-popup--right .leaflet-popup-tip-container {
	top: 50%;
	right: auto;
	bottom: auto;
	left: -30px;
	margin: -10px 0 0;
	transform: rotate(90deg);
}

.agl-map__popup {
	display: grid;
	align-items: center;
	gap: 10px;
}

.agl-map__popup--gallery {
	grid-template-columns: 150px fit-content(220px);
}

.agl-map__popup--slider {
	grid-template-columns: 190px fit-content(220px);
	column-gap: 1px;
}

.agl-map__popup--no-image {
	grid-template-columns: fit-content(260px);
}

.agl-map__content {
	min-width: 0;
}

.agl-map .leaflet-popup-close-button {
	top: 4px;
	right: 4px;
}

.agl-map .leaflet-popup-content .agl-map__title {
	display: block;
	color: #22264A;
	font-size: 14px;
}

.agl-map__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 4px !important;
}

.agl-map__gallery {
	display: grid;
	width: 150px;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

.agl-map__gallery--slider {
	width: 170px;
	grid-template-columns: 10px 150px 10px;
	gap: 0;
}

.agl-map__gallery-arrow {
	display: flex;
	width: 10px;
	min-width: 10px;
	height: 28px;
	align-items: center;
	justify-content: flex-start;
	padding: 0;
	border: 0;
	background: transparent;
	color: #22264A;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.agl-map__gallery-arrow--next {
	justify-content: flex-end;
}

.leaflet-container a.agl-map__link {
	display: inline-block;
	margin-top: 7px;
	color: #22264A;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
}

.agl-map__link::after {
	content: "\2192";
	display: inline-block;
	margin-left: 4px;
	text-decoration: none;
	transition: transform 180ms ease;
	font-size: 14px;
}

.leaflet-container a.agl-map__link:hover,
.leaflet-container a.agl-map__link:focus {
	color: #22264A;
}

.agl-map__link:hover::after,
.agl-map__link:focus::after {
	transform: translateX(5px);
}

.leaflet-attribution-flag, .leaflet-control-attribution.leaflet-control {
	display: none !important;
}

.agl-recent-posts-widget {
	margin: 0;
	padding: 0;
	list-style: none;
}

.agl-recent-posts-widget__item {
	display: flex;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--brdcolor-gray-300, #bbb);
}

.agl-recent-posts-widget__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.agl-recent-posts-widget__thumbnail {
	flex: 0 0 auto;
	max-width: 50%;
	overflow: hidden;
	margin-inline-end: 15px;
}

.agl-recent-posts-widget__thumbnail img {
	width: 60px;
	height: 60px;
	min-width: 60px;
	object-fit: cover;
	border-radius: calc(var(--wd-brd-radius, 10px) / 1.5);
}

.agl-recent-posts-widget__info {
	flex: 1 1 auto;
}

.agl-recent-posts-widget__title {
	margin-bottom: 8px;
	font-size: inherit;
}

.agl-recent-posts-widget__title a {
	color: #22264A;
	font-weight: 500;
}

.line:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 8px;
	background: linear-gradient(90deg, #faa31e 0 25%, #8bc878 0 50%, #a9559d 0 75%, #00b6e1 0);
}
.btn.btn-style-default {
	background: linear-gradient(135deg, #cedf73, #8bc979);
}
.chip {
	display: inline-block;
	width: 52px;
	background: #fff;
	border-radius: 14px;
	padding: 8px;
	line-height: 0;
}
.shadow {
	box-shadow: 0 10px 30px rgba(34, 38, 74, .06);
}
.card, .card2 {
	box-shadow: 0 10px 30px rgba(34, 38, 74, .06);
}
.card:before {
	content: "";
	position: absolute;
	left: 30px;
	top: -1px;
	width: 64px;
	height: 6px;
	border-radius: 0 0 6px 6px;
	background: linear-gradient(135deg, rgb(169, 85, 157), rgb(235, 91, 122));
}
.card2:before {
	content: "";
	position: absolute;
	left: 30px;
	top: -1px;
	width: 64px;
	height: 6px;
	border-radius: 0 0 6px 6px;
	background: linear-gradient(135deg, rgb(250, 163, 30), rgb(241, 98, 115));
}
.image-radius img {
	border-top-left-radius: 22px; 
	border-top-right-radius: 22px;
}
.wd-nav-arrows.wd-nav-arrows.wd-pos-together {
	position: inherit;
	display: flex;
	justify-content: flex-end;
	margin-right: 10px;
}
.animate-arrow .wd-btn-icon {
	transition: transform 0.2s ease;
}
.animate-arrow:hover .wd-btn-icon {
	transform: translateX(4px);
}
.wd-page-nav-icon {
	background: #fff;
}
.wpcf7-list-item-label a {
	color: #22264A;
}
.wd-post-read-more.wd-style-link a {
    --wd-link-color: #22264A;
    --wd-link-color-hover: #22264A;
    --wd-link-decor: none;
    --wd-link-decor-hover: none;
    text-transform: none;
    font-weight: 800;
    font-size: 15px;
}
.cat-item a {
	color: #22264A;
}

.wd-blog-element .wd-post-thumb img {
	aspect-ratio: var(--wd-aspect-ratio, revert-layer);
	object-fit: cover;
}

.wd-blog-archive .wd-post-thumb img {
	aspect-ratio: var(--wd-aspect-ratio, revert-layer);
	object-fit: cover;
}

.agl-municipality-grid {
	display: grid;
	max-width: 1440px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0 auto;
}

.agl-municipality-card {
	display: block;
	overflow: hidden;
	border: 1px solid #ececf1;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 30px rgb(34 38 74 / 6%);
	color: inherit;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.agl-municipality-card:hover,
.agl-municipality-card:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 15px 34px rgb(34 38 74 / 10%);
	color: inherit;
	text-decoration: none;
}

.agl-municipality-card:nth-child(4n + 1) {
	border-bottom: 6px solid #faa31e;
}

.agl-municipality-card:nth-child(4n + 2) {
	border-bottom: 6px solid #8bc878;
}

.agl-municipality-card:nth-child(4n + 3) {
	border-bottom: 6px solid #a9559d;
}

.agl-municipality-card:nth-child(4n) {
	border-bottom: 6px solid #00b6e1;
}

.agl-municipality-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #e9edf0;
}

.agl-municipality-card__image img,
.agl-municipality-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.agl-municipality-card__image-placeholder {
	background:
		radial-gradient(circle at 80% 22%, rgb(255 255 255 / 60%) 0 7%, transparent 7.5%),
		linear-gradient(135deg, #cedf73, #8bc979);
}

.agl-municipality-card__content {
	position: relative;
	display: flex;
	min-height: 216px;
	flex-direction: column;
	padding: 38px 30px 28px;
}

.agl-municipality-card__title {
	margin: 0 0 10px;
	color: #22264a;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
}

.agl-municipality-card__coat-of-arms {
	position: absolute;
	top: -40px;
	left: 20px;
	z-index: 1;
	display: flex;
	width: 52px;
	height: 56px;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 12px rgb(34 38 74 / 10%);
}

.agl-municipality-card__coat-of-arms img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.agl-municipality-coat-of-arms-shortcode {
	display: flex;
	justify-content: center;
}

.agl-municipality-coat-of-arms-shortcode img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 90px;
	object-fit: contain;
}

.agl-municipality-card__excerpt {
	margin: 0 0 20px;
	color: #44486b;
	font-size: 16px;
	line-height: 1.6;
}

.agl-municipality-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 0;
}

.agl-municipality-card__pearls {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 99px;
	background: #f6f6fa;
	color: #22264a;
	font-size: 14px;
	font-weight: 800;
	width: 50%;
	justify-content: space-around;
}

.agl-municipality-card__link-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border-bottom: 1px solid currentColor;
}

.agl-municipality-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.agl-municipality-card__link .wd-icon-btn {
	display: inline-block;
	transition: transform 180ms ease;
}

.agl-municipality-card__link:hover .wd-icon-btn,
.agl-municipality-card__link:focus .wd-icon-btn {
	transform: translateX(4px);
}

.agl-pearls-slider__title {
	margin: 0 0 28px;
	color: #22264a;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
}

.agl-pearls-slider .wd-carousel {
	overflow-x: clip;
}

.agl-pearls-slider--static .wd-carousel {
	overflow: visible;
	padding: 0;
	margin: 0;
}

.agl-pearls-slider--static .wd-carousel-wrap {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	transform: none;
}

.agl-pearls-slider--static .wd-carousel-item {
	max-width: none;
	padding: 0;
}

@media (max-width: 1024px) {
	.agl-pearls-slider--static .wd-carousel-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.agl-pearls-slider--static .wd-carousel-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}

.agl-pearls-slider .wd-carousel-item {
	height: auto;
}

.agl-pearl-card {
	display: flex;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 12px rgb(34 38 74 / 6%);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.agl-pearl-card:hover,
.agl-pearl-card:focus-within {
	transform: translateY(-5px);
	box-shadow: 0 15px 12px rgb(34 38 74 / 10%);
}

.agl-pearl-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #e9edf0;
}

.agl-pearl-card__image img,
.agl-pearl-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.agl-pearl-card__image-placeholder {
	background:
		radial-gradient(circle at 80% 22%, rgb(255 255 255 / 60%) 0 7%, transparent 7.5%),
		linear-gradient(135deg, #cedf73, #8bc979);
}

.agl-pearl-card__content {
	display: flex;
	min-height: 185px;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 26px;
}

.agl-pearl-card__title {
	margin: 0 0 12px;
	color: #22264a;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.3;
}

.agl-pearl-card__title a {
	color: inherit;
	text-decoration: none;
}

.agl-pearl-card__title a:hover {
	color: inherit;
}

.agl-pearl-card__excerpt {
	margin: 0 0 20px;
	color: #44486b;
	font-size: 15px;
	line-height: 1.6;
}

.agl-pearl-card__link-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	border-bottom: 1px solid currentColor;
}

.agl-pearl-card__link,
.agl-pearl-card__link:hover,
.agl-pearl-card__link:focus {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #22264a;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}

.agl-pearl-card__link .wd-icon-btn {
	display: inline-block;
	transition: transform 180ms ease;
}

.agl-pearl-card__link:hover .wd-icon-btn,
.agl-pearl-card__link:focus .wd-icon-btn {
	transform: translateX(4px);
}

.agl-pearl-municipalities {
	margin-top: 36px;
	padding: 24px 28px;
	border-radius: 16px;
	background: #f7f8fa;
}

.agl-pearl-municipalities__title {
	margin: 0 0 12px;
	color: #22264a;
	font-size: 20px;
	font-weight: 800;
}

.agl-pearl-municipalities__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.agl-pearl-municipalities__list a {
	color: #22264a;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.agl-municipality-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.agl-municipality-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.agl-municipality-card__content {
		min-height: 216px;
		padding: 38px 22px 24px;
	}

	.agl-pearl-card__content {
		min-height: 170px;
		padding: 20px;
	}
}