/* SSG — Scientific Steps Group brand UI
   Palette from logo: royal blue, crimson red, deep neutrals */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
    --ssg-blue-950: #0c1829;
    --ssg-blue-900: #152a45;
    --ssg-blue-800: #1b365d;
    --ssg-blue-700: #23395b;
    --ssg-blue-600: #2d4a73;
    --ssg-blue-500: #3d5f8f;
    --ssg-red-700: #5a1a21;
    --ssg-red-600: #631d24;
    --ssg-red-500: #7a2430;
    --ssg-red-400: #9b3040;

    --navy: var(--ssg-blue-800);
    --navy-light: var(--ssg-blue-600);
    --accent: var(--ssg-red-600);
    --accent-hover: var(--ssg-red-500);

    --text: #1e293b;
    --text-muted: #64748b;
    --surface: #ffffff;
    --surface-elevated: #f8fafc;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-sm: 0 1px 2px rgba(6, 26, 58, 0.06);
    --shadow-md: 0 8px 24px rgba(6, 26, 58, 0.08);
    --shadow-lg: 0 16px 40px rgba(6, 26, 58, 0.12);
    --header-height: 6.25rem;
    --scroll-offset: calc(var(--header-height) + 0.75rem);
    --content-width: 72rem;
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Source Serif 4', Georgia, serif;
    /* Public site body text size (html stays 16px so rem-based UI stays balanced). */
    --body-font-size: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-offset);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--body-font-size);
    color: var(--text);
    line-height: 1.6;
    background: linear-gradient(180deg, #f4f7fc 0%, #eef2f8 40%, #f8fafc 100%);
    min-height: 100vh;
}

a {
    color: var(--ssg-blue-600);
    transition: color 0.15s ease;
}

a:hover {
    color: var(--ssg-red-600);
}

img {
    max-width: 100%;
    height: auto;
}

/* —— Site header (light) —— */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(27, 54, 93, 0.06);
}

.site-header__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--ssg-blue-800);
    flex-shrink: 0;
    min-width: 0;
}

.site-brand:hover {
    color: var(--ssg-blue-800);
}

.site-brand__logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.15;
    min-width: 0;
}

.site-brand__name {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ssg-blue-900);
    line-height: 1.15;
}

.site-brand__tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
    max-width: 52rem;
}

.site-nav a {
    color: var(--ssg-blue-800);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--ssg-red-600);
    background: rgba(99, 29, 36, 0.06);
}

.site-nav a.is-active {
    background: rgba(27, 54, 93, 0.08);
    color: var(--ssg-red-600);
}

.site-nav__menu {
    position: relative;
}

.site-nav__menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ssg-blue-800);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__menu-trigger:hover,
.site-nav__menu.is-open .site-nav__menu-trigger {
    color: var(--ssg-red-600);
    background: rgba(99, 29, 36, 0.06);
}

.site-nav__menu-trigger.is-active {
    color: var(--ssg-red-600);
}

.site-nav__menu.is-open .site-nav__menu-trigger.is-active {
    background: rgba(99, 29, 36, 0.06);
}

.site-nav__menu-caret {
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.site-nav__menu.is-open .site-nav__menu-caret {
    transform: rotate(-135deg) translateY(1px);
}

.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 15rem;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.35rem);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.site-nav__menu.is-open .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.site-nav__dropdown a {
    display: block;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
}

.site-nav__dropdown a.is-active {
    background: rgba(27, 54, 93, 0.08);
    color: var(--ssg-red-600);
}

/* —— Layout —— */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.container--narrow {
    max-width: 56rem;
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--ssg-red-600) 0%, var(--ssg-red-700) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(185, 28, 60, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(185, 28, 60, 0.45);
    filter: brightness(1.05);
}

.btn--secondary {
    background: linear-gradient(135deg, var(--ssg-blue-700) 0%, var(--ssg-blue-800) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.3);
}

.btn--secondary:hover {
    box-shadow: 0 6px 20px rgba(10, 36, 99, 0.4);
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: none;
    color: #fff;
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--ssg-blue-700);
    color: var(--ssg-blue-800);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--ssg-blue-800);
    color: #fff;
    border-color: var(--ssg-blue-800);
}

/* —— Cards —— */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.4rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    border-color: rgba(26, 77, 158, 0.35);
    box-shadow: var(--shadow-md);
}

.card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.card--link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ssg-blue-600), var(--ssg-red-500));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card--link:hover::before {
    opacity: 1;
}

.card--link:hover {
    transform: translateY(-2px);
}

.card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ssg-red-600);
    background: rgba(185, 28, 60, 0.08);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}

.card__title {
    margin: 0.5rem 0 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
    line-height: 1.35;
}

.card__meta {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* —— Single-column stacks (no multi-column page layouts) —— */
.card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 52rem;
}

.card-stack .card--link {
    padding: 1.25rem 1.35rem;
}

/* —— Journals catalog (/journals) —— */
.journal-catalog {
    padding-bottom: 2rem;
}

.journal-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 1.15rem;
}

.journal-catalog__card {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: center;
}

.journal-catalog__cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
}

.journal-catalog__cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-catalog__cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--ssg-blue-800), var(--ssg-blue-600));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.25;
    text-align: center;
}

.journal-catalog__body {
    padding: 0.8rem 0.75rem 0.95rem;
}

.journal-catalog__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ssg-blue-800);
}

.journal-catalog__card:hover .journal-catalog__title {
    color: var(--ssg-red-600);
}

@media (min-width: 640px) {
    .journal-catalog__grid {
        grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
        gap: 1.35rem;
    }

    .journal-catalog__title {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .journal-catalog__grid {
        grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
        gap: 1.5rem;
    }
}

/* Legacy class — kept as single column */
.grid-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 52rem;
}

/* —— Typography —— */
h1, h2, h3 {
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
    line-height: 1.25;
}

.page-title {
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.page-intro {
    margin: 0;
    color: var(--text-muted);
    max-width: 42rem;
}

.section-title {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 0.5rem;
    background: linear-gradient(90deg, var(--ssg-red-600), var(--ssg-blue-600));
    border-radius: 2px;
}

/* —— Hero —— */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
    color: var(--text);
    padding: 3rem 1.25rem 3.5rem;
    border-bottom: 1px solid var(--border);
}

.hero--light::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 15%, rgba(99, 29, 36, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 8% 85%, rgba(27, 54, 93, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ssg-red-600), var(--ssg-blue-600), var(--ssg-red-500));
}

.hero__inner {
    position: relative;
    max-width: var(--content-width);
    margin: 0 auto;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ssg-blue-600);
    margin-bottom: 0.75rem;
}

.hero__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--ssg-blue-900);
    max-width: 36rem;
    line-height: 1.15;
}

.hero__tagline {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__lead {
    margin: 1rem 0 0;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.hero__actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* —— Stats strip —— */
.stats-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stats-strip .stat-card {
    flex: 1 1 10rem;
    max-width: 14rem;
}

.stat-card {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stat-card__value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
    line-height: 1;
}

.stat-card__value--accent {
    color: var(--ssg-red-600);
}

.stat-card__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* —— Page hero (journals list etc.) —— */
.page-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4fa 100%);
    color: var(--text);
    padding: 2.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.page-hero__inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.page-hero h1 {
    color: var(--ssg-blue-900);
    margin: 0;
    font-size: 1.85rem;
}

.page-hero p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    max-width: 40rem;
}

