/* ==========================================================================
   ISAS — Destinations landing page (/destination/)
   Loads after destination.css + destination-region.css.
   ========================================================================== */
.dst--archive .locations-section {
    padding: 0;
    background: #fff;
}

/* Region links */
.dst-az__regions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: -24px 0 28px;
}
.dst-az__label {
	margin-right: 6px;
	color: var(--dst-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.dst-az__region {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--dst-blue-line);
	border-radius: 2px;
	background: var(--dst-white);
	color: var(--dst-blue);
	font-size: 14px;
	font-weight: 600;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.dst-az__region:hover { border-color: var(--dst-blue); background: var(--dst-blue); color: var(--dst-white); }

/* Letter bar (sticks while scrolling the list) */
.dst-az__letters {
	position: sticky;
	top: var(--dst-az-sticky, 0px);
	z-index: 5;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
	gap: 6px;
	margin-bottom: 48px;
	padding: 12px;
	border: 1px solid var(--dst-line);
	border-radius: 2px;
	background: var(--dst-white);
	box-shadow: 0 8px 24px rgba(2, 42, 92, .06);
}
.dst-az__letter {
	display: grid;
	place-items: center;
	height: 36px;
	border-radius: 2px;
	color: var(--dst-title);
	font-size: 14px;
	font-weight: 700;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
a.dst-az__letter:hover { background: var(--dst-blue); color: var(--dst-white); }
.dst-az__letter.is-empty { color: #c3c8d0; font-weight: 600; }
.dst-az__letter.is-dim { opacity: .3; pointer-events: none; }

/* Letter groups */
.dst-az__group { scroll-margin-top: calc(var(--dst-az-sticky, 0px) + 110px); }
.dst-az__group-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--dst-line);
}
.dst-az__tile {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 2px;
	background: var(--dst-royal);
	color: var(--dst-white);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}
.dst-az .dst-dir__group + .dst-dir__group { margin-top: 40px; }

@media (max-width: 991px) {
	.dst-az__regions { margin-top: -12px; }
	.dst-az__letters { grid-template-columns: repeat(13, 1fr); }
}
@media (max-width: 600px) {
	.dst-az__regions { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--dst-gutter) * -1) 20px; padding: 0 var(--dst-gutter) 4px; }
	.dst-az__label { flex: none; white-space: nowrap; }
	/* Two compact columns: 130+ countries stay scannable */
	.dst-az .dst-dir__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.dst-az .dst-dir__link { min-height: 56px; padding: 10px 12px; gap: 0; }
	.dst-az .dst-dir__plus, .dst-az .dst-dir__arrow { display: none; }
	.dst-az .dst-dir__pre { font-size: 10px; }
	.dst-az .dst-dir__name { font-size: 14px; }
	.dst-az__region { flex: none; }
	.dst-az__letters { position: static; grid-template-columns: repeat(9, 1fr); gap: 4px; padding: 8px; margin-bottom: 32px; }
	.dst-az__letter { height: 32px; font-size: 13px; }
	.dst-az__tile { width: 40px; height: 40px; font-size: 18px; }
}
