.directory-tag-cloud {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .4rem .5rem;
    min-height: 10rem;
    margin: 0;
    padding: clamp(.65rem, 1.5vw, 1.25rem);
    list-style: none;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background:
        radial-gradient(circle at 50% 45%, rgba(var(--bs-primary-rgb), .1), transparent 55%),
        rgba(255, 255, 255, .72);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .07);
}

.directory-tag-cloud.is-positioned {
    position: relative;
    display: block;
}

.directory-tag-cloud.is-positioned .tag-cloud-item {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

.tag-cloud-item {
    max-width: 100%;
}

.tag-cloud-term {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.75rem;
    max-width: 100%;
    padding: .25rem .55rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 .1rem .35rem rgba(0, 0, 0, .1);
}

.tag-cloud-term--available {
    color: #fff;
    background: #0a58ca;
}

.tag-cloud-term--available:hover {
    color: #fff;
    background: #084298;
    box-shadow: 0 .15rem .45rem rgba(10, 88, 202, .25);
}

.tag-cloud-term--available:focus-visible {
    color: #fff;
    outline: 2px solid #212529;
    outline-offset: 2px;
}

.tag-cloud-term--almost-available {
    color: #212529;
    background: #ffc107;
    border-color: #d39e00;
}

.tag-cloud-term--pending {
    color: #343a40;
    background: #e9ecef;
    border-color: #adb5bd;
}

.tag-cloud-legend-swatch {
    display: inline-block;
    width: .75rem;
    height: .75rem;
    border: 1px solid rgba(0, 0, 0, .28);
    border-radius: 50%;
    vertical-align: -.12rem;
}

.tag-cloud-legend-swatch--available {
    background: #0a58ca;
}

.tag-cloud-legend-swatch--almost-available {
    background: #ffc107;
}

.tag-cloud-legend-swatch--pending {
    background: #e9ecef;
}

.tag-description-card {
    position: relative;
    border-top-width: .35rem !important;
    cursor: default;
}

.tag-description-title {
    line-height: 1.2;
}

.tag-description-card--available {
    border-top-color: #0a58ca !important;
}

.tag-description-card--almost-available {
    border-top-color: #ffc107 !important;
}

.tag-description-card--pending {
    border-top-color: #adb5bd !important;
}

[data-tag-cloud-item][hidden],
[data-tag-card][hidden] {
    display: none !important;
}

@media (min-width: 768px) {
    .tag-description-title {
        min-height: 2.4em;
    }
}

@media (max-width: 575.98px) {
    .directory-tag-cloud {
        min-height: 8rem;
        padding: .5rem;
    }

    .tag-cloud-term {
        min-height: 1.6rem;
        padding: .2rem .45rem;
    }
}

.city-index-legend-swatch {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 1px solid rgba(0, 0, 0, .28);
    border-radius: 50%;
    vertical-align: -.12rem;
}

.city-index-legend-swatch--available {
    background: #0a58ca;
}

.city-index-legend-swatch--almost-available {
    background: #ffc107;
}

.city-index-legend-swatch--pending {
    background: #adb5bd;
}

.city-index-card {
    position: relative;
    border-top-width: .35rem !important;
    cursor: default;
}

.city-index-card--available {
    border-top-color: #0a58ca !important;
}

.city-index-card--almost-available {
    border-top-color: #ffc107 !important;
}

.city-index-card--pending {
    border-top-color: #adb5bd !important;
}

.ibkv-places {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 72% 45%, rgba(var(--bs-primary-rgb), .12), transparent 60%),
        rgba(255, 255, 255, .72);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .07);
}

.ibkv-figure {
    min-width: 7.5rem;
    max-width: 16rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(var(--bs-primary-rgb), .15);
    border-radius: .75rem;
    background: rgba(var(--bs-primary-rgb), .06);
}

.ibkv-figure-value {
    display: block;
    color: var(--bs-primary);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.ibkv-figure-label {
    display: block;
    color: var(--bs-secondary-color);
    font-size: .875rem;
    line-height: 1.3;
}

.ibkv-figure-detail {
    display: block;
}

.ibkv-dach-map {
    display: block;
    width: 100%;
    max-width: 34rem;
    height: auto;
    margin-inline: auto;
    overflow: visible;
    filter: drop-shadow(0 .5rem 1rem rgba(var(--bs-primary-rgb), .15));
}

.ibkv-dach-map a {
    text-decoration: none;
}

.ibkv-dach-country {
    stroke: #fff;
    stroke-width: 2;
    stroke-linejoin: round;
}

.ibkv-dach-country--deu {
    fill: rgba(var(--bs-primary-rgb), .16);
}

.ibkv-dach-country--aut {
    fill: rgba(var(--bs-primary-rgb), .24);
}

.ibkv-dach-country--che {
    fill: rgba(var(--bs-primary-rgb), .32);
}

.ibkv-dach-neighbour {
    fill: #e9ecef;
    stroke: #fff;
    stroke-width: 1;
}

.ibkv-dach-country-link text {
    fill: rgba(var(--bs-primary-rgb), .6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ibkv-dach-country-link:hover text,
.ibkv-dach-country-link:focus-visible text {
    fill: var(--bs-primary);
    text-decoration: underline;
}

.ibkv-dach-city text {
    fill: var(--bs-emphasis-color);
    font-size: 16px;
    font-weight: 700;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, .9);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.ibkv-dach-dot {
    fill: var(--bs-primary);
    stroke: #fff;
    stroke-width: 2.5;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .15s ease-out;
}

.ibkv-dach-rotation {
    transition: opacity .8s ease, visibility .8s;
}

.ibkv-dach-rotation.is-hidden {
    opacity: 0;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .ibkv-dach-rotation {
        transition: none;
    }
}

.ibkv-dach-toggle {
    display: block;
    margin: .25rem auto 0;
}

.ibkv-dach-pulse {
    fill: var(--bs-primary);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: ibkv-dach-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

g.ibkv-dach-city .ibkv-dach-dot {
    fill: var(--bs-secondary-color);
}

g.ibkv-dach-city .ibkv-dach-pulse {
    display: none;
}

.ibkv-dach-city:nth-of-type(2n) .ibkv-dach-pulse {
    animation-delay: .8s;
}

.ibkv-dach-city:nth-of-type(3n) .ibkv-dach-pulse {
    animation-delay: 1.6s;
}

a.ibkv-dach-city:hover .ibkv-dach-dot,
a.ibkv-dach-city:focus-visible .ibkv-dach-dot {
    transform: scale(1.35);
}

a.ibkv-dach-city:hover text,
a.ibkv-dach-city:focus-visible text {
    fill: var(--bs-primary);
    text-decoration: underline;
}

.ibkv-dach-map a:focus-visible {
    outline: 2px solid #0a58ca;
    outline-offset: 2px;
}

@keyframes ibkv-dach-pulse {
    0% {
        opacity: .45;
        transform: scale(1);
    }
    70%, 100% {
        opacity: 0;
        transform: scale(3.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ibkv-dach-pulse {
        animation: none;
    }

    .ibkv-dach-dot {
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .ibkv-dach-city text {
        font-size: 18px;
    }

}
