.logo {
    text-decoration: none;
}

.nav-link {
    display: block;

    padding: 11px 17px;

    color: #333;
    font-weight: bold;
    text-decoration: none;

    border-right: 1px solid #bbb;
}

.nav-link:hover {
    background: #eee;
}

.home-main {
    padding: 15px 17px 25px;
}

/* featured */

.featured {
    min-height: 265px;

    display: grid;
    grid-template-columns: 1.25fr 1fr;

    margin-bottom: 18px;

    overflow: hidden;

    color: white;

    border: 1px solid #14395e;

    background:
        linear-gradient(
            135deg,
            #347bb6,
            #17466f
        );

    box-shadow: 0 2px 5px rgba(0,0,0,.22);
}

.featured-image {
    min-height: 265px;

    background: #111;
}

.featured-image img {
    width: 100%;
    height: 100%;

    min-height: 265px;

    display: block;

    object-fit: cover;
}

.featured-info {
    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    margin-bottom: 6px;

    color: #ffd45d;

    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;

    letter-spacing: 1px;
}

.featured-info h1 {
    margin: 0 0 9px;

    font-size: 25px;
}

.featured-info p {
    margin: 0 0 18px;

    color: #d9e9f6;

    line-height: 1.6;
}

.featured-play {
    width: fit-content;

    padding: 10px 25px;

    color: white;
    font-weight: bold;

    border: 1px solid #a75800;

    background:
        linear-gradient(#ffb027, #e87c00);

    text-decoration: none;

    text-shadow: 0 1px rgba(0,0,0,.35);
}

/* portal sections */

.portal-section {
    margin-top: 18px;
}

.portal-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
    padding-bottom: 5px;

    border-bottom: 2px solid #e88908;
}

.portal-heading h2 {
    margin: 0;

    color: #1f507e;
    font-size: 16px;
}

.portal-heading a {
    color: #1f5c91;

    font-size: 10px;
    font-weight: bold;

    text-decoration: none;
}

.portal-heading a:hover {
    text-decoration: underline;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.portal-game {
    display: block;

    color: inherit;
    text-decoration: none;

    border: 1px solid #aaa;

    background: #f5f5f5;

    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.portal-game:hover {
    border-color: #3979ae;

    box-shadow: 0 3px 7px rgba(0,0,0,.22);
}

.portal-thumb {
    height: 100px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border-bottom: 1px solid #aaa;
}

.portal-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.portal-fallback {
    color: #1b4e7c;

    font-size: 27px;
    font-weight: bold;
}

.portal-title {
    min-height: 38px;

    padding: 7px;

    color: #174e7c;

    font-size: 11px;
    font-weight: bold;

    line-height: 14px;
}

@media (max-width: 900px) {
    .portal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
