section {
    padding: 1rem;
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

.search-balloon {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.search-balloon form {
    display: flex;
    width: 100%;
    max-width: 600px;
    height: 42px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-balloon input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--foreground);
    outline: none;
}

.search-balloon input::placeholder {
    color: var(--muted-foreground);
}

.search-balloon button {
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1rem;
    cursor: pointer;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.topic-card {
    display: flex;
    align-items: center;
    width: calc(50% - 0.5rem);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.article-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 0.5rem);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.article-card .topic-content {
    text-align: left;
    padding: 0.75rem;
    width: 100%;
}

.faq {
    --article-background: #b0c0c2;
    --article-foreground: #21897d;
}

.troubleshooting {
    --article-background: #d7cec0;
    --article-foreground: #cf6328;
}

.custom-commands {
    --article-background: #c0b0d7;
    --article-foreground: #6f2e9c;
}

.automod,
.talk,
.account,
.privacy {
    --article-background: #b0c0d7;
    --article-foreground: #2e6f9c;
}

.moderation,
.logging {
    --article-background: #d7bab0;
    --article-foreground: #a1352f;
}

.levels,
.notifications {
    --article-background: #f0e68c;
    --article-foreground: #b8860b;
}

.article-card .icon {
    width: 100%;
    height: 120px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-radius: 8px 8px 0 0;
    background-color: var(--article-background);
}

.article-card .icon i {
    color: var(--article-foreground);
}

.topic-card:hover,
.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.topic-card .icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    border-radius: 999px;
    background-color: var(--input);
    margin-right: 0.75rem;
}

.topic-title,
.article-title {
    font-size: 1.1rem;
    margin: 0;
    gap: 2px;
}

.topic-description,
.article-description {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin: 0.25rem 0 0;
}

.topic-description {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.padding {
    height: 6rem;
}

.archived {
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid var(--destructive);
    font-size: 0.9rem;
    color: var(--destructive);
    width: fit-content;
}