/* Hero editorial do Blog */
.blog-page {
    margin: 0;
}

.blog-page #blog-list {
    padding-top: 0 !important;
    background: #f5f2eb;
}

.blog-editorial-hero {
    position: relative;
    isolation: isolate;
    min-height: 39rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 42%, rgba(91, 71, 190, .32), transparent 19rem),
        radial-gradient(circle at 16% 20%, rgba(30, 116, 152, .22), transparent 24rem),
        linear-gradient(105deg, rgba(7, 15, 31, .96), rgba(17, 27, 51, .88)),
        image-set(url("../images/heroes/cosmos-hero.avif") type("image/avif"), url("../images/heroes/cosmos-hero.webp") type("image/webp"), url("../images/heroes/cosmos-hero.jpg") type("image/jpeg")) center/cover;
    color: #fff;
}

.blog-editorial-hero::before,
.blog-editorial-hero::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(216, 189, 145, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.blog-editorial-hero::before {
    width: 44rem;
    height: 44rem;
    right: -14rem;
    top: -24rem;
}

.blog-editorial-hero::after {
    width: 29rem;
    height: 29rem;
    left: -17rem;
    bottom: -18rem;
}

.blog-editorial-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(22rem, .88fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    min-height: 39rem;
    padding-top: clamp(5rem, 8vw, 7.5rem);
    padding-bottom: clamp(7rem, 10vw, 9rem);
}

.blog-editorial-hero__copy {
    max-width: 48rem;
}

.blog-editorial-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin: 0 0 1.25rem;
    color: #efc983;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.blog-page #blog-list .blog-editorial-hero h1 {
    max-width: 48rem;
    margin: 0;
    color: #fff;
    font-family: Cinzel, serif;
    font-size: clamp(3rem, 5.8vw, 5.6rem);
    line-height: 1.03;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.blog-page #blog-list .blog-editorial-hero h1::before {
    display: none;
    content: none;
}

.blog-editorial-hero__intro {
    max-width: 42rem;
    margin: 1.55rem 0 0;
    color: #dce3ef;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    line-height: 1.75;
}

.blog-editorial-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.blog-editorial-hero__features li {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    color: #f7f4ed;
    font-size: .83rem;
    font-weight: 800;
}

.blog-editorial-hero__features li::before {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #d8bd91;
    box-shadow: 0 0 0 .25rem rgba(216, 189, 145, .12);
    content: "";
}

.blog-editorial-hero__visual {
    position: relative;
    width: min(27rem, 100%);
    aspect-ratio: 1;
    justify-self: end;
    border: 1px solid rgba(216, 189, 145, .28);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 46%, rgba(239, 201, 131, .2), transparent 20%),
        radial-gradient(circle, rgba(72, 63, 155, .34), rgba(10, 20, 39, .22) 58%, rgba(8, 15, 31, .64));
    box-shadow: inset 0 0 4rem rgba(132, 113, 215, .15), 0 2rem 5rem rgba(0, 0, 0, .25);
}

.blog-editorial-orbit {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(216, 189, 145, .34);
    border-radius: 50%;
}

.blog-editorial-orbit--outer {
    transform: rotate(-18deg) scaleY(.58);
}

.blog-editorial-orbit--inner {
    inset: 23%;
    transform: rotate(32deg) scaleY(.67);
    border-color: rgba(168, 157, 237, .45);
}

.blog-editorial-hero__core {
    position: absolute;
    inset: 27%;
    display: grid;
    place-content: center;
    border: 1px solid rgba(239, 201, 131, .5);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #243253, #101a30 68%);
    box-shadow: 0 0 0 .75rem rgba(216, 189, 145, .05), 0 0 3rem rgba(130, 113, 218, .38);
    text-align: center;
}

.blog-editorial-hero__core span,
.blog-editorial-hero__core small {
    color: #d8bd91;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.blog-editorial-hero__core strong {
    margin: .2rem 0;
    color: #fff;
    font-family: Cinzel, serif;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.blog-editorial-hero__word {
    position: absolute;
    padding: .45rem .72rem;
    border: 1px solid rgba(216, 189, 145, .38);
    border-radius: 999px;
    background: rgba(9, 17, 33, .78);
    color: #f7f4ed;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.blog-editorial-hero__word--one { left: -2%; top: 25%; }
.blog-editorial-hero__word--two { right: -3%; top: 45%; }
.blog-editorial-hero__word--three { left: 11%; bottom: 10%; }
.blog-editorial-hero__word--four { right: 10%; top: 8%; }
.blog-editorial-hero__word--five { left: 2%; top: 54%; }
.blog-editorial-hero__word--six { right: 3%; bottom: 17%; }
.blog-editorial-hero__word--seven { left: 34%; bottom: -2%; }

.blog-content-shell {
    position: relative;
    z-index: 2;
    margin-top: -4.5rem;
}

@media (max-width: 900px) {
    .blog-editorial-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .blog-editorial-hero__copy {
        max-width: 44rem;
    }

    .blog-editorial-hero__visual {
        display: none;
    }
}

@media (max-width: 600px) {
    .blog-editorial-hero__grid {
        padding-top: 4.5rem;
        padding-bottom: 7rem;
    }

    .blog-page #blog-list .blog-editorial-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.5rem);
    }

    .blog-editorial-hero__features {
        display: grid;
        gap: .75rem;
    }

    .blog-content-shell {
        margin-top: -3.25rem;
    }
}

/* Busca integrada ao hero */
.blog-page .blog-search {
    width: min(65rem, 100%);
    margin: 0 auto 3rem;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    border: 1px solid rgba(216, 189, 145, .85);
    border-top: 4px solid #a47735;
    border-radius: 1.5rem;
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 1.7rem 4.5rem rgba(8, 15, 31, .2);
}

.blog-search__heading {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.15rem;
}

.blog-search__heading > div {
    display: grid;
    gap: .2rem;
}

.blog-search__heading strong {
    color: #182033;
    font-family: Cinzel, serif;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.blog-page .blog-search__heading label {
    margin: 0;
    color: #687187;
    font-size: .88rem;
    font-weight: 600;
}

.blog-search__icon {
    display: grid;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    background: #eee9ff;
    color: #3730a3;
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.blog-page #busca-artigos {
    min-height: 3.5rem;
    padding-inline: 1.25rem;
    border: 1px solid #b89b6c;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(24, 32, 51, .04);
}

.blog-page #busca-artigos:focus {
    border-color: #3730a3;
    outline: 3px solid rgba(55, 48, 163, .16);
}

.blog-page .blog-search__suggestions {
    margin-top: .9rem;
}

.blog-page .blog-search__suggestions button {
    padding: .38rem .7rem;
    background: #f7f2e9;
}

.blog-page .blog-search > p {
    margin-top: .85rem;
    padding-top: .8rem;
    border-top: 1px solid #e6ded1;
}

.blog-page [data-dynamic-article] .blog-card-category {
    color: #80551f;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .blog-page .blog-search {
        padding: 1.2rem;
        border-radius: 1.15rem;
    }

    .blog-search__icon {
        flex-basis: 2.65rem;
        width: 2.65rem;
        height: 2.65rem;
    }
}
