/* UK Location Manager — Frontend */

.uklm-single,
.uklm-archive,
.uklm-coverage {
	--uklm-ink: #111111;
	--uklm-muted: #444444;
	--uklm-line: #e5e5e5;
	--uklm-surface: #f3f3f3;
	--uklm-accent: #f05a28;
	--uklm-radius: 4px;
	color: var(--uklm-ink);
}

.uklm-single,
.uklm-archive {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 1.25rem 0;
}

.uklm-coverage--shortcode {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0;
}

.uklm-detail {
	padding-bottom: 0;
}

.uklm-section-title {
	font-size: 1.5rem;
	margin: 2.5rem 0 1rem;
}

.uklm-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	font-size: 0.9rem;
	color: var(--uklm-muted);
}

.uklm-breadcrumb__item a {
	color: var(--uklm-accent);
	text-decoration: none;
}

.uklm-breadcrumb__item a:hover {
	text-decoration: underline;
}

.uklm-breadcrumb__item--current span {
	color: var(--uklm-ink);
	font-weight: 600;
}

.uklm-breadcrumb__item + .uklm-breadcrumb__item::before {
	content: "/";
	display: inline-block;
	margin: 0 0.45rem 0 0.15rem;
	color: var(--uklm-muted);
}

.uklm-detail__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.15;
	margin: 0 0 1rem;
	font-weight: 800;
}

.uklm-detail__lead {
	color: var(--uklm-muted);
	line-height: 1.7;
	font-size: 1.05rem;
	max-width: 920px;
}

.uklm-detail__lead a {
	color: var(--uklm-accent);
	font-weight: 600;
}

.uklm-detail__lead p {
	margin: 0 0 1rem;
}

.uklm-services {
	margin: 2.75rem 0 1rem;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.uklm-services__band {
	background: linear-gradient(to bottom, #1b2430 0 48%, #ffffff 48% 100%);
	padding: 2.25rem 1.25rem 1.5rem;
}

.uklm-services__grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

.uklm-service-card {
	background: #ffffff;
	text-align: center;
}

.uklm-service-card__media {
	position: relative;
	overflow: visible;
}

.uklm-service-card__media > img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #d8d8d8;
}

.uklm-service-card__icon {
	position: absolute;
	right: 0;
	bottom: -14px;
	width: 46px;
	height: 46px;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	z-index: 2;
}

.uklm-service-card__icon img {
	width: 28px;
	height: 28px;
	display: block;
}

.uklm-service-card__title {
	margin: 1.35rem 0 0.85rem;
	padding: 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
	color: #111;
}

@media (max-width: 1000px) {
	.uklm-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.uklm-services__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
	}
}

.uklm-services__grid-legacy {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1.75rem;
}

.uklm-callout {
	margin: 3rem 0 2rem;
}

.uklm-callout__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
}

.uklm-callout__text,
.uklm-callout__areas-label {
	color: var(--uklm-muted);
	line-height: 1.65;
	margin: 0 0 0.85rem;
}

.uklm-callout__areas-label {
	font-weight: 600;
	color: var(--uklm-ink);
}

.uklm-areas-table {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem 2rem;
	margin-top: 1rem;
}

.uklm-areas-table__col {
	list-style: none;
	margin: 0;
	padding: 0;
}

.uklm-areas-table__col li {
	margin: 0 0 0.45rem;
	line-height: 1.4;
}

.uklm-areas-table__col a {
	color: var(--uklm-ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.uklm-areas-table__col a:hover {
	color: var(--uklm-accent);
	border-bottom-color: var(--uklm-accent);
}

.uklm-stats {
	margin: 1.5rem 0 2.5rem;
}

.uklm-stats__list {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--uklm-muted);
	line-height: 1.7;
}

.uklm-stats__list li {
	margin-bottom: 0.55rem;
}

.uklm-faq {
	margin: 2.5rem 0 2rem;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.uklm-faq .uklm-section-title {
	margin-bottom: 1.25rem;
}

.uklm-faq-accordion {
	border-top: 1px solid #e5e5e5;
}

.uklm-faq-item {
	border-bottom: 1px solid #e5e5e5;
}

.uklm-faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 0.25rem;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
	line-height: 1.35;
}

.uklm-faq-item__icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	position: relative;
}

.uklm-faq-item__icon::before,
.uklm-faq-item__icon::after {
	content: "";
	position: absolute;
	background: #111;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.uklm-faq-item__icon::before {
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	margin-top: -1px;
}

.uklm-faq-item__icon::after {
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
}

.uklm-faq-item.is-open .uklm-faq-item__icon::after {
	opacity: 0;
	transform: scaleY(0);
}

.uklm-faq-item__label {
	flex: 1;
}

.uklm-faq-item__answer {
	padding: 0 0.25rem 1.1rem 2.1rem;
	color: var(--uklm-muted);
	line-height: 1.7;
}

.uklm-faq-item__answer p {
	margin: 0;
}

.uklm-faq h3 {
	margin: 1.25rem 0 0.35rem;
	font-size: 1.1rem;
}

.uklm-faq h3:first-child {
	margin-top: 0;
}

.uklm-cta-bar {
	margin-top: 2rem;
	background: #d9d9d9;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.uklm-cta-bar__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.35rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.uklm-cta-bar__copy {
	flex: 1;
}