/* —— Footer (light) —— */
.site-footer {
    margin-top: 3rem;
    background: #f8fafc;
    color: var(--text);
    padding: 2.5rem 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
}

.site-footer__grid {
    max-width: var(--content-width);
    margin: 0 auto 2rem;
    display: grid;
    gap: 2rem 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr) minmax(0, 1fr);
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__about {
        grid-column: 1 / -1;
    }
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

@media (max-width: 639px) {
    .site-footer__nav {
        grid-template-columns: 1fr;
    }
}

.site-footer__nav-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ssg-blue-900);
}

.site-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__nav-list li + li {
    margin-top: 0.4rem;
}

.site-footer__nav-list a {
    color: var(--ssg-blue-700);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
}

.site-footer__nav-list a:hover {
    color: var(--ssg-red-600);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.site-footer__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-footer__brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.site-footer__name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ssg-blue-900);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.15;
}

.site-footer__tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.site-footer__desc {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 36rem;
}

.site-footer__contact p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.site-footer__contact a {
    color: var(--ssg-blue-700);
}

.site-footer__subscribe-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}

.site-footer__bottom {
    max-width: var(--content-width);
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.site-footer__copy {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* —— Article & site page content (readable, justified prose) —— */
.article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content > *:last-child {
    margin-bottom: 0;
}

.article-content p {
    margin: 0 0 1rem;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    text-align: left;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
    line-height: 1.35;
    margin: 1.5rem 0 0.75rem;
}

.article-content h2 {
    font-size: 1.35rem;
}

.article-content h3,
.article-block-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.article-content h4,
.article-block-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ssg-blue-800);
}

.article-content h2:first-child,
.article-content h3:first-child,
.article-content h4:first-child,
.article-content h5:first-child,
.article-block-section__heading:first-child {
    margin-top: 0;
}

.article-block-section__heading {
    text-align: left;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.5rem 0 0.75rem;
}

.article-content h5,
.article-block-text h5 {
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ssg-blue-700);
}

.article-content h6 {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--ssg-blue-600);
}

.article-content ul,
.article-content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.45rem;
    padding-left: 0.15rem;
    text-align: justify;
    text-justify: inter-word;
}

.article-content li:last-child {
    margin-bottom: 0;
}

.article-content li > ul,
.article-content li > ol {
    margin-top: 0.45rem;
    margin-bottom: 0;
}

.article-content a {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.article-content strong {
    font-weight: 700;
    color: var(--ssg-blue-900);
}

.article-content sup,
.article-content sub {
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.article-content sup {
    top: -0.4em;
}

.article-content sub {
    top: 0.25em;
}

.article-content blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--ssg-blue-600);
    background: var(--surface-elevated);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* —— Tables —— */
.ssg-table-wrap { margin: 1.25rem 0; }
.ssg-table-caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ssg-blue-800);
    margin-bottom: 0.5rem;
}
.ssg-table-scroll {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.ssg-data-table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--surface);
}
.ssg-data-table th,
.ssg-data-table td,
.article-content table th,
.article-content table td {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.ssg-data-table thead th,
.article-content table thead th {
    background: linear-gradient(135deg, var(--ssg-blue-800), var(--ssg-blue-700));
    color: #fff;
    font-weight: 600;
    border-color: var(--ssg-blue-900);
}
.ssg-data-table--spreadsheet th,
.article-content table.ssg-data-table--spreadsheet th {
    background: linear-gradient(135deg, var(--ssg-blue-800), var(--ssg-blue-700));
    color: #fff;
    font-weight: 600;
    border-color: var(--ssg-blue-900);
}
.ssg-data-table__section-row td {
    font-weight: 600;
    background: #f1f5f9;
}
.ssg-data-table__section-row td,
.ssg-data-table__cell--align-center,
.ssg-data-table__cell--merged.ssg-data-table__cell--align-center {
    text-align: center !important;
}
.ssg-figure__table-scroll .ssg-data-table__section-row td,
.ssg-figure__table-scroll .ssg-data-table__cell--align-center {
    text-align: center !important;
}
.ssg-data-table tbody tr:nth-child(even),
.article-content table tbody tr:nth-child(even) {
    background: var(--surface-elevated);
}
.ssg-data-table tbody tr:hover,
.article-content table tbody tr:hover {
    background: #eef2ff;
}
.ssg-table-cell-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.25rem auto;
}
.ssg-data-table sup,
.ssg-data-table sub,
.article-content table sup,
.article-content table sub {
    font-size: 0.75em;
    line-height: 0;
}
.ssg-table-empty {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

/* —— Article figures (thumbnail + lightbox) —— */
.ssg-figure {
    margin: 1rem 0;
}
.ssg-figure--image {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
}
.ssg-figure--multi .ssg-figure__panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    align-items: start;
    justify-items: center;
}
.ssg-figure__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.ssg-figure__panel-label {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-muted, #4b5563);
    text-align: center;
}
.ssg-figure--multi .ssg-figure__preview {
    width: 100%;
    max-width: 100%;
}
.ssg-figure--multi .ssg-figure__thumb {
    max-height: 220px;
    width: auto;
    max-width: 100%;
}
.ssg-figure--table {
    max-width: min(100%, 100%);
}
.ssg-figure__preview {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
}
.ssg-figure--image .ssg-figure__preview {
    width: fit-content;
    max-width: min(100%, 168px);
    margin-inline: auto;
    border-radius: var(--radius-sm);
}
.ssg-figure__preview--table {
    max-height: 220px;
}
.ssg-figure__open {
    display: block;
    width: 100%;
    padding: 0.35rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.ssg-figure__open:hover .ssg-figure__expand,
.ssg-figure__open:focus-visible .ssg-figure__expand {
    background: var(--ssg-blue-800);
    color: #fff;
    border-color: var(--ssg-blue-800);
}
.ssg-figure__thumb {
    display: block;
    width: 100%;
    max-height: 96px;
    object-fit: contain;
    margin: 0 auto;
}
.ssg-figure__expand,
.ssg-figure__expand-btn {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    width: 1.55rem;
    height: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ssg-blue-800);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ssg-figure__expand svg,
.ssg-figure__expand-btn svg {
    width: 14px;
    height: 14px;
}
.ssg-figure__expand-btn:hover,
.ssg-figure__expand-btn:focus-visible {
    background: var(--ssg-blue-800);
    color: #fff;
    border-color: var(--ssg-blue-800);
    outline: none;
}
.ssg-figure__table-scroll {
    overflow: auto;
    max-height: 200px;
    padding: 0.35rem;
}
.ssg-figure__table-scroll .ssg-data-table {
    font-size: 0.82rem;
    table-layout: fixed;
}
.ssg-figure__table-scroll .ssg-data-table th,
.ssg-figure__table-scroll .ssg-data-table td {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.4;
}
.ssg-figure__caption {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    width: 100%;
    max-width: 100%;
}

.ssg-figure__caption.article-content {
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

.ssg-figure__caption.article-content > *:first-child,
.ssg-figure__caption.article-content > *:last-child {
    margin: 0;
}

.ssg-figure__caption.article-content p {
    margin: 0;
    display: inline;
}
.ssg-figure__caption--above {
    margin-top: 0;
    margin-bottom: 0.55rem;
    text-align: left;
    font-style: normal;
    font-weight: 600;
    color: var(--ssg-blue-900);
}

/* Lightbox */
body.ssg-lightbox-open {
    overflow: hidden;
}
.ssg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.ssg-lightbox[hidden] {
    display: none !important;
}
.ssg-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}
.ssg-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 56rem);
    max-height: min(92vh, 900px);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ssg-lightbox__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.ssg-lightbox--image .ssg-lightbox__header {
    justify-content: space-between;
}
.ssg-lightbox__title {
    margin: 0;
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ssg-blue-900);
    font-weight: 600;
}
.ssg-lightbox__zoom-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.ssg-lightbox__zoom-btn {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ssg-blue-800);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.ssg-lightbox__zoom-btn--label {
    min-width: 3.25rem;
    font-size: 0.78rem;
    font-weight: 600;
}
.ssg-lightbox__zoom-btn:hover,
.ssg-lightbox__zoom-btn:focus-visible {
    background: var(--ssg-blue-800);
    color: #fff;
    border-color: var(--ssg-blue-800);
    outline: none;
}
.ssg-lightbox__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.ssg-lightbox__close {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}
.ssg-lightbox__close:hover {
    color: var(--ssg-red-600);
    border-color: var(--ssg-red-600);
}
.ssg-lightbox__body {
    padding: 1rem;
    overflow: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ssg-lightbox--table .ssg-lightbox__dialog {
    width: min(96vw, 72rem);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}
.ssg-lightbox--table.ssg-lightbox--table-cols-many .ssg-lightbox__dialog {
    width: min(98vw, 96rem);
}
.ssg-lightbox--table .ssg-lightbox__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}
.ssg-lightbox__table-host {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 1rem 1.15rem 1.15rem;
    box-sizing: border-box;
    overflow: auto;
}
.ssg-data-table--lightbox {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    font-size: 0.92rem;
    line-height: 1.45;
}
.ssg-data-table--lightbox th,
.ssg-data-table--lightbox td {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    vertical-align: top;
    line-height: 1.45;
}
.ssg-lightbox--table-cols-2 .ssg-data-table--lightbox th,
.ssg-lightbox--table-cols-2 .ssg-data-table--lightbox td {
    width: 50%;
}
.ssg-lightbox--table-cols-3 .ssg-data-table--lightbox th,
.ssg-lightbox--table-cols-3 .ssg-data-table--lightbox td {
    width: 33.333%;
}
.ssg-lightbox--table-cols-4 .ssg-data-table--lightbox th,
.ssg-lightbox--table-cols-4 .ssg-data-table--lightbox td {
    width: 25%;
}
.ssg-lightbox--table-cols-5 .ssg-data-table--lightbox th,
.ssg-lightbox--table-cols-5 .ssg-data-table--lightbox td {
    width: 20%;
}
.ssg-lightbox--table-cols-6 .ssg-data-table--lightbox th,
.ssg-lightbox--table-cols-6 .ssg-data-table--lightbox td {
    width: 16.666%;
}
.ssg-lightbox--table-cols-many .ssg-data-table--lightbox {
    font-size: 0.84rem;
}
.ssg-lightbox__table-host .ssg-data-table__section-row td,
.ssg-lightbox__table-host .ssg-data-table__cell--align-center {
    text-align: center !important;
}
.ssg-lightbox__image-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.ssg-lightbox__image-viewport {
    width: 100%;
    max-height: min(68vh, 640px);
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}
.ssg-lightbox__image-zoom {
    transform-origin: center center;
    transition: transform 0.15s ease;
    will-change: transform;
}
.ssg-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: min(64vh, 600px);
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.ssg-lightbox__caption {
    margin: 0.85rem auto 0;
    max-width: 42rem;
    padding: 0 0.5rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}
