/* ==========================================================================
   Sitemap  (/sitemap.html)
   --------------------------------------------------------------------------
   Everything but the static pages is rendered from the database, so this only
   has to lay out an arbitrary number of links. Tokens from mega-menu.css,
   hero and .sd-sr from inner-pages.css.
   ========================================================================== */

.sd-map {
    padding: 44px 0 60px;
}

/* --------------------------------------------------------------------------
   Filter bar
   -------------------------------------------------------------------------- */

.sd-map__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 34px;
}

.sd-map__search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 380px;
    margin: 0;
}

.sd-map__search > i {
    position: absolute;
    left: 18px;
    font-size: 15px;
    color: var(--sd-muted);
    pointer-events: none;
}

.sd-map__search input {
    width: 100%;
    padding: 14px 46px;
    border: 1px solid var(--sd-line);
    border-radius: 50px;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    color: var(--sd-navy);
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.sd-map__search input:focus {
    outline: none;
    border-color: var(--sd-blue);
    box-shadow: 0 0 0 3px rgba(18, 74, 154, .12);
}

.sd-map__search input::placeholder {
    color: #9AA8BE;
}

/* The browser's own clear affordance duplicates ours. */
.sd-map__search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.sd-map__clear {
    position: absolute;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 74, 154, .08);
    color: var(--sd-navy);
    font-size: 12px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sd-map__clear:hover {
    background: var(--sd-orange);
    color: #fff;
}

.sd-map__count {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sd-muted);
}

/* --------------------------------------------------------------------------
   Static page groups
   -------------------------------------------------------------------------- */

.sd-map__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    margin-bottom: 14px;
}

.sd-map__block[hidden],
.sd-map__family[hidden],
.sd-map__cat[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */

.sd-map__h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding-bottom: 11px;
    border-bottom: 2px solid var(--sd-orange);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--sd-navy);
}

.sd-map__h2 a {
    color: inherit;
    text-decoration: none;
}

.sd-map__h2 a:hover {
    color: var(--sd-orange-ink);
}

.sd-map__h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--sd-navy);
}

.sd-map__h3 a {
    color: var(--sd-blue);
    text-decoration: none;
}

.sd-map__h3 a:hover {
    color: var(--sd-orange);
}

.sd-map__n {
    padding: 2px 8px;
    border-radius: 50px;
    background: var(--sd-tint);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sd-muted);
}

/* --------------------------------------------------------------------------
   Link lists
   -------------------------------------------------------------------------- */

/* default.css strips markers site-wide; these read better without them
   anyway, so the indent is removed rather than the marker restored. */
.sd-map__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-map__list li {
    list-style: none;
    padding: 3px 0;
}

.sd-map__list li[hidden] {
    display: none;
}

.sd-map__list a {
    display: inline-block;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--sd-muted);
    text-decoration: none;
    transition: color .18s ease;
}

.sd-map__list a:hover,
.sd-map__list a:focus-visible {
    color: var(--sd-orange-ink);
}

/* Long lists (blog posts, news) run in columns instead of one tall stack. */
.sd-map__list--wide {
    columns: 3;
    column-gap: 34px;
}

.sd-map__list--wide li {
    break-inside: avoid;
}

/* --------------------------------------------------------------------------
   Product families
   -------------------------------------------------------------------------- */

.sd-map__family {
    margin-top: 40px;
}

.sd-map__cats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.sd-map__cat {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--sd-line);
    border-radius: 14px;
    background: #fff;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.sd-map__empty {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 30px 0 0;
    padding: 18px 20px;
    border-left: 3px solid var(--sd-orange);
    border-radius: 0 10px 10px 0;
    background: var(--sd-tint);
    font-size: 15px;
    line-height: 1.6;
    color: var(--sd-muted);
}

.sd-map__empty[hidden] {
    display: none;
}

.sd-map__empty i {
    margin-top: 3px;
    color: var(--sd-orange);
}

.sd-map__empty a {
    color: var(--sd-blue);
    font-weight: 700;
    text-decoration: none;
}

.sd-map__empty a:hover {
    color: var(--sd-orange);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .sd-map__list--wide {
        columns: 2;
    }
}

@media (max-width: 767.98px) {
    .sd-map {
        padding: 30px 0 44px;
    }

    .sd-map__list--wide {
        columns: 1;
    }

    .sd-map__cats {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .sd-map__family {
        margin-top: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-map__search input,
    .sd-map__clear,
    .sd-map__list a {
        transition: none !important;
    }
}

/* Job location, shown after the role on the careers rows. */
.sd-map__where {
    margin-left: 6px;
    font-size: 12.5px;
    color: #8494AB;
}

.sd-map__where::before {
    content: "· ";
}
