@layer page {
    body {
        --card-base: color-mix(in lab, var(--guide-base), #fff 25%);
        --zone-color: color-mix(in lab, var(--guide-base), #000 75%);
        background: color-mix(in lab, var(--guide-base), #fff 90%);
    }

    main {
        --card-base: color-mix(in lab, var(--guide-base), #fff 50%);

        max-width: calc(46rem + 2rem * 2);
        justify-self: center;
        padding: 3rem 2rem 2rem;

        margin-top: 3rem;
        margin-bottom: 6rem;

        position: relative;

        .metadata {
            position: absolute;
            top: -2px;
            left: calc(100% + 2rem);
            width: 15rem;

            display: grid;
            grid-auto-flow: row;
            gap: 1rem;

            justify-items: start;

            .metadata-item {
                background: var(--card-base);

                display: grid;
                grid-template-rows: auto auto;
                justify-items: start;
                gap: 0.25rem;

                padding: 0.75rem 1rem;

                /* @include neo-brutalist-card($size: 3px); */
                border: 3px solid #222;
                border-radius: 6px;
                box-shadow: 3px 3px 0 0 #222;

                .tags {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 0.5rem;
                }
            }
        }

        @media screen and (max-width: 1024px) {
            box-shadow: none;
            border: none;
            border-radius: 0;
            max-width: none;

            margin: 0 auto;
            padding: 3rem 1rem 2rem;

            .metadata {
                position: static;
                padding: 0;
                width: auto;
                margin: 0;

                --card-base: color-mix(in lab, var(--guide-base), #fff 30%);
            }
        }
    }
}