.ssg-lightbox__caption:empty {
    display: none;
}

/* Legacy content image aliases (article HTML embeds) */
.ssg-content-image-wrap {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto;
    text-align: center;
}
.ssg-content-image-frame {
    width: fit-content;
    max-width: 168px;
    margin-inline: auto;
    max-height: 96px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ssg-content-image {
    max-width: 100%;
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.ssg-content-image-caption {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    width: 100%;
    max-width: 100%;
}

/* —— Article equations —— */
.ssg-equation-wrap {
    margin: 1.35rem 0;
    max-width: 100%;
}
.ssg-equation-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.ssg-equation-body {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.5;
    overflow-x: auto;
    max-width: 100%;
}
.ssg-equation-body mjx-container {
    margin: 0;
    max-width: 100%;
}
.ssg-equation-tex {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.ssg-equation-number {
    flex: 0 0 auto;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 2rem;
    text-align: right;
}
.article-page .article-body-section .ssg-figure--image .ssg-figure__caption,
.article-page .article-body-section .ssg-content-image-caption {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
}
.article-block-text { margin: 1rem 0; }

/* —— Article page —— */
.article-page {
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
}
.article-metadata { margin-bottom: 1.5rem; }
.article-metadata__open-access-badge {
    margin-bottom: 0.65rem;
}
.article-metadata__type {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ssg-blue-800);
    font-family: var(--font-display);
}
.ssg-badge {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}
.ssg-badge--open-access {
    width: 109px;
    height: auto;
}
.ssg-badge--cc-by {
    width: auto;
    height: 40px;
}
.ssg-badge-link--cc-by {
    display: inline-block;
    line-height: 0;
}
.ssg-badge-link--cc-by:hover,
.ssg-badge-link--cc-by:focus-visible {
    opacity: 0.88;
    outline: none;
}
.article-metadata__title {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}
.article-metadata__authors {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
}
.article-metadata__author {
    display: inline;
}
.article-metadata__author-name {
    display: inline;
}
.article-metadata__corresponding {
    font-size: 0.62em;
    line-height: 0;
    vertical-align: super;
    color: var(--ssg-gold, #c9a227);
    font-weight: 700;
    margin-left: 0.02em;
}
.article-metadata__author-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.2rem;
    color: var(--ssg-blue-700);
    text-decoration: none;
    vertical-align: middle;
}
.article-metadata__author-email:hover,
.article-metadata__author-email:focus-visible {
    color: var(--ssg-red-600);
    outline: none;
}
.article-metadata__author-email-icon {
    display: block;
}
.article-metadata__correspondence-note {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}
.article-metadata__timeline {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
    font-weight: 500;
}
.article-metadata__author-sep {
    display: inline;
}
.article-metadata__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.article-metadata__pdf {
    background: transparent;
    border: 2px solid var(--ssg-blue-700);
    color: var(--ssg-blue-800);
    box-shadow: none;
}
.article-metadata__pdf:hover {
    background: var(--ssg-blue-800);
    color: #fff;
}
.article-section { margin: 1.5rem 0; }
.article-section__heading {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ssg-red-600);
}
.article-section__body { margin: 0; }
.article-abstract-section .article-section__body[itemprop="abstract"] {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    line-height: 1.75;
}
.article-section__placeholder {
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}
.article-keywords { margin-top: 1rem; }
.article-keywords__list {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.article-body-section { margin-top: 2rem; }
.article-copyright-notice {
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.article-copyright-notice__body {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.article-copyright-notice__license-badge {
    margin-bottom: 0.85rem;
}
.article-copyright-notice__body p {
    margin: 0 0 0.65rem;
}
.article-copyright-notice__body p:last-child {
    margin-bottom: 0;
}
.article-copyright-notice__body a {
    color: var(--ssg-blue-700);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}
.article-copyright-notice__body a:hover {
    color: var(--ssg-red-600);
}
.article-citation__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    padding-left: 2.5rem;
    text-indent: -2.5rem;
}
.article-citation-section em { font-style: italic; }

/* —— Journal chrome (shared header/footer) —— */
.journal-chrome-header {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.journal-chrome-header__inner {
    max-width: min(100%, 96rem);
    margin: 0 auto;
    padding: 1.25rem 1.25rem 1.5rem;
}

.journal-chrome-header--with-cover .journal-chrome-header__inner {
    display: flex;
    align-items: flex-start;
    gap: 1.35rem;
}

.journal-chrome-header__cover {
    flex-shrink: 0;
    width: 8.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.journal-chrome-header__cover-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.journal-chrome-header__content {
    min-width: 0;
    flex: 1 1 auto;
}

.journal-chrome-header__breadcrumb { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.journal-chrome-header__breadcrumb a { color: var(--ssg-blue-700); text-decoration: none; }
.journal-chrome-header__breadcrumb a:hover { text-decoration: underline; color: var(--ssg-red-600); }
.journal-chrome-header__breadcrumb span { margin: 0 0.35rem; }
.journal-chrome-header__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ssg-red-600), var(--ssg-red-700));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}
.journal-chrome-header__title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}
.journal-chrome-header__subtitle {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--ssg-blue-700);
    font-weight: 500;
}
.journal-chrome-header__issn { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--text-muted); }
.journal-chrome-header__issue-meta {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}

