/* Journal in press — resources/views/journal/inpress.blade.php */
.inpress-strip {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Solid fallback so the banner is always visible if image path fails */
    background-color: #c5d9ed;
    background-image:
        linear-gradient(90deg, rgba(236, 243, 250, 0.95) 0%, rgba(229, 238, 249, 0.78) 45%, rgba(225, 236, 248, 0.15) 100%),
        url("../../images/slider/banner4.jpeg");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    border-top: 1px solid #d7e3ef;
    border-bottom: 1px solid #d7e3ef;
    padding: 34px 0;
    min-height: 160px;
    clear: both;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.inpress-strip-title {
    margin: 0 0 10px;
    font-size: 44px;
    font-weight: 700;
    color: #123b67;
}

.inpress-strip-subtitle {
    max-width: 520px;
    margin: 0;
    color: #315275;
    font-size: 15px;
    line-height: 1.7;
}

.inpress-main {
    background: #f5f8fc;
    padding: 36px 0 52px;
}

/* Tighten gap between hero strip and article grid (fixed-header layout) */
.sj-contentwrapper .inpress-strip ~ #sj-main.inpress-main {
    padding-top: 16px !important;
    padding-bottom: 52px !important;
}

/* Hide duplicate stats bar only on In Press (footer also includes .journal-footer-stats) */
.sj-contentwrapper:has(> .inpress-strip) > .journal-footer-stats {
    display: none;
}

.inpress-prefooter-stats {
    background: #ffffff;
    border-top: 1px solid #e6edf5;
    border-bottom: 1px solid #e6edf5;
    padding: 24px 0;
}

.inpress-prefooter-stats .stat-item {
    text-align: center;
    border-right: 1px solid #e3ebf3;
}

.inpress-prefooter-stats .stat-item:last-child {
    border-right: 0;
}

.inpress-prefooter-stats .stat-icon {
    width: 42px;
    height: 42px;
    line-height: 42px;
    border: 1px solid #d8e4f1;
    border-radius: 50%;
    color: #1d5d92;
    font-size: 16px;
    margin: 0 auto 8px;
}

.inpress-prefooter-stats h4 {
    margin: 0 0 4px;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    color: #124a7b;
}

.inpress-prefooter-stats p {
    margin: 0;
    color: #516b84;
    font-size: 13px;
}

.inpress-card {
    background: #fff;
    border: 1px solid #e2ebf3;
    border-radius: 6px;
    box-shadow: 0 3px 14px rgba(16, 46, 80, 0.06);
}

.inpress-filter {
    padding: 18px;
}

.inpress-heading {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 700;
    color: #123f6e;
    line-height: 1.2;
}

.inpress-heading-filter {
    font-size: 22px;
}

.inpress-heading-list {
    font-size: 36px;
    margin-bottom: 0;
}

.inpress-label {
    display: block;
    margin: 14px 0 8px;
    font-size: 13px;
    color: #2a4868;
    font-weight: 600;
    text-transform: none;
}

.inpress-select {
    width: 100%;
    border: 1px solid #d5e0ea;
    border-radius: 4px;
    min-height: 38px;
    padding: 8px 9px;
    font-size: 13px;
    color: #253a52;
    background: #fff;
}

.inpress-type-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.inpress-type-list li {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #314b66;
}

.inpress-type-list input[type="checkbox"] {
    width: 13px;
    height: 13px;
    accent-color: #2f6798;
}

.inpress-btn {
    margin-top: 14px;
    width: 100%;
    border: none;
    border-radius: 4px;
    background: #22a457;
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.inpress-btn-reset {
    display: inline-block;
    margin-top: 12px;
    color: #2f6798;
    font-size: 12px;
}

.inpress-filter-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.inpress-filter-icon {
    color: #4d6a89;
    font-size: 13px;
}

.inpress-filter-note {
    margin-top: 18px;
    border-top: 1px solid #edf2f7;
    padding-top: 16px;
}

.inpress-filter-note-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}

.inpress-filter-note-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #e6edf5;
    color: #d0a54a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.inpress-filter-note h5 {
    margin: 0;
    color: #294a6d;
    font-size: 16px;
    font-weight: 700;
}

.inpress-filter-note p {
    margin: 0;
    color: #556d85;
    font-size: 12px;
    line-height: 1.7;
}

.inpress-center {
    padding: 18px;
}

.inpress-center-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebf1f7;
}

.inpress-total {
    font-size: 13px;
    color: #49627d;
    margin: 0;
}

.inpress-post {
    border: 1px solid #e6edf4;
    border-radius: 4px;
    padding: 12px 12px 10px;
    margin-bottom: 10px;
    background: #fff;
}

.inpress-post-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 6px;
}

.inpress-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
    padding: 2px 7px;
    background: #edf7f1;
    color: #288557;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.inpress-open {
    background: #eef4ff;
    color: #2e65a0;
    margin-left: 6px;
}

.inpress-date {
    font-size: 11px;
    color: #5f7690;
    margin: 0;
    white-space: nowrap;
}

.inpress-post h4 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}

.inpress-post h4 a {
    color: #1b466f;
}

.inpress-authors,
.inpress-journal {
    margin: 0 0 4px;
    font-size: 12px;
    color: #45617c;
}

.inpress-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    align-items: center;
}

.inpress-doi {
    font-size: 11px;
    color: #53708d;
    overflow-wrap: anywhere;
}

.inpress-doi strong {
    color: #3a5672;
}

.inpress-action-links a {
    margin-left: 14px;
    font-size: 12px;
    color: #1f5b8f;
    font-weight: 600;
}

.inpress-action-links a i {
    font-size: 11px;
    margin-left: 4px;
}

.inpress-side-card {
    padding: 18px;
    margin-bottom: 14px;
}

.inpress-side-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #0f3b66;
}

.inpress-side-card p {
    margin: 0 0 10px;
    color: #486079;
    font-size: 13px;
    line-height: 1.7;
}

.inpress-side-btn {
    border: 1px solid #2f6798;
    color: #2f6798;
    border-radius: 6px;
    display: inline-block;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
}

.inpress-side-green { background: #f2faf6; }
.inpress-side-blue { background: #f2f7ff; }
.inpress-side-yellow { background: #fff9ed; }

.inpress-metrics {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e2ebf3;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 46, 80, 0.05);
    padding: 20px 0;
}

.inpress-metric-box {
    text-align: center;
    border-right: 1px solid #e8eef5;
}

.inpress-metric-box:last-child {
    border-right: none;
}

.inpress-metric-box h5 {
    margin: 0 0 4px;
    font-size: 28px;
    color: #153f6d;
}

.inpress-metric-box p {
    margin: 0;
    font-size: 13px;
    color: #4f6780;
}

.inpress-intro-html {
    margin-bottom: 14px;
    color: #3e556e;
    font-size: 13px;
}

@media (max-width: 991px) {
    .inpress-strip-title {
        font-size: 36px;
    }

    .inpress-center {
        margin-top: 16px;
    }

    .inpress-prefooter-stats .stat-item {
        border-right: 0;
        margin-bottom: 14px;
    }

    .inpress-prefooter-stats .stat-item:last-child {
        margin-bottom: 0;
    }
}