.uklm-cta-bar__line1,
.uklm-cta-bar__line2 {
	margin: 0;
	line-height: 1.45;
	color: #222;
}

.uklm-cta-bar__line1 {
	font-weight: 700;
	margin-bottom: 0.2rem;
}

.uklm-cta-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--uklm-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 800;
	font-size: 1rem;
	padding: 0.95rem 1.25rem;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.uklm-cta-bar__btn:hover {
	filter: brightness(0.95);
}

.uklm-location-grid {
	display: grid;
	grid-template-columns: repeat(var(--uklm-cols, 3), minmax(0, 1fr));
	gap: 1.25rem;
}

.uklm-coverage {
	padding-bottom: 3rem;
}

.uklm-coverage__intro {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 2rem;
}

.uklm-coverage__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2.8vw, 1.85rem);
	font-weight: 800;
	line-height: 1.3;
	color: var(--uklm-ink);
}

.uklm-coverage__lead {
	color: var(--uklm-muted);
	line-height: 1.7;
	font-size: 1.02rem;
}

.uklm-coverage__lead p {
	margin: 0 0 1rem;
}

.uklm-coverage__phone {
	margin: 1rem 0 0;
	font-weight: 700;
}

.uklm-coverage__phone a {
	color: var(--uklm-accent);
	text-decoration: underline;
}

.uklm-coverage__areas-heading {
	text-align: center;
	font-weight: 700;
	font-size: 1.15rem;
	margin: 0 0 1.5rem;
	color: var(--uklm-ink);
}

.uklm-coverage__countries {
	display: grid;
	gap: 2.25rem;
}

.uklm-coverage__country-title {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--uklm-ink);
}

.uklm-coverage__country-title a {
	color: var(--uklm-ink) !important;
	text-decoration: none !important;
}

.uklm-coverage__country-title a:hover {
	color: var(--uklm-accent) !important;
}

.uklm-zebra-list {
	display: grid !important;
	width: 100%;
	border: 1px solid #e0e0e0;
	border-bottom: 0;
	background: #fff;
	overflow: hidden;
}

.uklm-zebra-list__row {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0;
	border-bottom: 1px solid #e0e0e0;
	width: 100%;
}

.uklm-zebra-list__row.is-odd {
	background: #ffffff;
}

.uklm-zebra-list__row.is-even {
	background: #f2f2f2;
}

.uklm-zebra-list__item {
	display: block;
	padding: 0.65rem 0.9rem;
	color: var(--uklm-accent) !important;
	font-weight: 600;
	text-decoration: underline !important;
	line-height: 1.35;
	border-right: 1px solid #e0e0e0;
	box-sizing: border-box;
}

.uklm-zebra-list__item:last-child {
	border-right: 0;
}

.uklm-zebra-list__item:hover {
	color: #d1471c !important;
}

/* Nested shortcode inside archive — avoid double padding */
.uklm-archive .uklm-coverage--shortcode {
	max-width: none;
	margin: 0;
	padding: 0;
}

.uklm-archive .uklm-coverage--shortcode .uklm-archive__inner {
	padding: 0;
	max-width: none;
}

@media (max-width: 900px) {
	.uklm-zebra-list__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.uklm-zebra-list__item:nth-child(2n) {
		border-right: 0;
	}
}

@media (max-width: 560px) {
	.uklm-zebra-list__row {
		grid-template-columns: 1fr;
	}

	.uklm-zebra-list__item {
		border-right: 0;
		border-bottom: 1px solid #e0e0e0;
	}

	.uklm-zebra-list__item:last-child {
		border-bottom: 0;
	}
}

.uklm-country-sections {
	display: grid;
	gap: 2rem;
}

.uklm-country-section {
	padding-top: 0.25rem;
}

.uklm-country-section + .uklm-country-section {
	border-top: 1px solid var(--uklm-line);
	padding-top: 2rem;
}

.uklm-country-section__title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.uklm-country-section__title a {
	color: var(--uklm-ink);
	text-decoration: none;
}

.uklm-country-section__title a:hover {
	color: var(--uklm-accent);
}

.uklm-card {
	margin: 0;
	border: 1px solid var(--uklm-line);
	border-radius: var(--uklm-radius);
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uklm-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(26, 35, 50, 0.08);
}

.uklm-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.uklm-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: #dce5ee;
}

.uklm-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem 1.2rem;
}

.uklm-card__type {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--uklm-accent);
	font-weight: 700;
}

.uklm-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

.uklm-card__excerpt {
	font-size: 0.9rem;
	color: var(--uklm-muted);
	line-height: 1.5;
}

.uklm-parent-link {
	color: var(--uklm-accent);
	font-weight: 600;
	text-decoration: none;
}

.uklm-parent-link:hover {
	text-decoration: underline;
}

.uklm-children {
	margin-top: 2rem;
}

@media (max-width: 900px) {
	.uklm-location-grid,
	.uklm-areas-table {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.uklm-cta-bar__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.uklm-cta-bar__btn {
		white-space: normal;
		text-align: center;
		width: 100%;
	}
}

@media (max-width: 560px) {
	.uklm-location-grid,
	.uklm-areas-table {
		grid-template-columns: 1fr;
	}
}