@media (max-width: 599px) {
    .journal-chrome-header--with-cover .journal-chrome-header__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .journal-chrome-header--with-cover .journal-chrome-header__cover {
        width: 10rem;
    }
}
.journal-chrome-submit-wrap {
    max-width: min(100%, 96rem);
    margin: 0 auto;
    padding: 1rem 1.25rem 0;
}

.journal-indexers-footer { margin-top: 1.5rem; }
.journal-indexers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}
.journal-indexer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    text-decoration: none;
    color: var(--ssg-blue-800);
    max-width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.journal-indexer-item:hover {
    border-color: var(--ssg-blue-600);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.journal-indexer-item--static { background: var(--surface-elevated); }
.journal-indexer-item__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.journal-indexer-item__name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* —— Journal chrome layout (full-width shell + side rails) —— */
.journal-chrome-shell {
    width: 100%;
    padding: 0 0.5rem 2rem;
}

.journal-chrome-layout {
    width: 100%;
    max-width: min(100%, 96rem);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    align-items: start;
}

.journal-chrome-main {
    min-width: 0;
}

.journal-chrome-aside {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.journal-aside-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.1rem;
    box-shadow: var(--shadow-sm);
}

.journal-aside-panel__title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
    line-height: 1.3;
    padding-bottom: 0.55rem;
    border-bottom: 2px solid #dbe4ef;
}

.journal-aside-issues .journal-aside-panel__title::before,
.journal-aside-spotlight .journal-aside-panel__title::before,
.journal-aside-recent .journal-aside-panel__title::before,
.journal-aside-indexers .journal-aside-panel__title::before,
.article-aside-tools .journal-aside-panel__title::before {
    content: '';
    display: block;
    width: 2.25rem;
    height: 3px;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ssg-red-500), var(--ssg-blue-700));
}

.journal-aside-panel__hint {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Journal info panel (center column, always visible) */
.journal-info-panel {
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(160deg, #fff 0%, #f6f9fc 55%, #eef3fa 100%);
    border: 1px solid var(--border-strong);
}

.journal-info-panel__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.journal-info-panel__hero {
    min-width: 0;
    flex: 1 1 16rem;
}

.journal-info-panel__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ssg-red-600), var(--ssg-red-700));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.journal-info-panel__name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}

.journal-info-panel__category {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ssg-blue-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journal-info-panel__issn {
    margin: 0;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex: 0 1 auto;
    min-width: 11rem;
}

.journal-info-panel__issn-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    padding: 0.15rem 0;
}

.journal-info-panel__issn-row dt {
    color: var(--text-muted);
    font-weight: 600;
}

.journal-info-panel__issn-row dd {
    margin: 0;
    font-weight: 700;
    color: var(--ssg-blue-800);
}

.journal-info-panel__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.journal-info-panel__metric {
    padding: 0.75rem 0.65rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.journal-info-panel__metric-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
    line-height: 1.2;
}

.journal-info-panel__metric-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.journal-info-panel__actions {
    margin-top: 1rem;
}

.journal-info-panel__submit {
    display: inline-block;
    text-align: center;
    padding: 0.7rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--ssg-blue-800), var(--ssg-blue-700));
    border-radius: var(--radius-md);
    border: 1px solid var(--ssg-blue-800);
    transition: background 0.15s ease, transform 0.15s ease;
}

.journal-info-panel__submit:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--ssg-red-600), var(--ssg-red-700));
    border-color: var(--ssg-red-600);
    transform: translateY(-1px);
}

@media (min-width: 700px) {
    .journal-info-panel__metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.journal-issue-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.journal-issue-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ssg-blue-800);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.journal-issue-list__link:hover {
    color: #fff;
    background: var(--ssg-blue-800);
    border-color: var(--ssg-blue-800);
}

.journal-issue-list__label {
    line-height: 1.35;
}

.journal-issue-list__arrow {
    font-size: 0.75rem;
    opacity: 0.75;
    flex-shrink: 0;
}

.journal-spotlight-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.journal-spotlight-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.journal-spotlight-card__media {
    aspect-ratio: 4 / 3;
    background: var(--ssg-blue-50);
    overflow: hidden;
}

.journal-spotlight-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.journal-spotlight-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--ssg-blue-700), var(--ssg-blue-900));
}

.journal-spotlight-card__badge {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.journal-spotlight-card__body {
    padding: 0.85rem 0.9rem 0.95rem;
}

.journal-spotlight-card__date {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.journal-spotlight-card__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}

.journal-spotlight-card:hover .journal-spotlight-card__title {
    color: var(--ssg-red-600);
}

.journal-spotlight-card__authors {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.journal-spotlight-card__journal {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.journal-spotlight-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.journal-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.journal-recent-list__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.journal-recent-list__link:hover {
    border-color: var(--ssg-blue-500);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.journal-recent-list__thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8eef6;
}

.journal-recent-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.journal-recent-list__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 8rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(145deg, var(--ssg-blue-700), var(--ssg-blue-900));
}

.journal-recent-list__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0.9rem 0.95rem;
}

.journal-recent-list__date {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.journal-recent-list__title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}

.journal-recent-list__authors {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-top: 0.2rem;
}

.journal-recent-list__link:hover .journal-recent-list__title {
    color: var(--ssg-red-600);
}

.journal-aside-more {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    color: var(--ssg-blue-700);
    background: var(--surface-elevated);
    border: 1px dashed var(--border-strong);
}

.journal-aside-more:hover {
    color: var(--ssg-red-600);
    border-color: var(--ssg-red-400);
}

.journal-aside-back__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--ssg-blue-800), var(--ssg-blue-700));
    border-radius: var(--radius-md);
    border: 1px solid var(--ssg-blue-800);
    transition: background 0.15s ease, transform 0.15s ease;
}

.journal-aside-back__link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--ssg-red-600), var(--ssg-red-700));
    border-color: var(--ssg-red-600);
    transform: translateY(-1px);
}

