@charset "UTF-8";

.oss-main {
    padding-block: clamp(24px, 3vw, 40px) 48px;
}
.oss-intro {
    margin-bottom: 24px;
}
.oss-intro h1 {
    margin-bottom: 9px;
    font-size: clamp(33px, 4vw, 54px);
}
.oss-intro p {
    color: var(--muted);
}
.oss-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}
.oss-project {
    display: flex;
    flex-direction: column;
    border: 1px solid #292e3a;
    border-radius: 14px;
    overflow: hidden;
    background: #141821;
}
.oss-project-art {
    width: 100%;
    height: auto;
    aspect-ratio: 12 / 5;
    object-fit: cover;
    background: #eef0f5;
}
.oss-project-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 26px;
}
.oss-project h2 {
    margin-bottom: 12px;
    font-size: 25px;
}
.oss-project p {
    margin-bottom: 14px;
    color: #c4c9d5;
    font-size: 16px;
    line-height: 1.85;
}
.oss-repo-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 7px;
    color: var(--blue);
    font: 13px/1.6 ui-monospace, Consolas, monospace;
    overflow-wrap: anywhere;
}
.oss-repo-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.oss-repo-link span {
    margin-left: 7px;
}
.oss-skill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 34px;
    padding: 26px 30px;
    border: 1px solid #42567a;
    border-radius: 14px;
    background: #202b42;
}
.oss-skill h2 {
    margin-bottom: 7px;
    font-size: 26px;
}
.oss-skill p {
    color: #d5deef;
    font-size: 16px;
}
.open-source-page .navigation a[aria-current="page"] {
    color: var(--blue);
}
@media (max-width: 760px) {
    .oss-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .oss-project-body, .oss-skill {
        padding: 20px;
    }
}
