/* LucidChat Editorial home hero - approved soft insight gradient. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-template .gh-header.is-classic {
    color: var(--lc-ink);
    background: var(--lc-insight-gradient);
    border-block: 1px solid var(--lc-insight-border);
}

.home-template .gh-header.is-classic::before,
.home-template .gh-header.is-classic .gh-header-image {
    display: none;
}

.home-template .gh-header.is-classic .gh-header-title {
    color: var(--lc-ink);
    text-shadow: none;
}

.home-template .gh-header.is-classic .lc-header-subhead {
    max-width: 68rem;
    margin: 1.6rem auto 0;
    color: var(--lc-muted);
    font-size: clamp(1.7rem, 2vw, 2.1rem);
    line-height: 1.5;
}

.home-template .gh-header.is-classic .gh-form {
    margin-top: 3.2rem;
    border: 1px solid rgb(8 19 33 / 0.12);
    box-shadow: 0 14px 40px rgb(7 17 31 / 0.1);
}

.home-template .gh-header.is-classic.has-image .gh-form input::placeholder {
    color: var(--lc-muted);
    opacity: 1;
}

.home-template .gh-header.is-classic.has-image .gh-form input::-moz-placeholder {
    color: var(--lc-muted);
    opacity: 1;
}

.lc-subscribe-consent {
    max-width: 62rem;
    margin: 1.2rem auto 0;
    color: var(--lc-muted);
    font-size: 1.3rem;
    line-height: 1.45;
    text-align: center;
}

.gh-footer .lc-subscribe-consent {
    opacity: 1;
}

.gh-footer.has-accent-color .lc-subscribe-consent,
.gh-footer.has-accent-color .lc-subscribe-consent a {
    color: #fff;
}

.lc-vbout-form .gh-form-input {
    padding-inline-end: 30.8rem;
}

.lc-vbout-form .gh-button {
    width: 28.8rem;
}

.lc-vbout-form .gh-button > span:only-child {
    display: inline;
    line-height: 1.2;
}

.lc-vbout-form .gh-form-input:focus-visible {
    outline: 3px solid #4d37d5;
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .home-template .gh-header.is-classic .lc-header-subhead {
        max-width: 34rem;
        font-size: 1.6rem;
    }

    .lc-vbout-form {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
        height: auto;
        background: transparent;
    }

    .lc-vbout-form .gh-form-input {
        position: static;
        height: 5.6rem;
        padding-inline: 2rem;
        color: var(--lc-ink);
        background: #fff;
        border: 1px solid rgb(8 19 33 / 0.2);
    }

    .lc-vbout-form .gh-form-input::placeholder {
        color: var(--lc-muted);
        opacity: 1;
    }

    .lc-vbout-form .gh-button {
        position: static;
        width: 100%;
        min-height: 4.8rem;
        padding: 1.2rem 1.6rem;
    }
}

/* Shared publication footer: one newsletter-only destination on index and posts. */
.gh-footer.lc-editorial-footer {
    margin-top: clamp(6rem, 9vw, 12rem);
    padding-block: clamp(4.8rem, 6vw, 8rem) 2.4rem;
    color: var(--lc-ink);
    background: var(--lc-insight-gradient);
    border-top: 1px solid var(--lc-insight-border);
}

.lc-editorial-footer .gh-footer-signup {
    margin-bottom: clamp(4.8rem, 6vw, 8rem);
    scroll-margin-top: 2rem;
}

.lc-editorial-footer .gh-footer-signup-header {
    max-width: 72rem;
    color: var(--lc-ink);
    line-height: 1.15;
}

.lc-editorial-footer .gh-footer-signup-subhead,
.lc-editorial-footer .lc-subscribe-consent,
.lc-editorial-footer .lc-subscribe-consent a {
    color: var(--lc-muted);
    opacity: 1;
}

.lc-footer-eyebrow {
    margin-bottom: 1.6rem;
    color: #4d37d5;
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lc-editorial-footer .gh-footer-signup .gh-form {
    margin-top: 2.8rem;
    background: #fff;
    border: 1px solid rgb(8 19 33 / 0.15);
    box-shadow: 0 14px 40px rgb(7 17 31 / 0.08);
}

.lc-editorial-footer .gh-footer-bar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin-bottom: 0;
    padding-block: 2.4rem 0;
    border-top: 1px solid rgb(8 19 33 / 0.12);
    border-bottom: 0;
}

.lc-editorial-footer .lc-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    min-height: 4.4rem;
    white-space: normal;
}

.lc-editorial-footer .lc-footer-brand img {
    max-width: 18rem;
    max-height: 4rem;
    object-fit: contain;
}

.lc-editorial-footer .lc-footer-brand span {
    padding-left: 0.8rem;
    color: var(--lc-muted);
    font-size: 1.25rem;
    font-weight: 600;
    border-left: 1px solid var(--lc-insight-border);
}

.lc-editorial-footer .gh-footer-menu .nav {
    gap: 0.8rem 2rem;
}

.lc-editorial-footer .gh-footer-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 4.4rem;
    color: var(--lc-ink);
    font-size: 1.35rem;
}

.lc-editorial-footer .gh-social-links {
    justify-content: flex-end;
    gap: 0.8rem;
    margin-bottom: 0;
}

.lc-editorial-footer .gh-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    color: var(--lc-ink);
    background: #fff;
    border: 1px solid rgb(8 19 33 / 0.14);
    border-radius: 50%;
}

.lc-editorial-footer a:focus-visible {
    outline: 3px solid #4d37d5;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .lc-editorial-footer .gh-footer-bar {
        gap: 1.6rem;
    }

    .lc-editorial-footer .gh-social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .lc-editorial-footer .gh-footer-signup .gh-form {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .lc-editorial-footer .lc-footer-brand img {
        max-width: 16rem;
    }
}