.journal-aside-back__icon {
    font-size: 1rem;
    line-height: 1;
}

.journal-aside-back__journal {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.journal-aside-back__badge {
    display: inline-block;
    margin-right: 0.35rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: var(--ssg-red-600);
    border-radius: var(--radius-sm);
    vertical-align: middle;
}

.article-aside-tools__heading {
    margin: 1rem 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ssg-blue-700);
}

.article-aside-stats {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.article-aside-stats__item {
    padding: 0.65rem 0.55rem;
    text-align: center;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.article-aside-stats__item--views .article-aside-stats__icon {
    color: #fff;
    background: linear-gradient(135deg, #3d5f8f, #1b365d);
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
}

.article-aside-stats__item--pdf .article-aside-stats__icon {
    color: #fff;
    background: linear-gradient(135deg, #c62828, #8b1a1a);
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
}

.article-aside-stats__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.35rem;
    color: var(--ssg-blue-700);
}

.article-aside-stats__value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
    line-height: 1.2;
}

.article-aside-stats__label {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.article-aside-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.4rem;
}

.article-aside-icon-grid--cite {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem 0.4rem;
}

.article-aside-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.article-aside-icon-item .article-aside-icon-btn {
    width: 100%;
}

.article-aside-icon-label {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: var(--ssg-blue-800);
}

.article-aside-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.article-aside-icon-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.article-aside-icon-btn__brand-img {
    display: block;
    object-fit: contain;
}

.article-aside-icon-btn:hover,
.article-aside-icon-btn.is-copied {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}

.article-aside-icon-btn--email { background: #ea4335; border-color: #ea4335; }
.article-aside-icon-btn--whatsapp { background: #25d366; border-color: #25d366; }
.article-aside-icon-btn--facebook { background: #1877f2; border-color: #1877f2; }
.article-aside-icon-btn--x { background: #000000; border-color: #000000; }
.article-aside-icon-btn--linkedin { background: #0a66c2; border-color: #0a66c2; }
.article-aside-icon-btn--copy { background: #5f6368; border-color: #5f6368; }
.article-aside-icon-btn--copy.is-copied { background: var(--ssg-red-600); border-color: var(--ssg-red-600); }

.article-aside-icon-btn--mendeley {
    background: #9b1c1c;
    border-color: #9b1c1c;
    padding: 0.2rem 0.35rem;
    min-height: 2.65rem;
}

.article-aside-icon-btn--mendeley .article-aside-icon-btn__brand-img {
    width: auto;
    max-width: 100%;
    height: 2.15rem;
    object-fit: contain;
}

.article-aside-icon-btn--ris { background: #00897b; border-color: #00897b; }
.article-aside-icon-btn--bib { background: #f59e0b; border-color: #f59e0b; }
.article-aside-icon-btn--apa { background: #1565c0; border-color: #1565c0; }

@media (max-width: 1099px) {
    .article-aside-icon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-aside-icon-grid--cite {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.journal-aside-indexers__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.journal-aside-indexers__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.journal-aside-indexers__badge:hover {
    border-color: var(--ssg-blue-600);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.journal-aside-indexers__badge--static {
    background: var(--surface-elevated);
}
.journal-aside-indexers__logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 3.25rem;
    height: auto;
    object-fit: contain;
}
.journal-aside-indexers__label {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ssg-blue-800);
    text-align: center;
}

.journal-aside-indexer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.journal-aside-indexer-list__link,
.journal-aside-indexer-list__static {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ssg-blue-800);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
}

.journal-aside-indexer-list__link:hover {
    border-color: var(--ssg-blue-600);
    box-shadow: var(--shadow-sm);
}

.journal-aside-indexer-list__logo {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex-shrink: 0;
}

@media (min-width: 1100px) {
    .journal-chrome-shell {
        padding: 0 0.75rem 2.5rem;
    }

    .journal-chrome-layout {
        grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr) minmax(260px, 1.2fr);
        gap: 0;
        border-radius: var(--radius-xl);
        overflow: visible;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        background: #fff;
    }

    .journal-chrome-layout:not(.site-chrome-layout) {
        align-items: stretch;
    }

    .journal-chrome-layout:not(.site-chrome-layout) .journal-chrome-aside--right,
    .journal-chrome-aside--article-sidebar {
        position: static;
        top: auto;
        align-self: stretch;
        max-height: none;
        overflow: visible;
        overscroll-behavior: auto;
        z-index: auto;
    }

    .journal-chrome-layout:not(.site-chrome-layout) .journal-chrome-aside--left {
        position: sticky;
        top: var(--scroll-offset);
        align-self: start;
        max-height: calc(100vh - var(--scroll-offset) - 0.75rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 5;
    }

    .journal-chrome-main {
        padding: 1.25rem 1.5rem 1.5rem;
        background: #fff;
    }

    .journal-chrome-layout--article {
        grid-template-columns: minmax(0, 2.85fr) minmax(300px, 1fr);
    }

    .journal-chrome-layout--article .journal-chrome-main--article {
        padding: 1.5rem 2rem 2rem;
    }

    .journal-chrome-layout:not(.site-chrome-layout) .journal-chrome-aside--left {
        padding: 1.15rem 1rem 1.25rem 1.2rem;
        background: linear-gradient(180deg, #f8fafc 0%, #eef3fa 100%);
        border-right: 1px solid var(--border);
    }

    .journal-chrome-layout:not(.site-chrome-layout) .journal-chrome-aside--right {
        padding: 1.15rem 1.2rem 1.25rem 1rem;
        background: linear-gradient(180deg, #f8fafc 0%, #eef3fa 100%);
        border-left: 1px solid var(--border);
    }

    .journal-chrome-aside--article-sidebar {
        padding: 1.15rem 1.2rem 1.25rem 1rem;
        background: linear-gradient(180deg, #f8fafc 0%, #eef3fa 100%);
        border-left: 1px solid var(--border);
    }
}

@media (max-width: 1099px) {
    .journal-chrome-layout {
        grid-template-columns: 1fr;
    }

    .journal-chrome-main {
        order: 1;
    }

    .journal-chrome-aside--left {
        order: 2;
    }

    .journal-chrome-aside--right {
        order: 3;
    }

    .journal-chrome-layout--article .journal-chrome-main--article {
        order: 1;
    }

    .journal-chrome-layout--article .journal-chrome-aside--article-sidebar {
        order: 2;
    }
}

/* —— Journal page (single column) —— */
.journal-page-wrap {
    max-width: none;
    margin: 0;
    padding: 0;
}

.journal-page-main {
    max-width: none;
}

.journal-page-nav {
    margin-bottom: 0;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.journal-page-nav--aside {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.85);
}

.journal-page-nav--aside .journal-page-nav__links {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.2rem;
}

.journal-page-nav--aside .journal-page-nav__links a {
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    border: none;
    border-left: 3px solid transparent;
    background: transparent;
    padding: 0.45rem 0.55rem;
    font-size: 0.8rem;
}

.journal-page-nav--aside .journal-page-nav__links a.is-active,
.journal-page-nav--aside .journal-page-nav__links a.is-active:hover {
    background: rgba(27, 54, 93, 0.1);
    color: var(--ssg-blue-900);
    border-left-color: var(--ssg-red-500);
    font-weight: 700;
}

.journal-main-panel {
    margin-bottom: 1.25rem;
}

.journal-main-section[hidden] {
    display: none !important;
}

.journal-main-section + .journal-main-section:not([hidden]) {
    margin-top: 0;
}

.journal-page-nav__label {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.journal-page-nav__groups {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.journal-page-nav__group-title {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ssg-blue-700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.journal-page-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.journal-page-nav__links a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ssg-blue-800);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.journal-page-nav__links a:hover {
    color: #fff;
    background: var(--ssg-blue-800);
    border-color: var(--ssg-blue-800);
}

.journal-section { margin: 1rem 0; scroll-margin-top: var(--scroll-offset); }
#journal-latest-articles { scroll-margin-top: var(--scroll-offset); }
.journal-main-section { scroll-margin-top: var(--scroll-offset); }
.journal-section__heading {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--ssg-blue-900);
    font-family: var(--font-display);
}
.journal-section__subheading {
    margin: 1.25rem 0 0.75rem;
    font-size: 1rem;
    color: var(--ssg-blue-600);
}
.journal-section__body { margin: 0; }
.journal-about-meta { margin-bottom: 1rem; }
.journal-about-meta__line { margin: 0.25rem 0; }
.journal-about-meta__issn { color: var(--text-muted); font-size: 0.9rem; }
.journal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.journal-metrics__item {
    flex: 1 1 8rem;
    max-width: 12rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    text-align: center;
    background: var(--surface-elevated);
}
.journal-metrics__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
}
.journal-metrics__label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}
.journal-editorial-member { margin-bottom: 1rem; }
.journal-editorial-member--chief { margin-bottom: 1.25rem; }
.journal-editorial-member__layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.journal-editorial-member__photo-wrap { flex-shrink: 0; width: 88px; }
.journal-editorial-member__photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--border);
    display: block;
    background: var(--surface-elevated);
}
.journal-editorial-member__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.journal-editorial-member__photo-initial {
    font-size: 1.75rem;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1;
}
.journal-editorial-member__content { flex: 1; min-width: 0; }
.journal-editorial-member__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}
.editorial-academic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.editorial-academic-links__item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}
.editorial-academic-links__item:hover {
    border-color: var(--ssg-blue-600);
    color: var(--ssg-blue-800);
}
.editorial-academic-links__item--orcid { color: #a6ce39; border-color: #cfe8a8; }
.editorial-academic-links__item--scopus { color: #e9711c; border-color: #f5c99a; }
.editorial-academic-links__item--google_scholar { color: #4285f4; border-color: #aecbfa; }
.editorial-academic-links__item--wos { color: #5c2d91; border-color: #c4b5d8; }
.editorial-academic-links__icon { width: 16px; height: 16px; flex-shrink: 0; }
.editorial-academic-links__label { white-space: nowrap; }
.journal-editorial-member__name { margin: 0; font-weight: 700; color: var(--ssg-blue-800); }
.journal-editorial-member__role { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--text-muted); }
.journal-editorial-member__affiliation { margin: 0.25rem 0 0; font-size: 0.9rem; line-height: 1.5; }

/* —— Conference person cards (site pages) —— */
.conference-person--featured {
    margin: 0 0 1.25rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-sm);
}

.conference-person--featured .conference-person__layout {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.conference-person--featured .conference-person__photo-wrap {
    flex-shrink: 0;
    width: 7.5rem;
}

.conference-person--featured .conference-person__photo {
    width: 7.5rem;
    height: 9rem;
    border-radius: var(--radius-md);
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--border);
    display: block;
    background: #fff;
}

.conference-person__content { min-width: 0; flex: 1 1 auto; }

.conference-person__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
    line-height: 1.35;
}

.conference-person__role {
    margin: 0.2rem 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ssg-red-600);
}

.conference-person__affiliation {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.conference-person__bio {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.conference-person__bio p:first-child { margin-top: 0; }
.conference-person__bio p:last-child { margin-bottom: 0; }

.conference-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 1rem;
    margin-top: 0.25rem;
}

.conference-person--card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.85rem 0.75rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.conference-person--card:hover {
    border-color: rgba(26, 77, 158, 0.35);
    box-shadow: var(--shadow-sm);
}

.conference-person--card .conference-person__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    margin-bottom: 0.65rem;
    border: 1px solid var(--border);
    background: #fff;
}

.conference-person--card .conference-person__name {
    font-size: 0.88rem;
}

.conference-person--card .conference-person__role {
    font-size: 0.78rem;
}

.conference-person--card .conference-person__affiliation {
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .conference-person--featured .conference-person__layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .conference-people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.conference-committee-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(26, 77, 158, 0.06), rgba(185, 28, 60, 0.04));
}

.conference-committee-head__photo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--border);
    flex-shrink: 0;
    background: #fff;
}

.conference-committee-head__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ssg-blue-800);
    line-height: 1.3;
}

.conference-committee-head__role {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ssg-red-600);
}

.conference-committee-head__affiliation {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.conference-committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr));
    gap: 0.65rem 0.85rem;
}

.conference-committee-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.55rem 0.35rem;
    border-radius: var(--radius-md);
    transition: background 0.15s ease;
}

