/**
 * OJS public journal UI — y2026_cnnthon
 * Loaded via OjsAsset on OJS views only.
 */

/* Flush under site main nav; hide breaking ticker on OJS pages */
body.ojs-public-page .breaking-strip {
    display: none !important;
}

body.ojs-public-page main.content {
    padding-top: 0 !important;
}

.ojs-cnnt-page-head {
    margin: 0;
}

.ojs-cnnt-shell {
    background: linear-gradient(180deg, #f6efe2 0%, #f7f9fb 42%, #ffffff 100%);
}

.ojs-cnnt-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .ojs-cnnt-wrap {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.ojs-cnnt-nav {
    margin: 0;
}

.ojs-cnnt-nav__link,
.ojs-cnnt-nav__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.ojs-cnnt-nav__link {
    color: #16253f;
    padding: 0 1rem;
}

.ojs-cnnt-nav__link:hover,
.ojs-cnnt-nav__link.is-active {
    background: #f7f9fb;
    color: #b42318;
}

.ojs-cnnt-nav__action {
    padding: 0 1.15rem;
}

.ojs-cnnt-nav__action--primary {
    border: 1px solid #c89d1d;
    background: #c89d1d;
    color: #fff;
    box-shadow: 0 14px 28px rgba(200, 157, 29, 0.22);
}

.ojs-cnnt-nav__action--primary:hover {
    background: #b88c13;
    color: #fff;
}

.ojs-cnnt-nav__action--secondary {
    border: 1px solid #d7dde5;
    background: #fff;
    color: #16253f;
}

.ojs-cnnt-nav__action--secondary:hover {
    background: #f7f9fb;
}

.ojs-cnnt-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #d7dde5;
    background: linear-gradient(145deg, #16345a 0%, #204c80 42%, #d1a118 100%);
    color: #fff;
}

.ojs-cnnt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.12), transparent 24%),
        radial-gradient(circle at 75% 78%, rgba(255, 255, 255, 0.1), transparent 22%);
}

.ojs-cnnt-hero__inner {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2.25rem;
}

.ojs-cnnt-hero__journal-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.ojs-cnnt-hero .ojs-cnnt-chip {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ojs-cnnt-hero .ojs-cnnt-chip.ojs-cnnt-chip--gold {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.ojs-cnnt-hero .ojs-cnnt-btn--secondary {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ojs-cnnt-hero .ojs-cnnt-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.ojs-cnnt-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.84);
}

.ojs-cnnt-hero__eyebrow::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #fff;
}

.ojs-cnnt-hero__title {
    margin-top: 1.25rem;
    font-family: var(--font-title, inherit);
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.ojs-cnnt-hero__desc {
    margin-top: 1.25rem;
    max-width: 56rem;
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.88);
}

.ojs-cnnt-main {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.ojs-cnnt-panel {
    overflow: hidden;
    border: 1px solid #d7dde5;
    border-radius: 1.75rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(8, 31, 58, 0.08);
}

.ojs-cnnt-panel--soft {
    background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.ojs-cnnt-section-title {
    font-family: var(--font-title, inherit);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    color: #16253f;
}

.ojs-cnnt-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #16253f;
}

.ojs-cnnt-label::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    background: #b42318;
}

.ojs-cnnt-text {
    color: #4a5565;
    line-height: 1.9;
}

.ojs-cnnt-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    padding: 0 0.85rem;
    border-radius: 9999px;
    border: 1px solid #d7dde5;
    background: #fff;
    color: #16253f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ojs-cnnt-chip--gold {
    border-color: rgba(200, 157, 29, 0.35);
    background: rgba(200, 157, 29, 0.1);
    color: #9b6b00;
}

.ojs-cnnt-chip--red {
    border-color: rgba(180, 35, 24, 0.18);
    background: rgba(180, 35, 24, 0.08);
    color: #b42318;
}

.ojs-cnnt-meta {
    color: #667085;
    font-size: 0.92rem;
}

.ojs-cnnt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0 1.2rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ojs-cnnt-btn--primary {
    border: 1px solid #c89d1d;
    background: #c89d1d;
    color: #fff;
    box-shadow: 0 16px 30px rgba(200, 157, 29, 0.24);
}

.ojs-cnnt-btn--primary:hover {
    background: #b88c13;
    color: #fff;
    transform: translateY(-1px);
}

.ojs-cnnt-btn--secondary {
    border: 1px solid #d7dde5;
    background: #fff;
    color: #16253f;
}

.ojs-cnnt-btn--secondary:hover {
    background: #f7f9fb;
    color: #16253f;
}

.ojs-cnnt-form .form-group {
    margin-bottom: 0;
}

.ojs-cnnt-form .form-group + .form-group {
    margin-top: 1.25rem;
}

