/* White Bread Games: app grid, archive page and footer (layered on the Start Bootstrap Resume theme) */

#sideNav .img-profile {
    max-width: 12rem;
    height: auto;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.4rem;
}
@media (min-width: 992px) {
    #sideNav {
        max-height: 100vh;
        overflow-y: auto;
    }
}

.apps-section {
    padding: 3rem 1rem;
    max-width: 75rem;
}
@media (min-width: 768px) {
    .apps-section { padding: 4rem 3rem; }
}
.apps-section h2,
.apps-section h1 {
    font-size: 3rem;
}
.section-lede {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 44rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1.5rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e4e5;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    scroll-margin-top: 5rem;
}
.app-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}
.app-icon {
    width: 72px;
    height: 72px;
    flex: none;
    border-radius: 22%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    object-fit: cover;
}
.app-name {
    font-size: 1.9rem;
    line-height: 1;
    margin: 0;
}
.app-sub {
    font-family: "Saira Extra Condensed", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.05rem;
    color: #737475;
    line-height: 1.2;
    margin-top: 0.2rem;
}
.app-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.app-shot {
    margin-top: auto;
    height: 15rem;
    border-radius: 0.75rem;
    background: #f1f2f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.75rem;
}
.app-shot img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.badge-link img {
    height: 44px;
    width: auto;
}

.is-archived .app-icon,
.is-archived .app-shot img {
    filter: grayscale(0.85);
    opacity: 0.85;
}
.app-status {
    margin-top: 1rem;
    font-family: "Saira Extra Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #8a5a00;
    background: #fff4dc;
    border-radius: 0.5rem;
    padding: 0.35rem 0.7rem;
    align-self: flex-start;
}

.archive-link {
    margin: 2.5rem 0 0;
    font-size: 1.05rem;
}
.archive-link a {
    font-weight: 800;
    display: inline-block;
    border: 2px solid #737475;
    border-radius: 2rem;
    padding: 0.45rem 1.1rem;
    margin-right: 0.75rem;
    text-decoration: none;
}
.archive-link a:hover {
    background: #737475;
    color: #fff;
}
.archive-link span {
    color: #6c757d;
}
.back-link {
    margin-bottom: 1rem;
}

.site-footer {
    padding: 2rem 1rem;
    color: #6c757d;
    font-size: 0.95rem;
}
@media (min-width: 768px) {
    .site-footer { padding: 2rem 3rem; }
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.5rem;
}