.conference-committee-member:hover {
    background: var(--surface-elevated);
}

.conference-committee-member__photo {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--border);
    margin-bottom: 0.4rem;
    background: #fff;
}

.conference-committee-member__name {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ssg-blue-800);
}

.conference-committee-member__affiliation {
    margin: 0.2rem 0 0;
    font-size: 0.66rem;
    line-height: 1.35;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 900px) {
    .conference-committee-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.75rem 1rem;
    }
}

@media (max-width: 640px) {
    .conference-committee-head {
        flex-direction: column;
        text-align: center;
    }

    .conference-committee-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.journal-latest-articles { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.journal-latest-article__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    line-height: 1.35;
}
.journal-latest-article__title a { color: var(--ssg-blue-800); text-decoration: none; }
.journal-latest-article__title a:hover { text-decoration: underline; }
.journal-latest-article__citation {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.journal-articles-list__summary {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.journal-articles-pagination {
    margin-top: 1.25rem;
}

.ssg-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssg-pagination__item {
    display: flex;
}

.ssg-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid var(--border-subtle, #d8dee8);
    border-radius: var(--radius-sm, 6px);
    background: #fff;
    color: var(--ssg-blue-800, #0f1458);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}

.ssg-pagination__item--active .ssg-pagination__link {
    background: var(--ssg-blue-800, #0f1458);
    border-color: var(--ssg-blue-800, #0f1458);
    color: #fff;
}

.ssg-pagination__item--disabled .ssg-pagination__link {
    opacity: 0.45;
    cursor: default;
}

a.ssg-pagination__link:hover {
    background: var(--ssg-blue-50, #eef2ff);
    text-decoration: none;
}

/* —— Site page sections (always stacked, never side-by-side) —— */
.section-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}
.section-image--full img { width: 100%; max-height: 420px; object-fit: cover; }
.section-image--top,
.section-image--below-heading,
.section-image--bottom { margin-bottom: 1rem; }

/* Services / conferences: compact section illustrations (not full-width banners) */
.site-chrome-shell--services .section-image--below-heading,
.site-chrome-shell--conferences .section-image--below-heading {
    float: right;
    clear: right;
    margin: 0 0 0.75rem 1.25rem;
    max-width: min(42%, 220px);
}

.site-chrome-shell--services .section-image--below-heading img,
.site-chrome-shell--conferences .section-image--below-heading img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-chrome-shell--services .site-page-section::after,
.site-chrome-shell--conferences .site-page-section::after {
    content: "";
    display: table;
    clear: both;
}

.site-chrome-shell--conferences .section-image--full img {
    max-height: 260px;
}

.site-chrome-shell--conferences .section-image--top img,
.site-chrome-shell--conferences .section-image--bottom img {
    max-width: min(42%, 220px);
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-chrome-shell--conferences .section-image--side img {
    max-width: min(42%, 220px);
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-chrome-shell--conferences .hub-index__figure {
    float: right;
    clear: right;
    margin: 0 0 0.75rem 1.25rem;
    max-width: min(36%, 200px);
}

.site-chrome-shell--conferences .hub-index__figure img {
    width: 100%;
    max-height: 130px;
    object-fit: cover;
}

.site-chrome-shell--conferences .hub-index__item::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 640px) {
    .site-chrome-shell--services .section-image--below-heading,
    .site-chrome-shell--conferences .section-image--below-heading {
        float: none;
        margin: 0 0 0.85rem;
        max-width: 100%;
        text-align: center;
    }

    .site-chrome-shell--services .section-image--below-heading img,
    .site-chrome-shell--conferences .section-image--below-heading img {
        max-height: 120px;
        margin-inline: auto;
    }

    .site-chrome-shell--conferences .section-image--top img,
    .site-chrome-shell--conferences .section-image--bottom img,
    .site-chrome-shell--conferences .section-image--side img {
        max-width: 100%;
        max-height: 120px;
        margin-inline: auto;
    }

    .site-chrome-shell--conferences .hub-index__figure {
        float: none;
        margin: 0 0 0.85rem;
        max-width: 100%;
        text-align: center;
    }

    .site-chrome-shell--conferences .hub-index__figure img {
        max-height: 120px;
        width: auto;
        max-width: 100%;
        margin-inline: auto;
    }
}
.section-heading {
    color: var(--ssg-blue-900);
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    line-height: 1.35;
    text-align: left;
}
.page-content { max-width: 52rem; }

.site-page-section {
    margin-top: 0;
    padding-bottom: 1.75rem;
}

.site-page-section + .site-page-section {
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.site-chrome-main .article-content.section-body {
    max-width: 52rem;
}

/* —— Hero with logo —— */
.hero__brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.hero__logo {
    width: clamp(120px, 18vw, 160px);
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.hero__copy { flex: 1; min-width: 16rem; }

/* —— Home layout with sidebar —— */
.home-layout {
    display: grid;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 900px) {
    .home-layout {
        grid-template-columns: 16rem 1fr;
        align-items: start;
    }
}

.site-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.1rem;
    box-shadow: var(--shadow-sm);
}

.site-sidebar__group + .site-sidebar__group {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.site-sidebar__heading {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ssg-blue-800);
    font-family: var(--font-sans);
}

.site-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-sidebar__list li + li {
    margin-top: 0.35rem;
}

.site-sidebar__list a {
    font-size: 0.88rem;
    color: var(--ssg-blue-700);
    text-decoration: none;
    line-height: 1.4;
}

.site-sidebar__list a:hover {
    color: var(--ssg-red-600);
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
}

.news-card__title a:hover {
    color: var(--ssg-red-600);
}

.news-index,
.hub-index {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-index__item,
.hub-index__item {
    padding: 1.35rem 1.4rem;
}

.hub-index__figure {
    margin: 0 0 1rem;
}

.hub-index__figure img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-sm, 6px);
}

.news-index__date,
.hub-index__meta {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-index__title,
.hub-index__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--ssg-blue-900);
}

.news-index__title a,
.hub-index__title a {
    color: inherit;
    text-decoration: none;
}

.news-index__title a:hover,
.hub-index__title a:hover {
    color: var(--ssg-red-600);
}

.news-index__teaser,
.hub-index__teaser {
    margin: 0 0 0.85rem;
    line-height: 1.7;
    color: var(--text);
}

.news-index__read-more,
.hub-index__read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ssg-blue-700);
    text-decoration: none;
}

.news-index__read-more:hover,
.hub-index__read-more:hover {
    color: var(--ssg-red-600);
}

.hub-index__subtitle {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ssg-blue-700);
}

.hub-index__meta span + span::before {
    content: '·';
    margin: 0 0.35rem;
    color: var(--text-muted);
}

.hub-index__event-type {
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* —— English editing price calculator (Services page) —— */
.editing-calc {
    margin-top: 1.5rem;
    padding: 1.35rem 1.4rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
}

.editing-calc__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ssg-blue-900);
}

.editing-calc__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

.editing-calc__field-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ssg-blue-900);
}

.editing-calc__input {
    width: 100%;
    max-width: 14rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--surface);
}

