:root {
    --brand-primary: #2563eb;
    --bg: #ffffff;
    --soft: #f8fafc;
    --surface: #ffffff;
    --border: #e5e7eb;
    --text: #111827;
    --muted: #64748b;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header,
.site-footer,
.content-band,
.hero-inner,
.publisher-hero,
.journal-hero {
    padding-left: max(22px, calc((100vw - 1180px) / 2));
    padding-right: max(22px, calc((100vw - 1180px) / 2));
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.site-brand,
.brand-block,
.identity-row {
    display: flex;
    align-items: center;
    gap: 13px;
}

.site-brand {
    color: var(--text);
}

.site-brand-symbol,
.logo-placeholder {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 800;
}

.site-brand small,
.eyebrow {
    display: block;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 18px;
}

.hero-band,
.publisher-hero,
.journal-hero {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.hero-inner,
.publisher-hero,
.journal-hero {
    padding-top: 58px;
    padding-bottom: 58px;
}

h1,
h2 {
    margin: 0 0 12px;
    line-height: 1.15;
}

h1 {
    font-size: clamp(34px, 5vw, 58px);
}

h2 {
    font-size: 28px;
}

.eyebrow {
    margin: 0 0 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-inner p,
.publisher-hero p,
.journal-summary {
    max-width: 760px;
    color: #334155;
}

.search-panel {
    display: flex;
    max-width: 780px;
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}

.search-panel input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 15px 16px;
    font: inherit;
}

.search-panel button {
    border: 0;
    padding: 0 22px;
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 800;
}

.content-band {
    padding-top: 44px;
    padding-bottom: 44px;
}

.content-band.soft {
    background: var(--soft);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.publisher-card,
.journal-list a {
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    padding: 18px;
    color: var(--text);
}

.publisher-card:hover,
.journal-list a:hover {
    border-color: var(--brand-primary);
    text-decoration: none;
}

.publisher-card small,
.journal-list small,
.journal-list span,
.public-meta dt {
    color: var(--muted);
}

.journal-list {
    display: grid;
    gap: 12px;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px;
}

.public-meta {
    display: grid;
    gap: 10px;
    margin: 0;
}

.public-meta div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.public-meta dd {
    margin: 0;
}

.double-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.brand-block-publisher {
    min-width: 260px;
    justify-content: flex-end;
    text-align: right;
}

.logo-placeholder.muted {
    background: #0f172a;
}

.empty-state {
    border: 1px dashed var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    padding-bottom: 24px;
    color: var(--muted);
    background: #ffffff;
}

@media (max-width: 760px) {
    .site-header,
    .double-brand,
    .search-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav {
        flex-wrap: wrap;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .brand-block-publisher {
        justify-content: flex-start;
        text-align: left;
    }
}
