/* /demo-guide/<Module>: landing page of an admin-only extension. Builds on guide.css (banner, rows, badges, panel head). */
html {
    -webkit-text-size-adjust: 100%;
}

body.fme-gl-body {
    background: #faf7f5;
    margin: 0;
    min-height: 100vh;
}

.fme-gl h1.fme-g-name {
    margin: 0;
}

.fme-gl .fme-g-banner__cta .fme-g-trust {
    white-space: normal;
}

.fme-gl a.fme-g-buy {
    font-family: inherit;
}

.fme-gl-main {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 380px;
    margin: 0 auto;
    max-width: 1280px;
    padding: 28px 24px 48px;
}

/* Screenshot of the admin screen, in a simple browser frame */
.fme-gl-shot {
    background: #fff;
    border: 1px solid var(--fme-line);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(20, 20, 20, .1);
    margin: 0 0 24px;
    overflow: hidden;
}

.fme-gl-shot__bar {
    align-items: center;
    background: #f3f1ef;
    border-bottom: 1px solid var(--fme-line);
    display: flex;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
}

.fme-gl-shot__bar span {
    background: #d9d4d0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.fme-gl-shot a,
.fme-gl-shot img {
    display: block;
}

.fme-gl-shot img {
    height: auto;
    width: 100%;
}

/* How the demo works */
.fme-g .fme-gl-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.fme-gl-steps li {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--fme-line);
    border-radius: 10px;
    display: flex;
    font-size: 13px;
    gap: 11px;
    line-height: 1.42;
    padding: 14px;
}

/* Main call to action */
.fme-gl-cta {
    align-items: center;
    background: #fff;
    border: 1px solid var(--fme-tint-line);
    border-radius: 12px;
    border-top: 4px solid var(--fme-orange);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 20px 22px;
}

.fme-gl .fme-gl-cta__go {
    font-size: 18px;
    padding: 15px 30px;
}

.fme-gl .fme-gl-get,
.fme-gl .fme-gl-get:visited {
    align-items: center;
    border: 2px solid var(--fme-orange-deep);
    border-radius: 99px;
    color: #b63f1f;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 6px;
    padding: 11px 22px;
    text-decoration: none;
}

.fme-gl .fme-gl-get:hover {
    background: var(--fme-tint);
    color: var(--fme-ink);
}

.fme-g .fme-gl-cta__note {
    align-items: center;
    color: var(--fme-muted);
    display: flex;
    flex: 1 1 100%;
    font-size: 13px;
    gap: 6px;
}

.fme-gl-cta__note .fme-g-icon {
    color: var(--fme-orange-deep);
    height: 16px;
    width: 16px;
}

.fme-gl-cta .fme-g-trust {
    flex: 1 1 100%;
    margin: 0;
}

/* Feature list: the guide panel's look, as a card */
.fme-gl-features {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 0 var(--fme-line), 0 10px 28px rgba(20, 20, 20, .08);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.fme-gl-features .fme-g-panel__head {
    padding: 14px 18px;
}

.fme-gl-features__body {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    padding-bottom: 8px;
}

.fme-gl .fme-g-rows li.fme-g-row {
    padding-bottom: 8px;
    padding-top: 8px;
}

.fme-gl a:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--fme-ink);
    outline: 0;
}

@media (max-width: 1100px) {
    .fme-gl-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .fme-gl-features {
        position: static;
    }

    .fme-gl-features__body {
        max-height: none;
    }
}

@media (max-width: 767px) {
    .fme-gl-main {
        gap: 20px;
        padding: 16px 16px 32px;
    }

    .fme-gl .fme-g-banner {
        margin-left: 0;
        margin-right: 0;
    }

    .fme-g .fme-gl-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .fme-gl-cta {
        padding: 16px;
    }

    .fme-gl .fme-gl-cta__go,
    .fme-gl .fme-gl-get {
        justify-content: center;
        width: 100%;
    }

    .fme-gl-shot {
        margin-bottom: 18px;
    }
}
