/* Soft Glass — Open Research / открытые исследования
   Scope: body.soft-glass-page.welcome-page.about-page.research-page */

body.soft-glass-page.welcome-page.about-page.research-page .about-scene {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
    padding-top: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem));
    padding-bottom: max(3rem, env(safe-area-inset-bottom, 0px));
}

body.soft-glass-page.welcome-page.about-page.research-page .about-shell {
    width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-header,
body.soft-glass-page.welcome-page.about-page.research-page .research-hero {
    text-align: center;
    margin-bottom: 0.15rem;
}

/* Visible breadcrumbs for Yandex / users (mirror BreadcrumbList) */
body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs {
    margin: 0 0 0.35rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs ol,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.35;
    color: #5a5a60;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs li,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs li:not(:last-child)::after,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: #9a9aa2;
    font-weight: 300;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs a,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs a {
    color: #1a4f9c;
    text-decoration: none;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs a:hover,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs a:hover {
    text-decoration: underline;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs li:last-child,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs li:last-child {
    color: #2a2a2e;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-breadcrumbs li:last-child span,
body.soft-glass-page.welcome-page.about-page .research-breadcrumbs li:last-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(42ch, 70vw);
}

/* Research / About reading contrast + clear section hierarchy */
body.soft-glass-page.welcome-page.about-page.research-page .about-lead {
    color: #2A2A2E;
    font-weight: 400;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-card {
    padding: 1.55rem 1.55rem 1.45rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-section-title,
body.soft-glass-page.welcome-page.about-page.research-page .about-card > h2.about-section-title {
    font-size: clamp(1.22rem, 2.4vw, 1.4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.28;
    margin: 0 0 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    color: #0F0F10;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-card p,
body.soft-glass-page.welcome-page.about-page.research-page .about-card li,
body.soft-glass-page.welcome-page.about-page.research-page .about-card td,
body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box p,
body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box li {
    color: #141414;
    font-weight: 400;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-card p,
body.soft-glass-page.welcome-page.about-page.research-page .about-card li {
    font-size: 1.02rem;
    line-height: 1.65;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-card > h2.about-section-title + p,
body.soft-glass-page.welcome-page.about-page.research-page .about-card > h2.about-section-title + table,
body.soft-glass-page.welcome-page.about-page.research-page .about-card > h2.about-section-title + ol,
body.soft-glass-page.welcome-page.about-page.research-page .about-card > h2.about-section-title + ul,
body.soft-glass-page.welcome-page.about-page.research-page .about-card > h2.about-section-title + .hypothesis-box {
    margin-top: 0.15rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-card-link .research-meta {
    margin: 0 0 0.55rem;
    text-align: left;
    max-width: none;
    color: #4A4A4E;
    font-size: 0.86rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-card > h3 {
    margin: 1.35rem 0 0.5rem;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #111111;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-meta {
    margin: 0 auto 1rem;
    max-width: 42rem;
    color: #4A4A4E;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-kicker {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-primary, #3B82F6);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

body.soft-glass-page.welcome-page.about-page.research-page .research-title {
    font-size: clamp(1.55rem, 3.6vw, 2.05rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.22;
    margin: 0 auto 0.9rem;
    max-width: 40rem;
    color: #0F0F10;
    text-align: center;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-abstract {
    margin: 0 auto 0.35rem;
    max-width: 44rem;
    color: #1A1A1A;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.62;
    text-align: left;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-abstract strong {
    font-weight: 600;
    color: #111111;
}

body.soft-glass-page.welcome-page.about-page.research-page .cite-list,
body.soft-glass-page.welcome-page.about-page.research-page .sources-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #2A2A2E;
    font-weight: 400;
    font-size: 0.94rem;
    line-height: 1.55;
}

body.soft-glass-page.welcome-page.about-page.research-page .cite-list li,
body.soft-glass-page.welcome-page.about-page.research-page .sources-list li {
    margin-bottom: 0.6rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
    justify-content: center;
    margin: 0.35rem 0 0.85rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-nav a {
    color: var(--accent-primary, #3B82F6);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.92rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-nav a:hover {
    text-decoration: underline;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Listing tiles: wash-градиент как nav-tile на главной */
body.soft-glass-page.welcome-page.about-page.research-page a.research-card-link > .about-card {
    --wash-a: rgba(59, 130, 246, 0.38);
    --wash-b: rgba(155, 123, 255, 0.16);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

body.soft-glass-page.welcome-page.about-page.research-page a.research-card-link > .about-card::before {
    content: "" !important;
    display: block !important;
    opacity: 0;
    background:
        radial-gradient(ellipse 85% 75% at 22% 28%, var(--wash-a), transparent 72%),
        radial-gradient(ellipse 80% 70% at 82% 78%, var(--wash-b), transparent 70%);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    body.soft-glass-page.welcome-page.about-page.research-page a.research-card-link:hover > .about-card::before {
        opacity: 0.42;
    }

    body.soft-glass-page.welcome-page.about-page.research-page a.research-card-link:hover > .about-card {
        border-color: rgba(255, 255, 255, 0.92);
        background: rgba(255, 255, 255, 0.9);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.85) inset,
            0 10px 28px rgba(20, 20, 30, 0.07);
    }
}

/* Заголовки исследований — синие как news titles, без подчёркивания */
body.soft-glass-page.welcome-page.about-page.research-page a.research-card-link .about-card > h2.about-section-title {
    color: var(--accent-primary, #3B82F6) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0.55rem;
    font-weight: 500;
    text-decoration: none !important;
}

body.soft-glass-page.welcome-page.about-page.research-page a.research-card-link:hover .about-card > h2.about-section-title {
    color: var(--accent-hover, #2563EB) !important;
    text-decoration: none !important;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-card-link p {
    margin-bottom: 0;
    color: #1A1A1A;
}

body.soft-glass-page.welcome-page.about-page.research-page table.research-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    font-weight: 400;
    color: #141414;
    margin: 0.45rem 0 0.85rem;
}

body.soft-glass-page.welcome-page.about-page.research-page table.research-table th,
body.soft-glass-page.welcome-page.about-page.research-page table.research-table td {
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    text-align: left;
    padding: 0.6rem 0.45rem;
    vertical-align: top;
}

body.soft-glass-page.welcome-page.about-page.research-page table.research-table th {
    font-weight: 500;
    color: var(--fg-ink, #1A1A1A);
}

body.soft-glass-page.welcome-page.about-page.research-page .finding {
    margin: 0.75rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.14);
    color: var(--fg-ink, #1A1A1A);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.5;
}

body.soft-glass-page.welcome-page.about-page.research-page .disclaimer {
    font-size: 0.86rem;
    color: var(--fg-tertiary, #8A8A90);
    border-top: 1px solid rgba(26, 26, 26, 0.06);
    padding-top: 0.9rem;
    margin-top: 0.4rem;
}

/* Long analytical articles: TOC, quotes, hypotheses, bibliography */
body.soft-glass-page.welcome-page.about-page.research-page .research-keywords {
    margin: 0.35rem auto 0;
    max-width: 44rem;
    font-size: 0.86rem;
    font-weight: 400;
    color: #4A4A4E;
    text-align: left;
    line-height: 1.5;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-keywords strong {
    font-weight: 600;
    color: #1A1A1A;
}

body.soft-glass-page.welcome-page.about-page.research-page nav.toc,
body.soft-glass-page.welcome-page.about-page.research-page .toc {
    margin: 0;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(26, 26, 26, 0.06);
}

body.soft-glass-page.welcome-page.about-page.research-page .toc-title {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4A4A4E;
}

body.soft-glass-page.welcome-page.about-page.research-page .toc ol {
    margin: 0;
    padding-left: 1.15rem;
    color: #1A1A1A;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.55;
}

body.soft-glass-page.welcome-page.about-page.research-page .toc li {
    margin-bottom: 0.28rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .toc a {
    color: var(--accent-primary, #3B82F6);
    text-decoration: none;
}

body.soft-glass-page.welcome-page.about-page.research-page .toc a:hover {
    text-decoration: underline;
}

body.soft-glass-page.welcome-page.about-page.research-page blockquote.research-quote {
    margin: 1rem 0;
    padding: 0.95rem 1.15rem;
    border-left: 3px solid rgba(59, 130, 246, 0.55);
    border-radius: 0 14px 14px 0;
    background: rgba(59, 130, 246, 0.05);
    color: #141414;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.58;
    font-style: italic;
}

body.soft-glass-page.welcome-page.about-page.research-page blockquote.research-quote cite,
body.soft-glass-page.welcome-page.about-page.research-page .quote-attr {
    display: block;
    margin-top: 0.55rem;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--fg-tertiary, #8A8A90);
}

body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box {
    margin: 0.85rem 0 0;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--fg-ink, #1A1A1A);
}

body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box p,
body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box li {
    font-size: 0.96rem;
    line-height: 1.55;
    color: #141414;
    font-weight: 400;
}

body.soft-glass-page.welcome-page.about-page.research-page .hypothesis-box .h-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #b45309;
}

body.soft-glass-page.welcome-page.about-page.research-page .about-card h3:first-child {
    margin-top: 0;
}

body.soft-glass-page.welcome-page.about-page.research-page ol.biblio,
body.soft-glass-page.welcome-page.about-page.research-page .biblio {
    margin: 0;
    padding-left: 1.25rem;
    color: #2A2A2E;
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.55;
}

body.soft-glass-page.welcome-page.about-page.research-page ol.biblio li {
    margin-bottom: 0.65rem;
}

body.soft-glass-page.welcome-page.about-page.research-page .ref {
    font-size: 0.82em;
    font-weight: 500;
    color: var(--accent-primary, #3B82F6);
    text-decoration: none;
    white-space: nowrap;
}

/* Share control — справа в верхней панели */
body.soft-glass-page.welcome-page.about-page.research-page .research-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75) inset,
        0 4px 14px rgba(20, 20, 30, 0.05);
    color: var(--fg-ink, #1A1A1A);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-share-btn:hover {
    color: var(--accent-primary, #3B82F6);
    border-color: rgba(59, 130, 246, 0.32);
    background: rgba(255, 255, 255, 0.92);
}

body.soft-glass-page.welcome-page.about-page.research-page .research-share-btn.is-counted {
    opacity: 0.92;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-share-btn.is-shared .research-share-label {
    max-width: 14rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-share-icon {
    display: block;
    flex-shrink: 0;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-share-count {
    font-variant-numeric: tabular-nums;
    min-width: 1.4em;
    text-align: right;
}

body.soft-glass-page.welcome-page.about-page.research-page .research-share-label {
    display: none;
}

@media (min-width: 520px) {
    body.soft-glass-page.welcome-page.about-page.research-page .research-share-label {
        display: inline;
        font-weight: 400;
        color: #4A4A4E;
    }

    body.soft-glass-page.welcome-page.about-page.research-page .research-share-btn.is-shared .research-share-label {
        color: var(--accent-primary, #3B82F6);
    }
}

body.soft-glass-page.welcome-page.about-page.research-page .about-shell {
    width: min(960px, 100%);
}

@media (max-width: 720px) {
    body.soft-glass-page.welcome-page.about-page.research-page .about-shell {
        width: 100%;
    }

    body.soft-glass-page.welcome-page.about-page.research-page .research-abstract {
        font-size: 0.98rem;
    }

    body.soft-glass-page.welcome-page.about-page.research-page blockquote.research-quote {
        padding: 0.8rem 0.9rem;
    }
}
