/* Container */
.miscellany-page {
    max-width: 11100px;
    margin: 0 auto;
    padding: 80px 40px;
    line-height: 1.7;
}

.miscellany-page h1 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.miscellany-page > p {
    font-size: 1.2rem;
    color: #c9d1d9;
    margin-bottom: 20px;
}

/* List */
.miscellany-page .miscellany-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.miscellany-page .miscellany-item:not(:last-child) {
    margin-bottom: 7px;
}

/* Card */
.miscellany-page .miscellany-card {
    display: block;
    text-decoration: none;
    background-color: #161b22;
    border-radius: 8px;
    border-left: 4px solid #4a7c9a;
    padding: 20px;
    transition: all 0.2s ease;
}

.miscellany-page .miscellany-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Card Row */
.miscellany-page .card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 40px;
}

/* Card Title */
.miscellany-page .card-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #e6edf3;
    transition: color 0.2s ease;
}

.miscellany-page .miscellany-card:hover .card-title {
    color: #ffffff;
}

/* Card Description */
.miscellany-page .card-description {
    font-size: 14px;
    color: #8b949e;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Tablet */
@media (max-width: 768px) {
    .miscellany-page {
        padding: 60px 24px;
    }

    .miscellany-page h1 {
        font-size: 2.2rem;
    }

    .miscellany-page > p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .miscellany-page .miscellany-item:not(:last-child) {
        margin-bottom: 7px;
    }

    .miscellany-page .card-row {
        gap: 32px;
    }

    .miscellany-page .card-title {
        font-size: 18px;
    }

    .miscellany-page .card-description {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .miscellany-page {
        padding: 40px 16px;
    }

    .miscellany-page h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .miscellany-page > p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .miscellany-page .miscellany-item:not(:last-child) {
        margin-bottom: 7px;
    }

    .miscellany-page .card-row {
        flex-direction: column;
        gap: 6px;
    }

    .miscellany-page .card-title {
        font-size: 16px;
    }

    .miscellany-page .card-description {
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .miscellany-page {
        padding: 32px 12px;
    }

    .miscellany-page h1 {
        font-size: 1.6rem;
    }

    .miscellany-page > p {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .miscellany-page .miscellany-item:not(:last-child) {
        margin-bottom: 7px;
    }

    .miscellany-page .card-row {
        flex-direction: column;
        gap: 4px;
    }

    .miscellany-page .card-title {
        font-size: 14px;
    }

    .miscellany-page .card-description {
        font-size: 11px;
    }
}
