
/* ALINA MIDNIGHT EDITORIAL — STEP 720 */
/* Scoped exclusively to the location H2 + additional content. */

.all-page .alina-midnight-editorial {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(85px, 10vw, 145px) 0;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(166, 67, 91, .38), transparent 48%),
        radial-gradient(ellipse at 88% 85%, rgba(173, 112, 55, .18), transparent 48%),
        linear-gradient(135deg, #341421 0%, #210f1d 48%, #100e19 100%);
    border-top: 1px solid rgba(235, 180, 113, .42);
    border-bottom: 1px solid rgba(235, 180, 113, .42);
}

.alina-midnight-editorial::before {
    content: "";
    position: absolute;
    width: 65vw;
    height: 65vw;
    max-width: 900px;
    max-height: 900px;
    top: -45%;
    right: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 159, 94, .13), transparent 68%);
    filter: blur(35px);
    pointer-events: none;
    animation: ame-glow 12s ease-in-out infinite alternate;
}

.alina-midnight-editorial::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image: radial-gradient(rgba(240, 198, 142, .7) .65px, transparent .7px);
    background-size: 28px 28px;
    mask-image: linear-gradient(120deg, #000, transparent 75%);
}

.alina-midnight-editorial .all-wrap {
    position: relative;
    z-index: 1;
    padding: clamp(25px, 4vw, 65px);
    border: 1px solid rgba(227, 175, 110, .36);
    border-radius: 7px;
    background: linear-gradient(125deg, rgba(255, 237, 217, .055), rgba(16, 9, 20, .18));
    box-shadow: 0 35px 110px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 230, 194, .13);
}

.alina-midnight-editorial .all-wrap::before,
.alina-midnight-editorial .all-wrap::after {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    pointer-events: none;
}

.alina-midnight-editorial .all-wrap::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid #e6b57d;
    border-left: 2px solid #e6b57d;
}

.alina-midnight-editorial .all-wrap::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid #e6b57d;
    border-bottom: 2px solid #e6b57d;
}

.alina-midnight-editorial .all-neighborhood-layout {
    grid-template-columns: minmax(140px, .5fr) minmax(0, 2fr);
    gap: clamp(28px, 5vw, 85px);
}

.alina-midnight-editorial .all-neighborhood-aside {
    padding-top: 8px;
}

.alina-midnight-editorial .all-neighborhood-ornament {
    color: #e2ae78;
    font-size: clamp(90px, 11vw, 150px);
    text-shadow: 0 0 45px rgba(234, 164, 88, .25);
    animation: ame-float 7s ease-in-out infinite;
}

.alina-midnight-editorial .all-neighborhood-index {
    color: #d6b6a4;
}

.alina-midnight-editorial .all-neighborhood-story {
    max-width: 900px;
}

.alina-midnight-editorial .all-neighborhood-kicker {
    color: #e8bc86;
    margin-bottom: 24px;
}

.alina-midnight-editorial .all-neighborhood-story h2 {
    font-size: clamp(35px, 4.1vw, 61px);
    line-height: 1.14;
    letter-spacing: -.035em;
    margin-bottom: 35px;
    color: #fff1e6;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.alina-midnight-editorial .all-neighborhood-prose {
    max-width: 100%;
    padding: clamp(23px, 3vw, 38px);
    border-left: 2px solid rgba(232, 184, 117, .7);
    border-radius: 0 12px 12px 0;
    background: linear-gradient(110deg, rgba(255, 238, 219, .075), rgba(255, 238, 219, .015));
    box-shadow: 0 12px 50px rgba(0, 0, 0, .12);
    color: #e4d5d3;
    font-size: 16px;
    line-height: 1.9;
}

.alina-midnight-editorial .all-neighborhood-prose p:last-child {
    margin-bottom: 0;
}

.alina-midnight-editorial .all-neighborhood-prose h3,
.alina-midnight-editorial .all-neighborhood-prose h4 {
    color: #f5d8b7;
    margin-top: 32px;
}

@keyframes ame-glow {
    from { transform: translate3d(-3%, 2%, 0) scale(.95); opacity: .6; }
    to { transform: translate3d(5%, -4%, 0) scale(1.12); opacity: 1; }
}

@keyframes ame-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(7deg); }
}

@supports (animation-timeline: view()) {
    .alina-midnight-editorial .all-neighborhood-story {
        animation: ame-reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 75%;
    }
}

@keyframes ame-reveal {
    from { opacity: .25; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
    .all-page .alina-midnight-editorial {
        padding: 70px 0;
    }

    .alina-midnight-editorial .all-wrap {
        width: calc(100% - 30px);
        padding: 28px 20px;
    }

    .alina-midnight-editorial .all-neighborhood-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .alina-midnight-editorial .all-neighborhood-aside {
        gap: 10px;
    }

    .alina-midnight-editorial .all-neighborhood-ornament {
        font-size: 55px;
    }

    .alina-midnight-editorial .all-neighborhood-story h2 {
        font-size: clamp(32px, 8vw, 46px);
        margin-bottom: 25px;
    }

    .alina-midnight-editorial .all-neighborhood-prose {
        font-size: 15px;
        line-height: 1.85;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alina-midnight-editorial::before,
    .alina-midnight-editorial .all-neighborhood-ornament,
    .alina-midnight-editorial .all-neighborhood-story {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}
