/*
 * City / service-city page helpers, layered on top of the template.
 *
 * The city cards reuse the template's .feature-box (background, radius, hover
 * border and icon nudge all come from style.css); these rules only make the box
 * usable as a link and add the "our base" badge.
 */

/* Turn a .feature-box into a link without changing how it looks. */
.our-features-con .feature-box.city-box {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.our-features-con .feature-box.city-box:hover,
.our-features-con .feature-box.city-box:focus {
    text-decoration: none;
    color: inherit;
}

.our-features-con .feature-box.city-box .text-size-26 {
    color: var(--accent--color);
}

/* "ჩვენი ბაზა" badge on the home city. */
.city-base-badge {
    display: inline-block;
    margin-bottom: 13px;
    padding: 4px 12px;
    background-color: var(--primary--color);
    color: var(--accent--color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

/* Note under a city heading explaining the base location. */
.city-base-note {
    max-width: 760px;
    margin: 18px auto 0;
    font-size: 16px;
    line-height: 26px;
}

/* Row of city links under a service card on the services page. */
.service-city-links {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin: 16px 0 30px;
}

.service-city-links-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--accent--color);
    opacity: 0.7;
}

.service-city-link {
    display: inline-block;
    padding: 3px 11px;
    background-color: var(--secondary--color);
    border: 1px solid rgb(7 41 92 / 15%);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--accent--color);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-city-link:hover,
.service-city-link:focus {
    background-color: var(--accent--color);
    border-color: var(--accent--color);
    color: var(--secondary--color);
    text-decoration: none;
}

/* On the grey services band the pills need the lighter ground to read. */
.bg-grey .service-city-link {
    background-color: var(--secondary--color);
}

/* City names rendered inside the template's .stats-box tiles. */
.stats-box .city-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.stats-box .city-link:hover,
.stats-box .city-link:focus {
    color: var(--accent--color);
    text-decoration: underline;
}
