.page-hero {
    max-width: none;
    padding: 0;
}

.site-desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .site-desktop-nav {
        display: flex;
        gap: clamp(0.75rem, 1.6vw, 1.5rem);
        align-items: center;
    }

    .site-mobile-toggle,
    .site-mobile-nav {
        display: none !important;
    }
}

.site-desktop-nav > a,
.site-nav-group > a {
    white-space: nowrap;
    text-decoration: none;
}

.site-desktop-nav > a:hover,
.site-nav-group > a:hover {
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

.site-nav-group {
    position: relative;
    padding-block: 0.5rem;
}

.site-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 13rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #0d162e;
    color: white;
    box-shadow: 0 0.75rem 1.5rem #0003;
}

.site-nav-group:hover .site-nav-dropdown,
.site-nav-group:focus-within .site-nav-dropdown {
    display: flex;
    flex-direction: column;
}

.site-nav-dropdown a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.site-nav-dropdown a:hover,
.site-nav-dropdown a:focus-visible {
    background: #333396;
    color: white;
}

/* Petroleum specification cards */
.spec-card-grid {
    padding-top: 2.5rem;
    row-gap: 5rem;
}

.spec-card {
    --spec-accent: #008fcb;
    position: relative;
    min-height: 19.5rem;
    padding: 4.25rem 1.5rem 2rem;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--spec-accent);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1px 2px #0000000d;
}

.spec-card--teal { --spec-accent: #29aab2; }
.spec-card--coral { --spec-accent: #ed615e; }
.spec-card--charcoal { --spec-accent: #424b55; }

.spec-card__icon {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    transform: translateX(-50%);
    border: 3px solid var(--spec-accent);
    border-radius: 50%;
    background: #fff;
    color: var(--spec-accent);
}

.spec-card__icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.spec-card h4 {
    margin-bottom: 1rem;
    color: var(--spec-accent);
    font-size: 1.25rem;
    line-height: 1.4;
    text-align: center;
}

.spec-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.spec-card a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    min-height: 2.25rem;
    padding: 0.3rem 0.5rem;
    border: 2px solid currentColor;
    border-radius: 0.25rem;
    color: #008fcb;
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.spec-card__download {
    flex: none;
    width: 1rem;
    height: 1rem;
}

.spec-card li:nth-child(4n + 2) a { color: #ed615e; }
.spec-card li:nth-child(4n + 3) a { color: #29aab2; }
.spec-card li:nth-child(4n + 4) a { color: #424b55; }

.spec-card a:hover,
.spec-card a:focus-visible {
    background: #f1f6f7;
    text-decoration: underline;
}

.spec-card a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