.editing-calc__input:focus {
    outline: 2px solid rgba(45, 74, 115, 0.25);
    border-color: var(--ssg-blue-500);
}

.editing-calc__hint {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.editing-calc__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .editing-calc__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.editing-calc__card {
    padding: 1.1rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.editing-calc__card-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: var(--ssg-blue-900);
}

.editing-calc__card-desc,
.editing-calc__card-meta {
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    text-align: left;
}

.editing-calc__card-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.editing-calc__rate,
.editing-calc__total {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.editing-calc__rate-label,
.editing-calc__total-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.editing-calc__rate-value {
    font-weight: 700;
    color: var(--ssg-blue-800);
}

.editing-calc__total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.editing-calc__total-value {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ssg-red-600);
}

.editing-calc__actions {
    margin-top: 1.35rem;
    text-align: center;
}

.editing-calc__order {
    min-width: 12rem;
    margin-top: 0.85rem;
}

.editing-calc__card.is-selected {
    border-color: var(--ssg-blue-600);
    box-shadow: 0 0 0 1px rgba(27, 54, 93, 0.12);
}

.editing-calc__card {
    cursor: pointer;
}

.service-order-panel {
    margin-top: 1.5rem;
}

.service-order-panel__intro {
    margin: 0 0 1.15rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.service-order-form__estimate-wrap {
    align-self: end;
}

.service-order-form__estimate {
    margin: 0;
    padding: 0.75rem 0.9rem;
    background: #f3f7fb;
    border: 1px solid #dbe4ef;
    border-radius: var(--radius-md);
}

.service-order-form__estimate-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.service-order-form__estimate-value {
    font-size: 1.2rem;
    color: var(--ssg-red-600);
}

.site-form__field--full {
    grid-column: 1 / -1;
}

.site-form__field textarea {
    width: 100%;
    min-height: 6rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #cfd8e3;
    border-radius: var(--radius-md);
    font: inherit;
    resize: vertical;
}

.site-form__field textarea:focus {
    outline: 2px solid rgba(27, 54, 93, 0.25);
    border-color: var(--ssg-blue-600);
}

.home-main {
    min-width: 0;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-list__item {
    padding: 1.25rem 1.35rem;
}

.article-list__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ssg-blue-900);
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.article-list__title:hover {
    color: var(--ssg-red-600);
}

.article-list__type {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ssg-blue-800);
}

.article-list__authors {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}

.article-list__meta {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-list__sep {
    margin: 0 0.35rem;
}

.article-list__citation {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-card {
    padding: 1.15rem 1.25rem;
}

.news-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-family: var(--font-display);
    color: var(--ssg-blue-900);
}

.news-card__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.subscribe-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ssg-blue-800);
}

.subscribe-form__field input {
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    background: #fff;
}