.ojs-cnnt-form label,
.ojs-cnnt-form .control-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #16253f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ojs-cnnt-form .form-control,
.ojs-cnnt-form select,
.ojs-cnnt-form textarea,
.ojs-cnnt-form input[type="file"] {
    width: 100%;
    border: 1px solid #d7dde5;
    border-radius: 1.15rem;
    background: #fff;
    padding: 0.95rem 1rem;
    color: #16253f;
    box-shadow: none;
}

.ojs-cnnt-form .form-control:focus,
.ojs-cnnt-form select:focus,
.ojs-cnnt-form textarea:focus {
    border-color: #c89d1d;
    box-shadow: 0 0 0 4px rgba(200, 157, 29, 0.12);
    outline: none;
}

.ojs-cnnt-form .help-block {
    margin-top: 0.6rem;
    color: #b42318;
    font-size: 0.875rem;
    line-height: 1.6;
}

.ojs-cnnt-form .hint-block {
    margin-top: 0.6rem;
    color: #667085;
    font-size: 0.875rem;
    line-height: 1.7;
}

.ojs-cnnt-form .submission-abstract-editor .tox-tinymce {
    border-radius: 1.2rem !important;
    border-color: #d7dde5 !important;
    overflow: hidden;
}

.ojs-cnnt-form .submission-abstract-editor .tox .tox-edit-area__iframe,
.ojs-cnnt-form .submission-abstract-editor .tox .tox-edit-area__iframe body {
    background: #fff;
}

.ojs-cnnt-form-control,
select.ojs-cnnt-form-control {
    width: 100%;
    border: 1px solid #d7dde5;
    border-radius: 1.15rem;
    background: #fff;
    padding: 0.95rem 1rem;
    color: #16253f;
    box-shadow: none;
}

.ojs-cnnt-form-control:focus,
select.ojs-cnnt-form-control:focus {
    border-color: #c89d1d;
    box-shadow: 0 0 0 4px rgba(200, 157, 29, 0.12);
    outline: none;
}

.ojs-cnnt-richtext,
.ojs-cnnt-richtext p,
.ojs-cnnt-richtext li {
    color: #243246;
    line-height: 1.95;
}

.ojs-cnnt-richtext h1,
.ojs-cnnt-richtext h2,
.ojs-cnnt-richtext h3,
.ojs-cnnt-richtext h4 {
    color: #16253f;
    font-weight: 800;
}

.ojs-cnnt-citation-list li + li {
    margin-top: 1rem;
}

.ojs-cnnt-pager .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-left: 0;
    list-style: none;
}

.ojs-cnnt-pager .pagination > li > a,
.ojs-cnnt-pager .pagination > li > span {
    display: inline-flex;
    min-width: 2.8rem;
    height: 2.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dde5;
    border-radius: 0.9rem;
    background: #fff;
    color: #16253f;
    font-size: 0.82rem;
    font-weight: 700;
}

.ojs-cnnt-pager .pagination > .active > a,
.ojs-cnnt-pager .pagination > .active > span {
    border-color: #c89d1d;
    background: #c89d1d;
    color: #fff;
}

.ojs-cnnt-empty {
    border: 1px dashed #d7dde5;
    border-radius: 1.5rem;
    background: #fffdf7;
    padding: 2rem;
    text-align: center;
    color: #667085;
}

.ojs-cnnt-stat {
    border: 1px solid #d7dde5;
    border-radius: 1.25rem;
    background: #fff;
    padding: 1rem 1.1rem;
}

.ojs-cnnt-stat strong {
    display: block;
    margin-top: 0.35rem;
    color: #16253f;
    font-size: 1.4rem;
    font-weight: 800;
}

/* Issue summary — cover 1/3, content 2/3 */
.ojs-cnnt-issue-summary__grid {
    min-height: 0;
}

.ojs-cnnt-issue-summary__cover {
    min-height: 220px;
}

.ojs-cnnt-issue-summary__cover img {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .ojs-cnnt-issue-summary__grid {
        min-height: 280px;
    }

    .ojs-cnnt-issue-summary__cover {
        border-right: 1px solid #d7dde5;
        min-height: 100%;
    }

    .ojs-cnnt-issue-summary__body {
        min-height: 100%;
    }
}

/* Citation modal */
#citation-modal.flex {
    display: flex;
}

/* CMS policy pages opened from OJS */
.cnnt-page-content img {
    max-width: 100%;
    height: auto;
}

.cnnt-page-content table {
    width: 100%;
    border-collapse: collapse;
}

.cnnt-page-view .panel {
    border-radius: 22px;
    border: 1px solid #d7dde5;
    background: #fff;
    box-shadow: 0 18px 40px rgba(8, 31, 58, 0.06);
}
