body.rw-shell.page-home .rw-classic-welcome {
    display: grid;
    gap: 10px;
    padding: 12px;
}

body.rw-shell.page-home .rw-classic-welcome > .rw-home-launch-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 16px;
}

body.rw-shell.page-home .rw-home-launch-head :is(p, .rw-launch-countdown) {
    margin: 0;
}

body.rw-shell.page-home .rw-home-launch-head .rw-launch-countdown:not([hidden]) {
    display: grid;
    gap: 2px;
    padding: 6px 9px;
    text-align: center;
    white-space: nowrap;
}

body.rw-shell.page-home .rw-classic-welcome > .rw-home-actions,
body.rw-shell.page-home .rw-home-guides {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
}

body.rw-shell.page-home .rw-home-signup {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

body.rw-shell.page-home .rw-home-signup .rw-classic-create {
    white-space: nowrap;
}

body.rw-shell.page-home .rw-home-signup-offer {
    padding: 2px 0 2px 8px;
    border-inline-start: 1px solid var(--rw-dusk-brass);
    color: var(--rw-dusk-cream);
    font: 12px/1.4 Arial, sans-serif;
}

body.rw-shell.page-home .rw-home-signup-offer span {
    display: block;
}

body.rw-shell.page-home .rw-home-signup-offer strong {
    color: var(--rw-dusk-gold);
}

@media (max-width: 360px) {
    body.rw-shell.page-home .rw-home-signup {
        gap: 6px;
    }

    body.rw-shell.page-home .rw-classic-welcome .rw-home-signup .rw-classic-create {
        padding-inline: 7px;
    }

    body.rw-shell.page-home .rw-home-signup-offer {
        padding-inline-start: 6px;
        font-size: 11.5px;
        line-height: 1.3;
    }
}

body.rw-shell.page-home .rw-home-guides a {
    color: var(--rw-dusk-gold) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    font: 13px/1.4 Arial, sans-serif;
}

body.rw-shell.page-home .rw-classic-welcome .rw-home-actions .rw-classic-create {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 10px;
}

html[data-relaxera-theme] body.rw-shell.page-home .BoxContent .rw-home-actions .rw-home-download {
    background: var(--rw-dusk-raised);
}

body.rw-shell.page-home .rw-home-feature-grid img {
    aspect-ratio: 3 / 2;
}

body.rw-shell.page-home .rw-home-note {
    margin: 0 0 10px;
    padding: 9px 12px;
    border-left: 2px solid var(--rw-dusk-brass);
    background: var(--rw-dusk-raised);
    color: var(--rw-dusk-cream);
}

body.rw-shell.page-home .rw-home-note p {
    margin: 0;
    color: inherit;
    font: 14px/1.5 Arial, sans-serif;
}

body.rw-shell.page-home .rw-home-note p + p {
    margin-top: 6px;
}

.rw-features .rw-feature-lead {
    margin: 0 0 8px;
}

.rw-feature-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 10px;
}

html[data-relaxera-theme] body.rw-shell .BoxContent .rw-feature-overview a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 7px 9px;
    border: 1px solid var(--rw-aged-paper-line);
    background: var(--rw-aged-paper-inset);
    color: var(--rw-aged-green) !important;
    text-decoration: none;
}

.rw-feature-overview img,
.wiki-reference-grid img {
    flex: 0 0 30px;
    inline-size: 30px;
    block-size: 30px;
    object-fit: contain;
    image-rendering: pixelated;
}

.rw-feature-overview strong,
.wiki-reference-grid strong {
    display: block;
    line-height: 1.25;
}

.rw-feature-overview small {
    display: block;
    color: var(--rw-aged-ink);
    font-size: 11px;
    line-height: 1.3;
}

.wiki-landing-layout {
    grid-template-areas: "browse main";
}

.wiki-landing-layout > .wiki-nav {
    grid-area: browse;
}

.wiki-landing-layout > .wiki-main {
    grid-area: main;
}

.wiki-landing .wiki-featured-guides,
.wiki-landing .wiki-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.wiki-landing .wiki-featured-guides a {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: #e0d1af;
    color: #293c2d;
}

.wiki-landing .wiki-featured-guides img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    background: #242b20;
}

.wiki-landing .wiki-featured-guides strong {
    padding: 6px 8px;
    font: bold 15px/1.3 Georgia, serif;
}

.wiki-landing h2 {
    margin: 12px 0 6px;
}

.wiki-landing .wiki-reference-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    background: #e0d1af;
    color: #293c2d;
}

.rw-feature-overview a:hover strong,
.wiki-landing :is(.wiki-featured-guides, .wiki-reference-grid) a:hover strong {
    text-decoration: underline;
}

.wiki-landing .wiki-source {
    margin-top: 12px;
}

@media (max-width: 800px) {
    .wiki-landing-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "main"
            "browse";
    }
}

@media (max-width: 700px) {
    .rw-feature-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    body.rw-shell.page-home .rw-classic-welcome > .rw-home-launch-head {
        grid-template-columns: minmax(0, 1fr);
    }

    body.rw-shell.page-home .rw-home-launch-head .rw-launch-countdown:not([hidden]) {
        display: inline-flex;
        gap: 7px;
        justify-self: start;
    }

    .wiki-landing .wiki-featured-guides {
        grid-template-columns: minmax(0, 1fr);
    }

    .wiki-landing .wiki-featured-guides a {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        align-items: center;
    }

    .wiki-landing .wiki-featured-guides img {
        aspect-ratio: 8 / 5;
        height: 100%;
    }

    .wiki-landing .wiki-reference-grid img {
        flex-basis: 23px;
        inline-size: 23px;
        block-size: 23px;
    }
}

@media (max-width: 360px) {
    .wiki-landing .wiki-reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
