/* Regional directory and job filters. Shared product styles remain in style.css. */
.ssg-page .ssgr-guide { color: #202124; }
.ssgr-guide [hidden] { display: none !important; }
.ssg-page .ssgr-heading { padding: 22px 0 27px; border-bottom: 1px solid #242424; }
.ssg-page .ssgr-heading h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.18; font-weight: 750; letter-spacing: -.055em; }
.ssg-page .ssgr-heading .ssg-lead { margin: 13px 0 0; max-width: 53em; font-size: 17px; line-height: 1.68; color: #4a4b50; }
.ssg-page .ssgr-current { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 16px; font-size: 13px; color: #5b5d62; }
.ssgr-current a { display: inline-flex; align-items: center; gap: 5px; line-height: 30px; font-weight: 550; color: #202124; }
.ssgr-current a:hover, .ssgr-guide .ssgr-places a:hover, .ssgr-guide .ssgr-more summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.ssg-page .ssgr-fields, .ssg-page .ssgr-featured { display: flex; align-items: baseline; gap: 10px 24px; padding: 18px 0; border-bottom: 1px solid #e4e5e6; }
.ssg-page .ssgr-fields h2, .ssg-page .ssgr-featured h2 { margin: 0; font-size: 15px; font-weight: 700; flex: 0 0 70px; }
.ssgr-fields ul, .ssgr-featured ul { display: flex; gap: 6px; flex-wrap: wrap; }
.ssgr-fields a, .ssgr-featured a { display: block; padding: 7px 13px; border: 1px solid #dadbde; border-radius: 24px; font-size: 14px; line-height: 1.45; font-weight: 550; }
.ssgr-fields a[aria-current="page"] { background: #222; border-color: #222; color: #fff; }
.ssgr-fields a[aria-current="page"]:hover { color: #fff; }
.ssgr-fields a:hover, .ssgr-featured a:hover { border-color: #555; }
.ssgr-featured a { background: #f3f3f3; border-color: transparent; }
.ssgr-fields .ssgr-fields-index { padding: 0; white-space: nowrap; border: none; border-radius: 0; font: inherit; }
.ssgr-fields .ssgr-fields-index:hover, .ssgr-ad-guide a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ssg-page .ssgr-ad-guide { text-align: right; font-size: 13px; color: #55565a; padding-top: 7px; }
.ssg-page .ssgr-directory,.ssg-page .ssgr-subareas { margin: 30px 0 36px; padding: 0; }
.ssgr-directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.ssg-page .ssgr-directory h2, .ssg-page .ssgr-subareas h2 { font-size: 23px; font-weight: 750; letter-spacing: -.045em; line-height: 1.3; }
.ssgr-search { position: relative; flex: 0 1 300px; }
.ssgr-search:before, .ssgr-search:after { pointer-events: none; position: absolute; display: block; content: ""; }
.ssgr-search:before { top: 13px; left: 15px; width: 12px; height: 12px; border: 1.7px solid #505156; border-radius: 50%; }
.ssgr-search:after { top: 25px; left: 25px; width: 6px; height: 1.5px; background: #505156; transform: rotate(45deg); }
.ssg-page .ssgr-search input { width: 100%; height: 42px; padding: 0 13px 0 38px; border: 1px solid #d3d4d6; border-radius: 7px; background: #fff; font: inherit; font-size: 15px; line-height: 1.3; color: #202124; }
.ssgr-search input::placeholder { color: #6e7076; }
.ssgr-search input:focus { outline: 2px solid #333; outline-offset: 2px; }
.ssg-page .ssgr-result:not(:empty) { margin: 4px 0 14px; font-size: 14px; color: #505156; }
.ssgr-provinces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.ssg-page .ssgr-province { padding: 17px 17px 13px; border: 1px solid #dedfe1; border-radius: 10px; min-width: 0; background: #fff; }
.ssg-page .ssgr-province h3 { font-size: 20px; line-height: 1.35; font-weight: 720; }
.ssgr-province h3 a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; }
.ssgr-province h3 a:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.ssg-page .ssgr-places { display: flex; flex-wrap: wrap; gap: 0 11px; margin-top: 6px; }
.ssgr-places li { min-width: 0; }
.ssgr-places a { display: block; font-size: 14px; line-height: 1.45; font-weight: 450; padding: 6px 0; }
.ssgr-province .ssgr-more { border: 0; margin: 5px 0 0; padding: 0; background: transparent; }
.ssgr-province .ssgr-more summary { display: list-item; width: fit-content; padding: 4px 0; cursor: pointer; font-size: 12px; font-weight: 500; line-height: 1.5; color: #5c5d62; }
.ssgr-province .ssgr-more[open] summary { color: #2c2c2e; }
.ssg-page .ssgr-province-scope { margin: 12px 0 6px; font-size: 14px; color: #616267; }
.ssg-page .ssgr-subareas ul { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 19px; margin-top: 15px; border-top: 1px solid #d3d4d6; }
.ssgr-subareas li { min-width: 0; border-bottom: 1px solid #e4e5e6; }
.ssgr-subareas a { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 45px; padding: 5px 3px; font-size: 15px; }
.ssgr-subareas a:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .ssgr-provinces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ssg-page .ssgr-subareas ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .ssg-page .ssgr-heading { padding: 15px 0 20px; }
    .ssg-page .ssgr-heading .ssg-lead { font-size: 16px; margin-top: 10px; }
    .ssg-page .ssgr-current { margin-top: 10px; }
    .ssg-page .ssgr-fields, .ssg-page .ssgr-featured { flex-direction: column; gap: 8px; padding: 14px 0; }
    .ssg-page .ssgr-fields h2, .ssg-page .ssgr-featured h2 { flex: 0 0 auto; }
    .ssgr-fields a, .ssgr-featured a { font-size: 14px; padding: 7px 11px; }
    .ssg-page .ssgr-directory, .ssg-page .ssgr-subareas { margin: 24px 0; }
    .ssgr-directory-heading { flex-direction: column; align-items: stretch; }
    .ssgr-search { flex: none; }
    .ssg-page .ssgr-search input { font-size: 16px; }
    .ssgr-provinces { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .ssg-page .ssgr-province { padding: 13px 15px; }
    .ssg-page .ssgr-subareas ul { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 12px; }
}
.ssg-page .ssgr-area-profile { margin: 24px 0 32px; max-width: 75ch; overflow-wrap: anywhere; scroll-margin-top: 80px; }
.ssg-page .ssgr-area-profile > p { margin: 10px 0; line-height: 1.75; }
.ssgr-profile-sources, .ssgr-profile-sources ul, .ssgr-profile-employers ul { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ssgr-profile-sources { margin-top: 12px; font-size: 13px; color: #53555a; }
.ssgr-area-profile ul { list-style: none; padding: 0; margin: 0; }
.ssgr-area-profile a { text-decoration: underline; text-underline-offset: 3px; }
.ssgr-profile-employers { margin-top: 20px; }
.ssgr-profile-employers ul { margin-top: 7px; }
