.scc-locdir {
    text-align: left;
}

.scc-locdir__title {
    margin-bottom: 12px;
}

.scc-locdir__intro {
    max-width: 760px;
    margin-bottom: 20px;
}

.scc-locdir__intro p:last-child {
    margin-bottom: 0;
}

/* Country links */
.scc-locdir__countries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.scc-locdir__countries a {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #253e88;
    border-radius: 999px;
    color: #253e88;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.scc-locdir__countries a:hover,
.scc-locdir__countries a:focus {
    background-color: #253e88;
    color: #fff;
    text-decoration: none;
}

/* Country sections */
.scc-locdir__country {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.scc-locdir__country-title {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px solid #10c2eb;
    color: #253e88;
}

.scc-locdir__country-title a {
    color: inherit;
    text-decoration: none;
}

.scc-locdir__country-title a:hover {
    text-decoration: underline;
}

/* England: county/area blocks flow into columns, stacking to one on mobile */
.scc-locdir__areas {
    columns: 4 220px;
    column-gap: 32px;
}

.scc-locdir__area {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 24px;
}

.scc-locdir__area-title {
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #253e88;
}

.scc-locdir__area-title a {
    color: inherit;
}

/* Town lists */
.scc-locdir__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scc-locdir__links li {
    margin: 0;
    padding: 3px 0;
    line-height: 1.4;
}

.scc-locdir__links a {
    color: #49494d;
}

.scc-locdir__links a:hover,
.scc-locdir__links a:focus {
    color: #10c2eb;
}

.scc-locdir__links--columns {
    columns: 4 180px;
    column-gap: 32px;
}

@media (max-width: 575px) {
    /* Two short columns of towns read better than one very long list on phones */
    .scc-locdir__links--columns {
        columns: 2;
        column-gap: 16px;
    }

    .scc-locdir__links li {
        padding: 5px 0; /* larger tap targets */
    }
}
