:root {
    --journal-bg: #f4f7fb;
    --journal-panel: #ffffff;
    --journal-text: #1d2939;
    --journal-muted: #516178;
    --journal-brand: #0f5675;
    --journal-brand-soft: #dff1fa;
    --journal-accent: #1e8dbd;
    --journal-border: #d2dee8;
    --journal-shadow: 0 24px 45px -35px rgba(12, 39, 54, 0.45);
    --journal-radius: 16px;
}

html,
body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--journal-text);
    background: radial-gradient(circle at top left, #e3edf7 0%, #f7fafd 45%, #eef3f9 100%);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Source Serif 4", Georgia, serif;
    color: #0e2536;
    letter-spacing: 0.01em;
}

a {
    color: var(--journal-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0a3f57;
}

p {
    color: var(--journal-muted);
}

.journal-shell {
    min-height: 100vh;
}

.site-header {
    background: linear-gradient(115deg, #0e4660 0%, #1a6a8f 58%, #2b93bd 100%);
    color: #fff;
    box-shadow: 0 16px 40px -28px rgba(4, 30, 48, 0.8);
}

.brand-strip {
    padding: 1rem 0 0.25rem;
}

.brand-link {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.brand-meta {
    display: flex;
    gap: 0.55rem;
}

.meta-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.site-nav {
    padding: 0.3rem 0 1rem;
}

.site-nav .navbar-brand {
    color: #fff;
    max-width: 75%;
    font-size: 1rem;
    font-weight: 700;
    white-space: normal;
}

.site-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.45rem 0.9rem !important;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.site-search {
    min-width: min(100%, 320px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.site-search .form-control,
.site-search .btn {
    border: none;
}

.site-search .form-control {
    border-radius: 999px 0 0 999px;
    padding-left: 1rem;
}

.site-search .btn {
    border-radius: 0 999px 999px 0;
    background: #072f43;
    color: #fff;
    font-weight: 700;
}

.quick-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

.quick-submit-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.journal-main {
    position: relative;
}

.journal-frame {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(210, 222, 232, 0.75);
    border-radius: calc(var(--journal-radius) + 6px);
    box-shadow: var(--journal-shadow);
    padding: 1.2rem;
}

.content-panel,
.sidebar-card {
    border: 1px solid var(--journal-border);
    border-radius: var(--journal-radius);
    background: var(--journal-panel);
    box-shadow: 0 18px 35px -30px rgba(18, 44, 59, 0.45);
}

.content-panel {
    padding: 1.15rem 1.2rem;
}

.journal-sidebar .card-header {
    border-bottom: 1px solid var(--journal-border);
    border-radius: var(--journal-radius) var(--journal-radius) 0 0;
    background: linear-gradient(125deg, #e9f4fb 0%, #f7fbff 100%);
    padding: 0.9rem 1rem;
}

.journal-sidebar .card-title {
    font-size: 1.1rem;
}

.journal-sidebar .list-group-item {
    border-color: var(--journal-border);
    padding: 0.7rem 1rem;
}

.journal-sidebar .list-group-item a {
    color: var(--journal-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.subscription-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 220px;
    line-height: 1.3;
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    border: none;
    background: linear-gradient(135deg, #0f5f82 0%, #1a89b8 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 16px 35px -20px rgba(11, 74, 104, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscription-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 22px 40px -22px rgba(10, 72, 100, 0.85);
}

.btn-info,
.bg-info {
    background-color: var(--journal-brand) !important;
    border-color: var(--journal-brand) !important;
}

.btn-info:hover {
    background-color: #0a435b !important;
    border-color: #0a435b !important;
}

.card {
    border-radius: var(--journal-radius);
    border-color: var(--journal-border);
}

.breadcrumb {
    margin-bottom: 0;
    background: #eef6fb;
    border: 1px solid var(--journal-border);
}

.list-item > li {
    list-style: none;
    border-bottom: 1px dashed var(--journal-border);
}

.list-item > li:last-child {
    border-bottom: 0;
}

.site-footer {
    margin-top: 1.2rem;
    background: #0d2f42;
    color: #d8ebf7;
    padding: 2.2rem 0;
}

.site-footer p {
    color: #d8ebf7;
}

.site-footer a {
    color: #ffffff;
}

.text-justify {
    text-align: justify;
}

.journal-hero {
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--journal-border);
    background: linear-gradient(160deg, #fdfefe 0%, #eff8fc 55%, #eef3f7 100%);
}

.hero-kicker {
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-links {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.current-issue,
.archive-list-wrap,
.article-list-wrap {
    border: 1px solid var(--journal-border);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.archive-search {
    margin-bottom: 0.8rem;
}

.archive-card {
    border: 1px solid var(--journal-border);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.65rem;
    background: linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
}

.archive-card.special {
    border-left: 4px solid #0f5675;
}

.archive-card:last-child {
    margin-bottom: 0;
}

.archive-card-link h5 {
    margin: 0;
}

.archive-tag {
    align-self: start;
    white-space: nowrap;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--journal-brand-soft);
    color: #0e4f6d;
}

.academic-info {
    border-top: 1px solid var(--journal-border);
    padding-top: 1.1rem;
}

.academic-card {
    border: 1px solid var(--journal-border);
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.academic-card h5 {
    margin-bottom: 0.55rem;
}

.academic-card p {
    margin-bottom: 0.75rem;
}

.academic-link {
    font-weight: 700;
    font-size: 0.92rem;
}

.form-section .form-card,
.contact-card {
    border: 1px solid var(--journal-border);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.form-section .form-card {
    box-shadow: 0 14px 35px -28px rgba(16, 57, 78, 0.55);
}

.form-section .form-label {
    font-weight: 700;
    color: #173446;
    margin-bottom: 0.35rem;
}

.form-section .form-control {
    border: 1px solid #c8d9e6;
    border-radius: 10px;
    padding: 0.62rem 0.82rem;
}

.form-section .form-control:focus {
    border-color: #6fb2d1;
    box-shadow: 0 0 0 0.2rem rgba(15, 86, 117, 0.12);
}

.contact-card h5 {
    margin-bottom: 0.8rem;
}

@media (max-width: 991.98px) {
    .journal-frame {
        padding: 0.75rem;
    }

    .content-panel {
        padding: 0.95rem;
    }

    .site-nav {
        padding-bottom: 0.65rem;
    }

    .site-nav .navbar-collapse {
        margin-top: 0.6rem;
    }

    .site-nav .nav-link {
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }

    .site-search {
        margin-top: 0.6rem;
        min-width: 100%;
    }

    .brand-meta {
        display: none;
    }

    .nav-actions {
        margin-top: 0.45rem;
        flex-direction: column;
        align-items: stretch;
    }

    .quick-submit-btn {
        width: 100%;
    }

    .journal-hero {
        grid-template-columns: 1fr;
    }

    .archive-card {
        flex-direction: column;
    }

    .archive-tag {
        align-self: flex-start;
    }
}
