.hero {
    min-height: calc(45vh + (var(--nav-padding) * 2) + var(--logo-max-height));
    background-image: url('../images/directories/web2day.webp'), url('../images/directories/web2day.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 0 0 2rem 2rem;
    overflow: hidden;
}

.intro .intro-layout {
    display: flex;
    align-items: flex-start;
    max-width: calc(var(--content-max-width) * 1.5);
    gap: 2rem;
}

.intro .intro-layout>* {
    flex: 1;
}

.intro .main-info {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    left: 0px;
}

.intro .selling-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.example .grid-layout {
    max-width: calc(var(--content-max-width) * 1.5);
}

.example .examples {
    display:flex;
    flex-direction: column;
    gap:1rem;
}

.example .button-area {
    margin-top:1rem;
    font-size:1.2rem;
}

.details h2 {
    text-align: center;
    font-size: 1.5em;
    font-weight: 800;
}

.subitem span {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.2rem;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(calc(-100% - .5rem));
}

.directories, .portals {
    margin-top: 2rem;
}

.card {
    max-width: calc(var(--content-max-width) * 2);
    margin-top: 1rem;
}

.card img {
    width:100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border:.05rem solid black;
    box-shadow: 0px 0px 10px -5px rgba(0, 0, 0,.75);
}

.card h3 {
    font-size: 1.2rem;
    text-align: center;
}

.andmore {
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 1250px), (orientation: portrait) {
    .grid-layout-four {
        --grid-max-columns: 2;
        --min-column-width: 20rem;
    }   
}

@media screen and (max-width: 980px),
screen and (orientation: portrait) {
    .intro .intro-layout {
        flex-direction: column;
    }

    .intro .main-info {
        position: relative;
        top:0;
        left:0;
        align-self: center
    }

    .blurb {
        max-width: var(--content-max-width);
        align-self: center;
    }

    .subitem span {
        position: relative;
    }
}