.subscribe-form__field input:focus {
    outline: 2px solid rgba(27, 54, 93, 0.25);
    border-color: var(--ssg-blue-600);
}

/* —— Site pages: three-column chrome —— */
.site-chrome-shell {
    padding-top: 0.5rem;
}

/* Site pages: stretch left rail to page height; sticky page TOC only (not whole column). */
@media (min-width: 1100px) {
    .site-chrome-layout {
        align-items: stretch;
    }

    .site-chrome-layout--no-right {
        grid-template-columns: minmax(220px, 0.95fr) minmax(0, 3.05fr);
    }

    .site-chrome-shell--services .journal-chrome-layout,
    .site-chrome-shell--conferences .journal-chrome-layout {
        max-width: min(100%, 112rem);
    }

    .site-chrome-shell--services .journal-chrome-main,
    .site-chrome-shell--conferences .journal-chrome-main {
        padding: 1.35rem 1.75rem 1.75rem;
    }

    .site-chrome-shell .journal-chrome-aside--left,
    .site-chrome-shell .journal-chrome-aside--right {
        position: static;
        top: auto;
        align-self: stretch;
        max-height: none;
        overflow: visible;
        overscroll-behavior: auto;
        z-index: auto;
    }

    .site-chrome-shell .journal-chrome-aside--left {
        min-height: 100%;
    }

    .site-chrome-shell .site-aside-page-nav {
        position: sticky;
        top: var(--scroll-offset);
        z-index: 6;
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        max-height: calc(100vh - var(--scroll-offset) - 1rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        margin-bottom: 0.85rem;
        padding-bottom: 0.15rem;
        background: linear-gradient(180deg, #f8fafc 0%, #eef3fa 55%, #eef3fa 100%);
    }
}

.site-chrome-main .section-title {
    margin-top: 0;
}

.site-page-section {
    scroll-margin-top: var(--scroll-offset);
}

.journal-chrome-aside .site-sidebar {
    margin-bottom: 0;
}

.site-aside-breadcrumb__trail {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.site-aside-breadcrumb__trail a {
    color: var(--ssg-blue-700);
    text-decoration: none;
    font-weight: 600;
}

.site-aside-breadcrumb__trail a:hover {
    color: var(--ssg-red-600);
}

.site-aside-breadcrumb__current {
    color: var(--ssg-blue-900);
    font-weight: 700;
}

.site-sidebar__list a.is-active,
.site-aside-toc__list a.is-active {
    color: var(--ssg-red-600);
    font-weight: 700;
}

.site-aside-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-aside-toc__list li + li {
    margin-top: 0.35rem;
}

.site-aside-toc__list a {
    font-size: 0.84rem;
    color: var(--ssg-blue-700);
    text-decoration: none;
    line-height: 1.4;
}

.site-aside-toc__list a:hover {
    color: var(--ssg-red-600);
}

.site-aside-journal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.site-aside-journal-list__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-elevated);
    text-decoration: none;
    color: var(--ssg-blue-800);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}

.site-aside-journal-list__link:hover {
    border-color: var(--ssg-blue-600);
    box-shadow: var(--shadow-sm);
}

.site-aside-journal-list__cover {
    width: 2.5rem;
    height: 3rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.site-aside-journal-list__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--ssg-blue-800), var(--ssg-blue-600));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.site-aside-contact__line {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text);
}

.site-aside-contact__line:last-of-type {
    margin-bottom: 0.85rem;
}

.site-aside-contact__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.site-aside-contact__line a {
    color: var(--ssg-blue-800);
    text-decoration: none;
    font-weight: 600;
}

.site-aside-contact__line a:hover {
    color: var(--ssg-red-600);
}

/* Home page — left rail site map */
.home-site-map {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.home-site-map__scroll {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 1100px) {
    .site-chrome-shell .journal-chrome-aside--left .home-site-map {
        position: sticky;
        top: var(--scroll-offset);
        z-index: 6;
        max-height: calc(100vh - var(--scroll-offset) - 1rem);
    }

    .site-chrome-shell .journal-chrome-aside--left .home-site-map__scroll {
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 0.15rem;
    }
}

.home-site-map__group + .home-site-map__group {
    padding-top: 0.75rem;
    border-top: 1px solid #e8edf4;
}

.home-site-map__heading {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ssg-blue-700);
    line-height: 1.35;
}

.home-site-map__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-site-map__list li + li {
    margin-top: 0.2rem;
}

.home-site-map__list a {
    display: block;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--ssg-blue-800);
    text-decoration: none;
    padding: 0.12rem 0;
}

.home-site-map__list a:hover {
    color: var(--ssg-red-600);
}

.home-site-map .journal-aside-panel__title::before,
.site-aside-journals .journal-aside-panel__title::before,
.site-aside-contact .journal-aside-panel__title::before,
.site-aside-toc .journal-aside-panel__title::before,
.site-aside-siblings .journal-aside-panel__title::before {
    content: '';
    display: block;
    width: 2.25rem;
    height: 3px;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ssg-red-500), var(--ssg-blue-700));
}

/* —— Contact page —— */
.site-contact-layout {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
    .site-contact-layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
        align-items: start;
    }
}

.site-contact-details__title,
.site-contact-form__title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--ssg-blue-900);
}

.site-contact-details__intro,
.site-contact-form__intro {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.site-contact-details__line {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.site-contact-details__line:last-child {
    margin-bottom: 0;
}

.site-contact-details__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ssg-blue-700);
    margin-bottom: 0.2rem;
}

.site-contact-details__line a {
    color: var(--ssg-blue-800);
    font-weight: 600;
    text-decoration: none;
}

.site-contact-details__line a:hover {
    color: var(--ssg-red-600);
}

/* —— Public registration form —— */
.site-register__intro {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.site-register__intro a {
    color: var(--ssg-blue-700);
    font-weight: 600;
    text-decoration: none;
}

.site-register__intro a:hover {
    color: var(--ssg-red-600);
}

.site-alert {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.site-alert--success {
    background: #f0f9f4;
    border-color: #b8e0c8;
}

.site-alert p {
    margin: 0;
    line-height: 1.5;
}

.site-alert p + p {
    margin-top: 0.5rem;
}

.site-form__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .site-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-form__field--checkbox,
    .site-form__actions {
        grid-column: 1 / -1;
    }
}

.site-form__field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ssg-blue-900);
}

.site-form__required {
    color: var(--ssg-red-600);
}

.site-form__field input,
.site-form__field select {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid #cfd8e3;
    border-radius: var(--radius-md);
    font: inherit;
    color: var(--text);
    background: #fff;
}

.site-form__field input:focus,
.site-form__field select:focus {
    outline: 2px solid rgba(27, 54, 93, 0.25);
    border-color: var(--ssg-blue-600);
}

.site-form__file {
    padding: 0.45rem 0.5rem;
    font-size: 0.875rem;
    background: var(--surface-elevated);
}

.site-form__hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.site-form__error {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--ssg-red-600);
}

.site-form__checkbox {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.45;
}

.site-form__checkbox input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.site-form__checkbox a {
    color: var(--ssg-blue-700);
    font-weight: 600;
    text-decoration: none;
}

.site-form__checkbox a:hover {
    color: var(--ssg-red-600);
}

.site-form__actions {
    margin-top: 0.25rem;
}

#journal-field.is-required label::after {
    content: ' *';
    color: var(--ssg-red-600);
}
