/* Article reading experience for Sanukna content pages. */
body {
    background:
        radial-gradient(circle at 20% 0%, rgba(168, 85, 247, 0.18), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.12), transparent 28rem),
        #020617;
}

body > header {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

body > header > a:first-child {
    text-decoration: none;
}

body > header > a:last-child,
.article-nav a {
    min-width: 88px;
    text-align: center;
    color: #e9d5ff;
    font-size: 0.875rem;
    font-weight: 900;
    text-decoration: none;
}

.article-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.article-nav a {
    min-width: auto;
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
}

.article-nav a:hover {
    background: #334155;
}

.article-home-btn {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    color: #d8b4fe;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.article-home-btn svg {
    width: 1rem;
    height: 1rem;
    display: block;
    fill: currentColor;
}

.article-home-btn:hover {
    background: #334155;
}

.article-brand {
    min-width: 0;
    flex: 1 1 auto;
    margin-left: 0.75rem;
}

.article-play-btn {
    background: linear-gradient(135deg, #9333ea, #db2777 52%, #e11d48) !important;
    border-color: rgba(236, 72, 153, 0.36) !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(219, 39, 119, 0.26);
}

.article-play-btn:hover {
    background: linear-gradient(135deg, #a855f7, #ec4899 52%, #f43f5e) !important;
}

@media (max-width: 460px) {
    .article-nav a {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        font-size: 0.75rem;
    }
}

main {
    width: min(100%, 820px) !important;
    max-width: 820px !important;
    padding-top: 2.25rem !important;
    padding-bottom: 4rem !important;
}

article {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.78) !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42) !important;
}

article::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 22rem);
}

article > div:first-child {
    position: relative;
    padding: 2.4rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(135deg, rgba(88, 28, 135, 0.58), rgba(15, 23, 42, 0.2) 56%),
        rgba(15, 23, 42, 0.72);
}

article > div:first-child > p:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.5);
}

article h1 {
    max-width: 13ch;
    margin: 0 auto !important;
    text-wrap: balance;
    letter-spacing: 0 !important;
}

article > div:first-child > p:last-child {
    max-width: 58ch;
    margin: 1rem auto 0;
    color: #cbd5e1 !important;
    font-size: 1rem !important;
    line-height: 1.85 !important;
}

article section {
    position: relative;
    padding: 1.5rem;
}

article section h2 {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 1.75rem 0 0.55rem !important;
    color: #f8fafc !important;
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-wrap: balance;
}

article section h2:first-child {
    margin-top: 0 !important;
}

article section h2::before {
    content: "";
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #ec4899);
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.45);
}

article section p {
    margin: 0;
    padding: 0 0 1.45rem 1.25rem;
    border-left: 1px solid rgba(148, 163, 184, 0.16);
    color: #cbd5e1 !important;
    font-size: 1rem !important;
    line-height: 1.92 !important;
}

article > div:last-child {
    margin: 0 1.5rem 1.5rem;
    padding: 1.35rem !important;
    background:
        linear-gradient(135deg, rgba(147, 51, 234, 0.34), rgba(236, 72, 153, 0.22)),
        rgba(15, 23, 42, 0.92) !important;
    border: 1px solid rgba(236, 72, 153, 0.28) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

article > div:last-child h2 {
    margin: 0 !important;
    color: #fff !important;
}

article > div:last-child p {
    margin: 0.6rem 0 1rem;
}

article > div:last-child a {
    width: 100%;
    min-height: 48px;
    color: #fff !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    main {
        width: min(100%, 920px) !important;
        max-width: 920px !important;
    }

    article > div:first-child {
        padding: 3.4rem 3rem 2.6rem;
    }

    article h1 {
        max-width: 16ch;
    }

    article section {
        padding: 2.25rem 3rem 1.5rem;
    }

    article section p {
        padding-left: 1.65rem;
        font-size: 1.06rem !important;
    }

    article > div:last-child {
        margin: 0 3rem 3rem;
        padding: 1.6rem !important;
    }

    article > div:last-child a {
        width: auto;
    }
}
