/* Shared styling for the programmatic-SEO pages: chip-style link grids
   (.geo-links) on hub/place/distance pages and click-to-copy fields
   (.js-copy). Registered site-wide from views/layouts/main.php. */

/* ---------- chip link grids ---------- */

.geo-links > [class*="col-"] {
    display: flex;
    margin-bottom: 10px;
}

.geo-links a {
    flex: 1;
    display: block;
    padding: 9px 13px;
    background: #f7f9fb;
    border: 1px solid #e5eaf1;
    border-radius: 7px;
    color: #3b4656;
    font-size: 0.92em;
    line-height: 1.4;
    overflow-wrap: break-word;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease,
                box-shadow 0.15s ease, transform 0.15s ease;
}

.geo-links a:hover {
    border-color: #9cc3ef;
    background: #eef5fd;
    color: #2c5f9e;
    box-shadow: 0 3px 10px rgba(44, 95, 158, 0.10);
    transform: translateY(-1px);
    text-decoration: none;
}

.geo-links a .type--fine-print,
.geo-links a small {
    color: #8a93a1;
}

/* ---------- click-to-copy fields (embed snippet, share link) ---------- */

.js-copy {
    display: block;
    width: 100%;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 12.5px;
    line-height: 1.5;
    color: #44506a;
    background: #f7f9fb;
    border: 1px dashed #c9d4e2;
    border-radius: 7px;
    padding: 10px 12px;
    cursor: copy;
    transition: border-color 0.15s ease, background 0.15s ease;
    resize: vertical;
}

.js-copy:hover,
.js-copy:focus {
    border-color: #4a90e2;
    background: #eef5fd;
    outline: none;
}

.copy-feedback {
    display: inline-block;
    margin-top: 6px;
    font: 600 12px 'Open Sans', sans-serif;
    color: #2e9e5b;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.copy-feedback.is-visible {
    opacity: 1;
}
