/* FEATURES */
.home-latestwiki {
    padding: 24px 0 10px;
}

.home-latestwiki .container {
    display: flex;
    justify-content: center;
}

.home-latestwiki-card {
    background: #151515;
    padding: 24px;
    border: 1px solid #222;
    border-radius: 8px;
    display: grid;
    gap: 18px;
    width: min(82%, 1400px);
}

.home-latestwiki-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.home-latestwiki-kicker {
    margin: 0 0 6px;
    color: #ffb400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-latestwiki-header h2 {
    margin: 0;
    font-size: 28px;
}

.home-latestwiki-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.home-latestwiki-updated {
    margin-top: 6px;
    color: #aaa;
    font-size: 13px;
}

.home-latestwiki-summary {
    margin: 0;
    color: #d6d6d6;
    line-height: 1.6;
}

.home-latestwiki-overview {
    color: #ececec;
    line-height: 1.55;
    width: 100%;
}

.home-code-block {
    margin: 14px 0;
    border: 1px solid #3a404d;
    border-radius: 8px;
    background: #090b10;
    color: #e7ebf4;
    overflow: hidden;
}

.home-code-block-label {
    padding: 8px 12px;
    border-bottom: 1px solid #3a404d;
    background: #11151d;
    color: #d8deea;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.home-code-block pre {
    margin: 0;
    padding: 14px 16px;
    border: 0;
    background: #090b10;
    color: inherit;
    overflow: auto;
    white-space: pre;
    line-height: 1.55;
    font-family: Consolas, "Courier New", monospace;
}

.home-code-block code {
    display: block;
    white-space: inherit;
    font: inherit;
    color: inherit;
}

.home-latestwiki-overview h1,
.home-latestwiki-overview h2,
.home-latestwiki-overview h3,
.home-latestwiki-overview h4,
.home-latestwiki-overview h5,
.home-latestwiki-overview h6 {
    margin: 0 0 8px;
    line-height: 1.1;
}

.home-latestwiki-overview p {
    margin: 0 0 10px;
}

.home-latestwiki-overview p:last-child {
    margin-bottom: 0;
}

.home-latestwiki-overview code {
    font: inherit;
    color: inherit;
    white-space: inherit;
}

.home-latestwiki-overview ul,
.home-latestwiki-overview ol {
    margin: 0 0 10px 20px;
    padding: 0;
}

.home-latestwiki-overview li {
    margin: 0 0 4px;
}

.home-latestwiki-overview img,
.home-latestwiki-overview video {
    max-width: 100%;
    height: auto;
}

.home-latestwiki-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-latestwiki .btn.primary,
.hero .btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 8px;
    background: #0066ff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
}

.home-latestwiki .btn.primary:hover,
.hero .btn.primary:hover {
    background: #0057d9;
}

.home-latestwiki-meta-row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.home-latestwiki-meta-text {
    display: grid;
    gap: 4px;
}

.home-latestwiki-empty {
    margin: 0;
    color: #aaa;
}

.home-features {
    padding: 60px 0;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.home-card {
    background: #151515;
    padding: 20px;
    border: 1px solid #222;
    border-radius: 8px;
    transition: 0.2s;
}

.home-card:hover {
    border-color: #0066ff;
    transform: translateY(-3px);
}

.home-card h2 {
    margin-bottom: 10px;
}

.home-card p {
    color: #aaa;
}

@media (max-width: 900px) {
    .home-latestwiki-card {
        width: min(100%, 1400px);
    }
}
