﻿:root {
    --jp-navy: #0b1f3a;
    --jp-navy-deep: #071628;
    --jp-gold: #c9a227;
    --jp-gold-soft: #d4af37;
    --jp-cream: #f7f5f0;
    --jp-muted: #5f6b7a;
    --jp-border: #e6e1d8;
    --jp-white: #ffffff;
    --jp-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
    --jp-font-body: "Montserrat", system-ui, -apple-system, sans-serif;
    --jp-font-menu: "Montserrat", system-ui, -apple-system, sans-serif;
    --jp-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    --jp-shadow-lg: 0 18px 48px rgba(11, 31, 58, 0.12);
    --jp-radius: 0.5rem;
    --jp-radius-lg: 0.875rem;
    --jp-transition: 0.22s ease;

    --jp-fs-xs: 0.6875rem;
    /* 11 */
    --jp-fs-sm: 0.8125rem;
    /* 13 */
    --jp-fs-base: 0.9375rem;
    /* 15 */
    --jp-fs-md: 1rem;
    /* 16 */
    --jp-fs-lg: 1.125rem;
    /* 18 */
    --jp-fs-xl: 1.375rem;
    /* 22 */
    --jp-fs-2xl: 1.75rem;
    /* 28 */
    --jp-fs-3xl: 2.25rem;
    /* 36 */
    --jp-fs-4xl: 2.75rem;
    /* 44 */
    --jp-thumb-h: 180px;
    --jp-header-sticky-offset: 8rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7.5rem;
}

body.jp-site {
    margin: 0;
    font-family: var(--jp-font-body);
    font-size: var(--jp-fs-base);
    line-height: 1.65;
    color: var(--jp-navy);
    background: var(--jp-white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.jp-section-title,
.jp-hero-title {
    font-family: var(--jp-font-heading);
    font-weight: 600;
    line-height: 1.22;
    color: var(--jp-navy);
}

.jp-text-gold {
    color: var(--jp-gold);
}

/* Buttons */
.btn-jp-navy,
.btn-jp-gold,
.btn-jp-outline {
    font-family: var(--jp-font-body);
    font-size: var(--jp-fs-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 3px;
    padding: 0.7rem 1.35rem;
    line-height: 1.2;
    transition: transform var(--jp-transition), box-shadow var(--jp-transition), background var(--jp-transition), color var(--jp-transition), border-color var(--jp-transition);
}

.btn-jp-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-jp-navy {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jp-navy);
    --bs-btn-border-color: var(--jp-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jp-navy-deep);
    --bs-btn-hover-border-color: var(--jp-navy-deep);
}

.btn-jp-navy:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.22);
}

.btn-jp-gold {
    --bs-btn-color: var(--jp-navy-deep);
    --bs-btn-bg: var(--jp-gold);
    --bs-btn-border-color: var(--jp-gold);
    --bs-btn-hover-color: var(--jp-navy-deep);
    --bs-btn-hover-bg: var(--jp-gold-soft);
    --bs-btn-hover-border-color: var(--jp-gold-soft);
}

.btn-jp-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(201, 162, 39, 0.3);
}

.btn-jp-outline {
    --bs-btn-color: var(--jp-navy);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--jp-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jp-navy);
    --bs-btn-hover-border-color: var(--jp-navy);
}

.btn-jp-outline:hover {
    transform: translateY(-1px);
}

/* ========== Top bar ========== */
.jp-topbar {
    background: var(--jp-navy-deep);
    color: rgba(255, 255, 255, 0.88);
    font-size: var(--jp-fs-xs);
}

.jp-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.25rem;
}

.jp-topbar-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.25rem;
}

.jp-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.88);
    transition: color var(--jp-transition);
}

.jp-topbar-link:hover {
    color: var(--jp-gold);
}

.jp-topbar-social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.jp-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin-left: auto;
}

.jp-topbar-search {
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background var(--jp-transition), border-color var(--jp-transition), color var(--jp-transition);
}

.jp-topbar-search:hover,
.jp-topbar-search[aria-expanded="true"] {
    background: var(--jp-gold);
    border-color: var(--jp-gold);
    color: var(--jp-navy-deep);
}

.jp-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 1.9rem;
    padding: 0.2rem 0.65rem;
    border-radius: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--jp-transition), color var(--jp-transition), border-color var(--jp-transition);
}

.jp-topbar-btn--outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
}

.jp-topbar-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.jp-topbar-btn--gold {
    color: var(--jp-navy-deep);
    background: var(--jp-gold);
    border: 1px solid var(--jp-gold);
}

.jp-topbar-btn--gold:hover {
    background: #ddb83a;
    color: var(--jp-navy-deep);
}

.jp-topbar-btn--converter {
    color: var(--jp-navy-deep);
    background: linear-gradient(135deg, #e8c555 0%, var(--jp-gold) 55%, #d4ad2f 100%);
    border: 1px solid #e0bc55;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.35);
    transition: transform var(--jp-transition), box-shadow var(--jp-transition), background var(--jp-transition);
}

.jp-topbar-btn--converter:hover,
.jp-topbar-btn--converter.is-active {
    color: var(--jp-navy-deep);
    background: linear-gradient(135deg, #f0d06a 0%, #e8c555 55%, var(--jp-gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45);
}

.jp-nav-converter-btn {
    font-weight: 700;
}

.jp-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.78rem;
    transition: background var(--jp-transition), color var(--jp-transition), transform var(--jp-transition), border-color var(--jp-transition);
}

.jp-social-icon:hover {
    background: var(--jp-gold);
    color: var(--jp-navy-deep);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .jp-topbar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.35rem 0;
        gap: 0.5rem;
    }

    .jp-topbar-social {
        width: auto;
        justify-content: flex-start;
    }

    .jp-topbar-actions {
        width: auto;
    }
}

/* ========== Header / Navbar ========== */
.jp-header {
    background: var(--jp-white);
    border-bottom: 1px solid var(--jp-border);
    z-index: 1030;
    padding: 0;
}

.jp-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: 0.45rem 0;
}

.jp-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: 0.55rem 0 0.35rem;
}

.jp-header-top-right {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.jp-search-toggle {
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(15, 39, 68, 0.12);
    border-radius: 0.4rem;
    background: #fff;
    color: var(--jp-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jp-search-toggle:hover,
.jp-search-toggle[aria-expanded="true"] {
    background: rgba(11, 31, 58, 0.06);
    border-color: rgba(201, 162, 39, 0.45);
    color: var(--jp-navy);
}

.jp-search-modal .modal-content {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 24px 60px rgba(11, 31, 58, 0.22);
}

.jp-search-modal__field {
    position: relative;
}

.jp-search-modal__field>i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--jp-muted);
    pointer-events: none;
}

.jp-search-modal__field .form-control {
    padding-left: 2.5rem;
    border-color: rgba(15, 39, 68, 0.14);
}

.jp-search-modal__field .form-control:focus {
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.15);
}

.jp-search-modal__results {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: min(52vh, 420px);
    overflow-y: auto;
}

.jp-search-suggest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.7rem;
    border-radius: 0.45rem;
    text-decoration: none;
    color: var(--jp-navy);
    background: #f7f9fc;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.jp-search-suggest:hover {
    background: #fff;
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--jp-navy);
}

.jp-search-suggest__img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.35rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8eef5;
}

.jp-search-suggest__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1;
}

.jp-search-suggest__title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
}

.jp-search-suggest__type {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.jp-search-suggest__arrow {
    color: var(--jp-gold);
    flex-shrink: 0;
}

.jp-search-panel {
    border-top: 1px solid rgba(15, 39, 68, 0.08);
    background: #f7f9fc;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}

.jp-search-panel.is-open {
    max-height: 5rem;
    opacity: 1;
}

.jp-search-panel__form {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0;
}

.jp-search-panel__form>i {
    color: var(--jp-muted);
}

.jp-search-panel__form .form-control {
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.95rem;
    min-height: 2.25rem;
}

.jp-search-panel__form .form-control:focus {
    box-shadow: none;
}

.jp-search-close {
    border: 0;
    background: transparent;
    color: var(--jp-muted);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jp-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex-shrink: 0;
}

.jp-brand-logo {
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
}

.jp-brand-text {
    min-width: 0;
}

.jp-brand-name {
    display: block;
    font-family: var(--jp-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--jp-navy);
    line-height: 1.1;
    text-transform: uppercase;
}

.jp-brand-tagline {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-muted);
    line-height: 1.35;
    max-width: 280px;
}

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

.jp-navbar {
    border-top: 0;
    padding: 0;
}

.jp-nav-links {
    gap: 0;
    flex-wrap: wrap;
    width: auto;
    justify-content: flex-end;
}

.jp-nav-links .nav-link {
    font-family: var(--jp-font-menu);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--jp-navy);
    padding: 0.7rem 0.7rem !important;
    white-space: nowrap;
    transition: color var(--jp-transition);
    position: relative;
}

.jp-nav-links .nav-link:hover,
.jp-nav-links .nav-link.active {
    color: var(--jp-gold);
}

.jp-nav-links .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0;
    height: 2px;
    background: var(--jp-gold);
}

.jp-dropdown {
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    box-shadow: var(--jp-shadow);
    font-family: var(--jp-font-menu);
    font-size: var(--jp-fs-sm);
    min-width: 13rem;
    padding: 0.4rem 0;
}

.jp-dropdown .dropdown-item {
    font-family: var(--jp-font-menu);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--jp-navy);
}

.jp-nav-links .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}

.jp-nav-links .dropdown-toggle::after {
    margin-left: 0.35em;
    vertical-align: 0.15em;
}

@media (max-width: 991.98px) {
    .jp-nav-links .nav-item.dropdown:hover>.dropdown-menu {
        display: none;
    }

    .jp-nav-links .nav-item.dropdown .dropdown-menu.show {
        display: block;
        position: static;
        float: none;
        box-shadow: none;
        border: 0;
        padding-left: 0.75rem;
    }
}

.jp-dropdown .dropdown-item:hover {
    background: var(--jp-cream);
    color: var(--jp-gold);
}

.jp-navbar-toggler {
    border: 1px solid var(--jp-border);
    padding: 0.35rem 0.5rem;
}

.jp-navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(201, 162, 39, 0.25);
}

@media (max-width: 1199.98px) {
    .jp-nav-links .nav-link {
        font-size: 0.75rem;
        padding: 0.65rem 0.5rem !important;
    }

    .jp-nav-links .nav-link.active::after {
        left: 0.5rem;
        right: 0.5rem;
    }

    .jp-brand-tagline {
        max-width: 220px;
    }
}

@media (max-width: 991.98px) {

    .jp-header-bar,
    .jp-header-top {
        min-height: 3.6rem;
        padding: 0.45rem 0;
        flex-wrap: wrap;
        align-items: center;
    }

    .jp-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 3.25rem);
    }

    .jp-brand-logo {
        height: 48px;
        width: auto;
    }

    .jp-navbar {
        display: contents;
        border-top: 0;
        width: auto;
    }

    .jp-navbar-toggler {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
    }

    #jpMainNav {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        border-top: 1px solid var(--jp-border);
        padding-top: 0.65rem;
        padding-bottom: 0.85rem;
        margin-top: 0.35rem;
        max-height: calc(100dvh - 7.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
    }

    #jpMainNav.collapsing,
    #jpMainNav.show {
        box-shadow: inset 0 10px 18px -16px rgba(11, 31, 58, 0.35);
    }

    .jp-nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }

    .jp-nav-links .nav-item {
        width: 100%;
    }

    .jp-nav-links .nav-link {
        font-size: 0.95rem;
        padding: 0.8rem 0.35rem !important;
        white-space: normal;
    }

    .jp-nav-links .nav-link.active::after {
        left: 0.35rem;
        right: auto;
        width: 2rem;
    }

    .jp-nav-links .nav-item.dropdown .dropdown-menu.show {
        display: block;
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-left: 2px solid rgba(201, 162, 39, 0.45);
        border-radius: 0;
        margin: 0.15rem 0 0.35rem 0.5rem;
        padding: 0.15rem 0 0.15rem 0.65rem;
        background: rgba(247, 245, 240, 0.65);
    }

    .jp-nav-links .dropdown-item {
        padding: 0.65rem 0.5rem;
        font-size: 0.9rem;
    }

    .jp-nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        margin-top: 0.75rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--jp-border);
    }
}

/* ========== Hero ========== */
.jp-hero {
    position: relative;
    background:
        linear-gradient(105deg, rgba(247, 245, 240, 0.97) 0%, rgba(247, 245, 240, 0.9) 48%, rgba(255, 255, 255, 0.55) 100%),
        radial-gradient(ellipse at 85% 40%, rgba(201, 162, 39, 0.08), transparent 55%);
    padding: 3.5rem 0 5.5rem;
    overflow: hidden;
}

.jp-hero-title {
    font-size: clamp(1.85rem, 3.6vw, 3.05rem);
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}

.jp-hero-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    color: var(--jp-muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.jp-hero-actions .btn {
    min-width: 10.5rem;
}

.jp-hero-image-frame {
    position: relative;
    border-radius: var(--jp-radius-lg);
    overflow: hidden;
    box-shadow: var(--jp-shadow-lg);
    border: 3px solid var(--jp-white);
    background: var(--jp-navy);
}

.jp-hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(201, 162, 39, 0.45);
    border-radius: calc(var(--jp-radius-lg) - 2px);
    pointer-events: none;
}

.jp-hero-image {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .jp-hero {
        padding: 2.25rem 0 4.5rem;
        text-align: left;
    }

    .jp-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .jp-hero-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

/* ========== Homepage Sliders (DB) ========== */
.jp-slider-section {
    position: relative;
    background: var(--jp-navy);
}

.jp-home-slider .carousel-item {
    min-height: clamp(360px, 55vh, 560px);
}

.jp-slider-full {
    position: relative;
    min-height: clamp(442px, 73vh, 537px);
}

.jp-slider-full__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.jp-slider-full__actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.75rem;
    z-index: 2;
}

.jp-home-slider .carousel-indicators {
    margin-bottom: 0.85rem;
}

.jp-home-slider .carousel-indicators [data-bs-target] {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background-color: var(--jp-gold);
}

.jp-home-slider .carousel-control-prev,
.jp-home-slider .carousel-control-next {
    width: 3.5rem;
}

.btn-jp-outline--light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

.btn-jp-outline--light:hover {
    color: var(--jp-navy);
    background: #fff;
    border-color: #fff;
}

/* ========== Stats ========== */
.jp-stats-wrap {
    margin-top: -2.75rem;
    position: relative;
    z-index: 3;
    padding-bottom: 0.5rem;
}

.jp-stats-wrap--after-slider {
    margin-top: -26px;
}

.jp-stats-bar {
    background: #fff;
    border-radius: 0.85rem;
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.12);
    border: 1px solid rgba(11, 31, 58, 0.06);
    overflow: hidden;
}

.jp-stats-bar--compact {
    border-radius: 0.65rem;
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.1);
}

.jp-stats-row {
    display: grid;
    grid-template-columns: repeat(var(--jp-stats-cols, 5), minmax(0, 1fr));
    align-items: stretch;
}

.jp-stats-bar--compact .jp-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: left;
    padding: 0.85rem 0.65rem;
    border-right: 1px solid rgba(11, 31, 58, 0.08);
    height: auto;
}

.jp-stats-row .jp-stat-item:last-child {
    border-right: none;
}

.jp-stats-bar--compact .jp-stat-icon {
    font-size: 1.05rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.jp-stats-bar--compact .jp-stat-count {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.1;
}

.jp-stats-bar--compact .jp-stat-label {
    font-size: 0.68rem;
    margin-top: 0.1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.jp-stat-item {
    text-align: center;
    padding: 1.5rem 0.75rem 1.35rem;
    border-right: 1px solid rgba(11, 31, 58, 0.08);
    height: 100%;
}

.jp-stats-bar .col:last-child .jp-stat-item {
    border-right: none;
}

.jp-stat-icon {
    font-size: 1.35rem;
    color: var(--jp-navy);
    margin-bottom: 0.45rem;
}

.jp-stat-count {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.1;
}

.jp-stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--jp-navy);
    margin-top: 0.3rem;
    line-height: 1.3;
    opacity: 0.85;
}

@media (max-width: 767.98px) {

    .jp-stats-wrap,
    .jp-stats-wrap--after-slider {
        margin-top: -1.75rem;
    }

    .jp-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jp-stats-bar--compact .jp-stat-item {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    }

    .jp-stats-row .jp-stat-item:nth-child(2n) {
        border-right: none;
    }

    .jp-stats-row .jp-stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .jp-stat-item {
        padding: 1.1rem 0.5rem;
        border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    }

    .jp-stats-bar .row-cols-2>.col:nth-child(2n) .jp-stat-item {
        border-right: none;
    }

    .jp-stats-bar .row-cols-2>.col:nth-last-child(-n+2) .jp-stat-item {
        border-bottom: none;
    }

    .jp-stats-bar .row-cols-2>.col:last-child:nth-child(odd) .jp-stat-item {
        border-right: none;
    }

    .jp-slider-full,
    .jp-home-slider .carousel-item {
        min-height: 280px;
    }
}

/* ========== Sections ========== */
.jp-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.jp-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jp-gold);
    margin-bottom: 0.55rem;
}

.jp-section-label--light {
    color: var(--jp-gold-soft);
}

.jp-section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
    margin-bottom: 0.75rem;
}

.jp-section-title--light {
    color: var(--jp-white);
}

.jp-section-subtitle {
    color: var(--jp-muted);
    max-width: 38rem;
    margin-bottom: 0;
    font-size: var(--jp-fs-base);
}

.jp-section-subtitle--light {
    color: rgba(255, 255, 255, 0.72);
}

.jp-section-head {
    max-width: 44rem;
}

.jp-section-head.mx-auto,
.text-center .jp-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.jp-link-gold {
    color: var(--jp-gold);
    font-weight: 600;
    font-size: var(--jp-fs-sm);
    white-space: nowrap;
    transition: color var(--jp-transition);
}

.jp-link-gold:hover {
    color: var(--jp-gold-soft);
}

/* About */
.jp-about {
    background: var(--jp-white);
}

.jp-about-image {
    width: 100%;
    border-radius: var(--jp-radius-lg);
    box-shadow: var(--jp-shadow);
    aspect-ratio: 3 / 4;
    max-height: 275px;
    object-fit: cover;
}

.jp-about-text {
    color: var(--jp-muted);
    margin-bottom: 1rem;
    font-size: var(--jp-fs-base);
}

/* About category pages (Board of Directors, Charter, etc.) */
.jp-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.35rem;
}

.jp-people-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    overflow: hidden;
    transition: transform var(--jp-transition), box-shadow var(--jp-transition);
}

.jp-people-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--jp-shadow);
}

.jp-people-card__photo {
    height: 220px;
    aspect-ratio: auto;
    background: #eef2f6;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.jp-people-card__photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 70%, #c9a227 160%);
}

.jp-people-card__photo--initials span {
    font-family: var(--jp-font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}

.jp-people-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.jp-people-card__body {
    padding: 1rem 1.05rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jp-people-card__name {
    font-family: var(--jp-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.jp-people-card__role {
    margin: 0 0 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--jp-gold);
}

.jp-people-card__bio {
    font-size: 0.82rem;
    color: var(--jp-muted);
    line-height: 1.55;
    margin-bottom: 0.35rem;
}

.jp-people-card__bio--clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
}

.jp-people-card__bio--clamp.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.jp-people-card__more {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--jp-navy);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
    margin: 0 0 0.65rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jp-people-card__more:hover {
    color: var(--jp-gold-dark, #9a7a1f);
}

.jp-people-card__links {
    display: flex;
    gap: 0.65rem;
    margin-top: auto;
}

.jp-people-card__links a {
    color: var(--jp-navy);
    font-size: 1.05rem;
    transition: color var(--jp-transition);
}

.jp-people-card__links a:hover {
    color: var(--jp-gold);
}

.jp-about-entries {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 48rem;
}

.jp-about-entry__media {
    margin-bottom: 1.25rem;
}

.jp-about-entry__media img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--jp-radius-lg);
}

.jp-about-entry__title {
    font-family: var(--jp-font-body);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 0.85rem;
}

.jp-feature-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
    background: var(--jp-cream);
    border-radius: var(--jp-radius);
    border: 1px solid var(--jp-border);
    transition: transform var(--jp-transition), box-shadow var(--jp-transition);
}

.jp-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--jp-shadow);
}

.jp-feature-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jp-navy);
    color: var(--jp-gold);
    border-radius: 50%;
    font-size: 0.95rem;
}

.jp-feature-title {
    font-family: var(--jp-font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

/* Research Areas ? mockup layout: title + 8-up cards + outline CTA */
.jp-research {
    background: #eef2f6;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

.jp-research-title {
    font-family: var(--jp-font-body);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jp-navy);
    margin: 0 0 1.1rem;
    line-height: 1.2;
}

.jp-research-title-accent {
    position: relative;
    display: inline-block;
    padding-bottom: 0.45rem;
}

.jp-research-title-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--jp-gold);
}

.jp-research-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.85rem;
}

.jp-research-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 6.75rem;
    padding: 0.75rem 0.5rem 0.7rem;
    background: var(--jp-white);
    border: 1px solid #e8eaee;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    color: var(--jp-navy);
    transition: border-color var(--jp-transition), box-shadow var(--jp-transition), transform var(--jp-transition);
}

.jp-research-card:hover {
    color: var(--jp-navy);
    transform: translateY(-2px);
    border-color: #d5dae2;
    box-shadow: 0 8px 22px rgba(11, 31, 58, 0.07);
}

.jp-research-icon {
    width: 1.85rem;
    height: 1.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--jp-navy);
    font-size: 1.35rem;
    line-height: 1;
}

.jp-research-icon .bi {
    line-height: 1;
}

.jp-research-name {
    font-family: var(--jp-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jp-navy);
    margin: 0;
    line-height: 1.35;
    max-width: 9.5rem;
}

.jp-research-cta {
    text-align: center;
    margin-top: 2.25rem;
}

.jp-research-btn {
    --bs-btn-color: var(--jp-navy);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--jp-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--jp-navy);
    --bs-btn-hover-border-color: var(--jp-navy);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--jp-navy-deep);
    --bs-btn-active-border-color: var(--jp-navy-deep);
    border-width: 1.5px;
    border-radius: 4px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .jp-research-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .jp-research-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .jp-research-card {
        min-height: 6.25rem;
        padding: 1.1rem 0.5rem 1rem;
    }

    .jp-research-name {
        font-size: 0.72rem;
    }
}

/* Publications */
.jp-publications {
    background: var(--jp-white);
}

.jp-pub-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.15rem;
    border-bottom: 1px solid var(--jp-border);
    scrollbar-width: thin;
}

.jp-pub-tabs .nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--jp-muted);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.7rem 0.95rem;
    white-space: nowrap;
}

.jp-pub-tabs .nav-link:hover {
    color: var(--jp-navy);
}

.jp-pub-tabs .nav-link.active {
    color: var(--jp-gold);
    background: transparent;
    border-bottom-color: var(--jp-gold);
}

.jp-pub-carousel {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.35rem 0.15rem 0.75rem;
    scrollbar-width: thin;
}

.jp-pub-card {
    flex: 0 0 min(250px, 78vw);
    scroll-snap-align: start;
    background: var(--jp-white);
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    overflow: hidden;
    transition: transform var(--jp-transition), box-shadow var(--jp-transition);
}

.jp-pub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--jp-shadow);
}

.jp-pub-cover {
    position: relative;
    background: linear-gradient(145deg, var(--jp-navy) 0%, var(--jp-navy-deep) 100%);
    height: var(--jp-thumb-h);
    aspect-ratio: auto;
    overflow: hidden;
}

.jp-pub-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 8px,
            rgba(201, 162, 39, 0.06) 8px,
            rgba(201, 162, 39, 0.06) 9px);
    pointer-events: none;
    z-index: 1;
}

.jp-pub-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.jp-pub-body {
    padding: 0.9rem 1rem 1.1rem;
}

.jp-pub-date {
    display: block;
    font-size: var(--jp-fs-xs);
    color: var(--jp-muted);
    margin-bottom: 0.3rem;
}

.jp-pub-title {
    font-family: var(--jp-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-pub-read {
    font-size: var(--jp-fs-xs);
    color: var(--jp-gold);
    font-weight: 500;
}

.jp-pub-authors {
    font-size: 0.75rem;
    color: var(--jp-muted);
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Digital Learning ? left intro + 5 feature cards */
.jp-learning {
    background: var(--jp-white);
}

.jp-learning-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2.05fr);
    gap: 2rem 2.25rem;
    align-items: center;
}

.jp-learning-intro {
    max-width: 22rem;
}

.jp-learning-label {
    display: inline-block;
    font-family: var(--jp-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jp-navy);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.jp-learning-label-accent {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

.jp-learning-label-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--jp-gold);
}

.jp-learning-heading {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.2;
    margin: 0 0 0.9rem;
}

.jp-learning-subtitle {
    color: #5c6b7d;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 1.35rem;
    max-width: 20rem;
}

.jp-learning-cta {
    border-radius: 4px;
    padding: 0.7rem 1.35rem;
    font-weight: 600;
}

.jp-learning-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.jp-learning-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 11.5rem;
    padding: 1.45rem 0.85rem 1.1rem;
    background: var(--jp-white);
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(11, 31, 58, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform var(--jp-transition), box-shadow var(--jp-transition), border-color var(--jp-transition);
}

.jp-learning-card:hover {
    color: inherit;
    transform: translateY(-3px);
    border-color: #d7dee8;
    box-shadow: 0 12px 28px rgba(11, 31, 58, 0.08);
}

.jp-learning-card:hover .jp-learning-arrow {
    color: var(--jp-gold);
    transform: translateX(3px);
}

.jp-learning-icon {
    width: auto;
    height: auto;
    margin: 0 0 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--jp-navy);
    border-radius: 0;
    font-size: 1.85rem;
    line-height: 1;
}

.jp-learning-icon .bi {
    line-height: 1;
}

.jp-learning-title {
    font-family: var(--jp-font-body);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 0.55rem;
    line-height: 1.3;
}

.jp-learning-desc {
    color: #7a8796;
    font-size: 0.72rem;
    margin: 0;
    line-height: 1.5;
    max-width: 10.5rem;
    flex-grow: 1;
}

.jp-learning-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    color: var(--jp-navy);
    font-size: 1rem;
    transition: color var(--jp-transition), transform var(--jp-transition);
}

.jp-learning-aside {
    background: #f4f8fc;
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    padding: 1.25rem 1.1rem;
}

.jp-learning-aside-title {
    font-family: var(--jp-font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 0.85rem;
}

.jp-learning-aside-list {
    display: grid;
    gap: 0.45rem;
}

.jp-learning-aside-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    background: var(--jp-white);
    border: 1px solid #e6ebf2;
    color: var(--jp-navy);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    transition: border-color var(--jp-transition), box-shadow var(--jp-transition), color var(--jp-transition);
}

.jp-learning-aside-link:hover,
.jp-learning-aside-link.is-active {
    color: var(--jp-navy);
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 6px 16px rgba(11, 31, 58, 0.06);
}

.jp-learning-aside-link .bi:first-child {
    font-size: 1.05rem;
}

@media (max-width: 1199.98px) {
    .jp-learning-layout {
        grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.7fr);
        gap: 1.75rem;
    }

    .jp-learning-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .jp-learning-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .jp-learning-intro {
        max-width: 32rem;
    }

    .jp-learning-subtitle {
        max-width: 28rem;
    }

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

@media (max-width: 767.98px) {
    .jp-learning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .jp-learning-card {
        min-height: 10.25rem;
        padding: 1.2rem 0.7rem 1.05rem;
        border-radius: 8px;
    }

    .jp-learning-heading {
        font-size: clamp(1.45rem, 6vw, 1.85rem);
    }

    .jp-learning-desc {
        font-size: 0.7rem;
        max-width: none;
    }
}

@media (max-width: 419.98px) {
    .jp-learning-grid {
        grid-template-columns: 1fr;
    }

    .jp-learning-card {
        min-height: 0;
        padding: 1.15rem 1rem;
    }
}

/* Podcast */
.jp-podcast {
    background: linear-gradient(160deg, var(--jp-navy-deep) 0%, var(--jp-navy) 100%);
    color: var(--jp-white);
}

.jp-podcast-scroll {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    padding-bottom: 0.65rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--jp-gold) transparent;
}

.jp-podcast-scroll::-webkit-scrollbar {
    height: 5px;
}

.jp-podcast-scroll::-webkit-scrollbar-thumb {
    background: var(--jp-gold);
    border-radius: 999px;
}

.jp-podcast-card {
    flex: 0 0 min(280px, 82vw);
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--jp-radius);
    overflow: hidden;
    transition: transform var(--jp-transition), background var(--jp-transition), border-color var(--jp-transition);
    border-bottom: 2px solid #d2ac35;
}

.jp-podcast-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 162, 39, 0.4);
}

.jp-podcast-thumb {
    position: relative;
    height: var(--jp-thumb-h);
    aspect-ratio: auto;
    overflow: hidden;
}

.jp-podcast-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-podcast-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(7, 22, 40, 0.4);
    color: var(--jp-white);
    font-size: 2.25rem;
    opacity: 0.85;
    cursor: pointer;
    transition: opacity var(--jp-transition), background var(--jp-transition);
}

.jp-podcast-play:hover,
.jp-podcast-play:focus-visible {
    opacity: 1;
    background: rgba(7, 22, 40, 0.55);
    color: var(--jp-gold);
}

.jp-podcast-card:hover .jp-podcast-play {
    opacity: 1;
}

.jp-podcast-title a {
    color: inherit;
    text-decoration: none;
}

.jp-podcast-title a:hover {
    color: var(--jp-gold);
}

.jp-podcast-modal .modal-content {
    overflow: hidden;
}

.jp-podcast-info {
    padding: 0.9rem 1rem 1.1rem;
}

.jp-podcast-category {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-podcast-title {
    font-family: var(--jp-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--jp-white);
    margin: 0 0 0.3rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-podcast-speaker {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 0.35rem;
}

.jp-podcast-duration {
    font-size: var(--jp-fs-xs);
    color: var(--jp-gold-soft);
}

/* Events â€” theme thumbnail cards (navy / gold / red) */
.jp-events {
    background: #eef2f6;
}

.jp-events .jp-section-title {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.jp-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.jp-event-thumb {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(11, 31, 58, 0.05);
    transition: transform var(--jp-transition), box-shadow var(--jp-transition), border-color var(--jp-transition);
}

.jp-event-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 14px 32px rgba(11, 31, 58, 0.1);
}

.jp-event-thumb-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.95rem 1.15rem 1.15rem;
    min-height: 0;
}

.jp-event-thumb-top {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin: 0 0 0.55rem;
}

.jp-event-thumb-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.jp-event-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.22rem 0.55rem;
    background: var(--jp-gold);
    color: var(--jp-navy);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.jp-event-badge--on-media {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    align-self: auto;
    box-shadow: 0 6px 14px rgba(11, 31, 58, 0.22);
}

.jp-event-type {
    color: var(--jp-muted);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
}

.jp-event-thumb-divider {
    width: 1px;
    background: #d7dde5;
    align-self: stretch;
    flex-shrink: 0;
}

.jp-event-thumb-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    line-height: 1.05;
    flex-shrink: 0;
    min-width: 4.5rem;
}

.jp-event-thumb-day {
    font-family: var(--jp-font-body);
    font-size: 2rem;
    font-weight: 700;
    color: var(--jp-navy);
}

.jp-event-thumb-month {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-event-thumb-title {
    font-family: var(--jp-font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0;
    line-height: 1.35;
    min-height: 2.7em;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.28);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-event-thumb-title a {
    color: inherit;
    text-decoration: none;
}

.jp-event-thumb-title a:hover {
    color: var(--jp-gold);
}

.jp-event-thumb-details {
    padding: 0.75rem 0 0;
    margin-bottom: 0.85rem;
    flex-grow: 1;
}

.jp-event-thumb-time {
    margin: 0 0 0.45rem;
    color: var(--jp-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.jp-event-thumb-location {
    margin: 0;
    color: var(--jp-navy);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
}

.jp-event-register-btn {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--jp-navy);
    --bs-btn-border-color: var(--jp-navy);
    --bs-btn-hover-color: var(--jp-navy);
    --bs-btn-hover-bg: var(--jp-gold);
    --bs-btn-hover-border-color: var(--jp-gold);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--jp-navy-deep);
    --bs-btn-active-border-color: var(--jp-navy-deep);
    align-self: flex-start;
    margin-left: 0;
    margin-top: auto;
    border-radius: 0.25rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.84rem;
    font-weight: 600;
}

.jp-event-closed-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.35rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: 0.4rem;
    background: #f7f3e6;
    border: 1px solid rgba(201, 162, 39, 0.42);
    color: #0b1f3a;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
}

.jp-event-closed-notice i {
    color: #b18a12;
    margin-top: 0.12rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.jp-event-closed-notice--compact {
    margin-top: auto;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
}

.jp-event-page__register-closed {
    max-width: 22rem;
    flex-shrink: 1;
}

.jp-event-page__register-closed .jp-event-closed-notice {
    margin: 0;
}

@media (max-width: 991.98px) {
    .jp-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .jp-events-grid {
        grid-template-columns: 1fr;
    }

    .jp-event-thumb-body {
        padding: 0.85rem 1rem 1rem;
    }

    .jp-event-thumb-day {
        font-size: 1.7rem;
    }
}

/* Legal */
.jp-legal {
    background: var(--jp-white);
}

.jp-legal-card {
    padding: 1.4rem;
    background: var(--jp-cream);
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius-lg);
    transition: transform var(--jp-transition), box-shadow var(--jp-transition);
    border-bottom: 2px solid #d2ac35;
}

.jp-legal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--jp-shadow);
}

.jp-legal-card--featured {
    background: linear-gradient(145deg, var(--jp-navy) 0%, var(--jp-navy-deep) 100%);
    border-color: transparent;
    color: var(--jp-white);
    padding: 2rem 1.6rem;
}

.jp-legal-card--featured .jp-legal-title {
    color: var(--jp-white);
    font-family: var(--jp-font-heading);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.jp-legal-card--featured .jp-legal-desc {
    color: rgba(255, 255, 255, 0.78);
}

.jp-legal-card--featured .jp-legal-icon {
    background: rgba(201, 162, 39, 0.2);
    color: var(--jp-gold);
}

.jp-legal-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jp-white);
    color: var(--jp-gold);
    border-radius: var(--jp-radius);
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.jp-legal-title {
    font-family: var(--jp-font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.jp-legal-desc {
    color: var(--jp-muted);
    font-size: 0.8125rem;
    margin-bottom: 0.9rem;
}

/* Footer */
.jp-footer {
    background: var(--jp-navy-deep);
    color: rgba(255, 255, 255, 0.85);
}

.jp-footer-logo {
    width: auto;
    max-width: 180px;
    height: 52px;
    object-fit: contain;
    background: #fff;
    padding: 0.4rem 0.55rem;
    border-radius: 0.35rem;
}

.jp-footer-brand {
    background: #fff;
    padding: 0.45rem 0.65rem;
    border-radius: 0.4rem;
    line-height: 0;
}

.jp-footer-brand .jp-footer-logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.jp-footer-name {
    font-family: var(--jp-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--jp-white);
}

.jp-footer-about {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.jp-footer-heading {
    font-family: var(--jp-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--jp-gold);
    margin-bottom: 0.85rem;
}

.jp-footer-links li {
    margin-bottom: 0.4rem;
}

.jp-footer-links a,
.jp-footer-contact li,
.jp-footer-contact a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color var(--jp-transition);
}

.jp-footer-links a:hover,
.jp-footer-contact a:hover {
    color: var(--jp-gold);
}

.jp-footer-contact li {
    margin-bottom: 0.55rem;
}

.jp-footer-contact__inline {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-footer-contact__inline a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-footer-contact__sep {
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.jp-social-icon--footer {
    background: rgba(255, 255, 255, 0.08);
}

.jp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Utility: container spacing on large screens */
@media (min-width: 1400px) {
    .jp-hero {
        padding-top: 4.25rem;
        padding-bottom: 6rem;
    }

    .jp-section {
        padding-top: 4.75rem;
        padding-bottom: 4.75rem;
    }
}

/* ========== Auth (member login / register) ========== */
.jp-auth-page {
    height: 100vh;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    background: #f0f2f5;
}

.jp-auth-shell {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.jp-auth-brand {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(155deg, rgba(11, 31, 58, 0.92) 0%, rgba(7, 22, 40, 0.88) 55%, rgba(11, 31, 58, 0.95) 100%),
        radial-gradient(ellipse at 20% 20%, rgba(201, 162, 39, 0.22), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.12), transparent 50%),
        linear-gradient(180deg, #0b1f3a, #071628);
    color: #fff;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: flex-end;
}

.jp-auth-brand__glow {
    position: absolute;
    inset: auto -20% -30% auto;
    width: 55%;
    height: 55%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.28), transparent 70%);
    pointer-events: none;
    animation: jp-auth-pulse 8s ease-in-out infinite;
}

@keyframes jp-auth-pulse {

    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.jp-auth-brand__inner {
    position: relative;
    z-index: 1;
    max-width: 26rem;
}

.jp-auth-brand__logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.25rem;
    color: #fff;
}

.jp-auth-brand__logo {
    width: 211px;
    background: white;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
    padding: 10px;
    border-radius: 5px;
}

.jp-auth-brand__name {
    font-family: var(--jp-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.jp-auth-brand__tagline {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    line-height: 1.3;
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.94);
}

.jp-auth-brand__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.jp-auth-brand__points li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.jp-auth-brand__points i {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.18);
    color: var(--jp-gold-soft);
    flex-shrink: 0;
    font-size: 0.8rem;
}

.jp-auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    overflow: hidden;
    background: #f0f2f5;
}

.jp-auth-panel {
    width: 100%;
    max-width: 380px;
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 0.85rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 1.15rem 1.25rem 1.1rem;
    animation: jp-auth-rise 0.35s ease both;
}

.jp-auth-panel--wide {
    max-width: 480px;
}

@keyframes jp-auth-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jp-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jp-muted);
    margin-bottom: 0.65rem;
}

.jp-auth-back:hover {
    color: var(--jp-navy);
}

.jp-auth-panel__head {
    margin-bottom: 0.75rem;
}

.jp-auth-title {
    font-family: var(--jp-font-heading);
    font-size: 1.35rem;
    margin: 0;
    color: var(--jp-navy);
    line-height: 1.2;
}

.jp-auth-hint {
    color: var(--jp-muted);
    font-size: 0.78rem;
    margin: 0.25rem 0 0;
    line-height: 1.4;
}

.jp-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.45rem;
    font-size: 0.75rem;
    margin-bottom: 0.65rem;
}

.jp-auth-alert i {
    margin-top: 0.05rem;
    flex-shrink: 0;
}

.jp-auth-alert--success {
    background: rgba(25, 135, 84, 0.08);
    color: #146c43;
    border: 1px solid rgba(25, 135, 84, 0.18);
}

.jp-auth-alert--error {
    background: rgba(220, 53, 69, 0.07);
    color: #b02a37;
    border: 1px solid rgba(220, 53, 69, 0.16);
}

.jp-auth-google-top {
    margin-bottom: 0;
}

.jp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    height: 40px;
    padding: 0 0.85rem;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    color: #3c4043;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.015em;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.jp-google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.18);
    color: #3c4043;
}

.jp-google-btn:active {
    background: #f1f3f4;
}

.jp-google-btn__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.jp-google-btn__label {
    line-height: 1;
}

.jp-auth-form {
    display: block;
}

.jp-auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.jp-form-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jp-navy);
    margin-bottom: 0.2rem;
}

.jp-form-control {
    min-height: 36px;
    height: 36px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    border-radius: 0.4rem;
    border-color: #ddd7cc;
    background: #fbfaf8;
    color: var(--jp-navy);
}

.jp-form-control--icon {
    padding-left: 2.05rem;
}

.jp-form-control:focus {
    border-color: rgba(201, 162, 39, 0.65);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.14);
    background: #fff;
}

.jp-form-control:disabled {
    background: #f1f3f5;
    color: #6c757d;
    opacity: 1;
}

.jp-field-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0.28rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.3;
    color: #5c6b7a;
    background: #f1f4f7;
    border: 1px solid #e2e8ee;
    border-radius: 0.35rem;
}

.jp-field-hint i {
    font-size: 0.68rem;
    color: #8a97a6;
}

.jp-field {
    display: grid;
    gap: 0.22rem;
}

.jp-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--jp-navy);
    margin: 0;
}

.jp-optional {
    font-weight: 500;
    color: var(--jp-muted);
}

.jp-input-wrap {
    position: relative;
}

.jp-input-wrap>i {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--jp-muted);
    font-size: 0.82rem;
    pointer-events: none;
    z-index: 2;
}

.jp-input {
    width: 100%;
    height: 36px;
    border: 1px solid #ddd7cc;
    border-radius: 0.4rem;
    background: #fbfaf8;
    color: var(--jp-navy);
    font-family: var(--jp-font-body);
    font-size: 0.82rem;
    padding: 0 0.7rem 0 2.05rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jp-input--solo {
    padding-left: 0.7rem;
}

.jp-input:focus {
    outline: none;
    background: #fff;
    border-color: rgba(201, 162, 39, 0.65);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.14);
}

.jp-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 1.1rem;
}

.jp-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--jp-muted);
    cursor: pointer;
    margin: 0;
}

.jp-check input {
    width: 0.85rem;
    height: 0.85rem;
    accent-color: var(--jp-navy);
}

.jp-auth-submit {
    margin-top: 0.15rem;
    padding: 0.45rem 1rem !important;
    font-size: 0.8rem !important;
    min-height: 36px;
}

.jp-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.7rem 0;
    color: var(--jp-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.jp-auth-divider::before,
.jp-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--jp-border);
}

.jp-auth-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid #ddd7cc;
    background: #fff;
    color: var(--jp-navy);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 0.4rem;
    padding: 0.45rem 0.85rem;
    min-height: 36px;
}

.jp-auth-google:hover {
    background: #f8f6f1;
    border-color: #cfc7b8;
    color: var(--jp-navy);
}

.jp-auth-switch {
    text-align: center;
    margin: 0.7rem 0 0;
    font-size: 0.75rem;
    color: var(--jp-muted);
}

.jp-auth-switch a {
    color: var(--jp-navy);
    font-weight: 600;
    border-bottom: 1px solid rgba(201, 162, 39, 0.55);
}

.jp-auth-switch a:hover {
    color: var(--jp-gold);
}

.jp-verify-box {
    text-align: center;
    margin-bottom: 0.85rem;
    padding: 0.9rem 0.85rem;
    border-radius: 0.65rem;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), rgba(11, 31, 58, 0.03));
    border: 1px solid rgba(201, 162, 39, 0.18);
}

.jp-verify-icon {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0 auto 0.55rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--jp-navy);
    color: var(--jp-gold-soft);
    font-size: 1.1rem;
}

.jp-verify-email {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.jp-verify-copy {
    font-size: 0.75rem;
    color: var(--jp-muted);
    margin: 0;
}

@media (max-width: 991.98px) {
    .jp-auth-page {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .jp-auth-shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100dvh;
    }

    .jp-auth-brand {
        display: none;
    }

    .jp-auth-main {
        min-height: 100dvh;
        padding: 1rem 0.85rem;
        overflow: visible;
    }

    .jp-auth-panel {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .jp-auth-grid-2 {
        grid-template-columns: 1fr;
    }

    .jp-auth-panel--wide {
        max-width: 420px;
    }
}

@media (max-height: 720px) and (min-width: 992px) {
    .jp-auth-brand__points {
        display: none;
    }

    .jp-auth-brand__tagline {
        font-size: 1.15rem;
        margin-bottom: 0;
    }

    .jp-auth-panel {
        padding: 0.95rem 1.1rem 0.9rem;
    }

    .jp-auth-title {
        font-size: 1.2rem;
    }
}

/* ========== Account dashboard (after login) ========== */
body.jp-site.jp-account-body {
    background: #f0f2f5 !important;
    min-height: 100vh;
}

.jp-account-body {
    background: #f0f2f5;
    min-height: 100vh;
}

.jp-account-wrap {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.jp-account-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 40;
}

.jp-account-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.35rem;
}

.jp-account-brand {
    display: inline-flex;
    align-items: center;
}

.jp-account-brand .jp-brand-logo {
    height: 30px;
    width: auto;
}

.jp-account-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.jp-account-userchip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0.5rem 0.15rem 0.15rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.jp-account-userchip__avatar,
.jp-account-userchip__initials {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    object-fit: cover;
}

.jp-account-userchip__initials {
    display: grid;
    place-items: center;
    background: #0b1f3a;
    color: #d4af37;
    font-size: 0.65rem;
    font-weight: 700;
}

.jp-account-userchip__name {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.15;
    color: #0b1f3a;
}

.jp-account-userchip__email {
    font-size: 0.65rem;
    color: #6b7280;
    line-height: 1.15;
}

.jp-account-nav {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 4rem;
}

.jp-account-nav__divider {
    height: 1px;
    background: #eef0f3;
    margin: 0.3rem 0.4rem;
}

.jp-account-nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.52rem 0.7rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1f2937;
    transition: background 0.15s ease, color 0.15s ease;
}

.jp-account-nav a i {
    width: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.jp-account-nav a:hover {
    background: #f3f4f6;
    color: #0b1f3a;
}

.jp-account-nav a.active {
    background: #0b1f3a;
    color: #fff;
}

.jp-account-nav a.active i {
    color: #d4af37;
}

.jp-account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.jp-account-heading {
    font-family: var(--jp-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #0b1f3a;
    line-height: 1.25;
}

.jp-account-lead {
    color: #6b7280;
    font-size: 0.78rem;
    margin-top: 0.15rem;
    max-width: 34rem;
}

.jp-account-stats {
    margin-bottom: 0.85rem;
}

.jp-account-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    padding: 0.9rem 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.jp-account-card--narrow {
    max-width: 420px;
}

.jp-account-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #eef0f3;
}

.jp-account-card__title {
    font-family: var(--jp-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: #0b1f3a;
}

.jp-account-card__link {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0b1f3a;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.5);
}

.jp-account-card__link:hover {
    color: #c9a227;
}

.jp-account-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    height: 100%;
}

.jp-account-stat__icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.45rem;
    display: grid;
    place-items: center;
    background: #0b1f3a;
    color: #d4af37;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.jp-account-stat__value {
    font-family: var(--jp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b1f3a;
    line-height: 1.1;
}

.jp-account-stat__label {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

.jp-activity-scroll {
    max-height: 17.5rem;
    overflow-y: auto;
    padding-right: 0.15rem;
    scrollbar-width: thin;
    scrollbar-color: #cfd4dc transparent;
}

/* ~5 list rows visible, then scroll */
.jp-list-scroll,
.admin-list-scroll {
    max-height: 18.75rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cfd4dc transparent;
}

.jp-list-scroll::-webkit-scrollbar,
.admin-list-scroll::-webkit-scrollbar,
.jp-activity-scroll::-webkit-scrollbar {
    width: 5px;
}

.jp-list-scroll::-webkit-scrollbar-thumb,
.admin-list-scroll::-webkit-scrollbar-thumb,
.jp-activity-scroll::-webkit-scrollbar-thumb {
    background: #cfd4dc;
    border-radius: 999px;
}

.jp-activity-scroll--page {
    max-height: 28rem;
}

.jp-activity-scroll::-webkit-scrollbar {
    width: 5px;
}

.jp-activity-scroll::-webkit-scrollbar-thumb {
    background: #cfd4dc;
    border-radius: 999px;
}

.jp-activity-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.15rem;
    border-bottom: 1px solid #f1f3f5;
    min-height: 3.2rem;
}

.jp-activity-row:last-child {
    border-bottom: 0;
}

.jp-activity-row__icon {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.35rem;
    background: #f3f4f6;
    color: #4b5563;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.jp-activity-row__body {
    flex: 1;
    min-width: 0;
}

.jp-activity-row__title {
    font-weight: 600;
    font-size: 0.8rem;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-activity-row__meta {
    font-size: 0.68rem;
    color: #6b7280;
    margin-top: 0.1rem;
}

.jp-activity-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.3rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
}

.jp-account-empty {
    text-align: center;
    padding: 1.5rem 0.75rem;
    color: #6b7280;
    font-size: 0.8rem;
}

.jp-account-empty i {
    font-size: 1.35rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.4rem;
}

.jp-account-table {
    font-size: 0.9rem;
}

.jp-account-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    font-weight: 600;
    border-bottom-width: 1px;
}

.jp-account-table td {
    vertical-align: middle;
}

.jp-account-table a.fw-semibold {
    color: var(--jp-navy);
}

.jp-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.jp-blog-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.jp-blog-row__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.4rem;
}

.jp-blog-row .jp-activity-row__icon {
    overflow: hidden;
}

.jp-blog-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    width: 100%;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .jp-blog-row__actions {
        width: auto;
    }
}

.jp-blog-reject-note {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #9b1c1c;
}

.jp-account-card--danger {
    border: 1px solid rgba(185, 28, 28, 0.22);
    background: #fff8f8;
}

.jp-account-form .form-label {
    margin-bottom: 0.15rem;
}

.jp-account-form .mb-2 {
    margin-bottom: 0.5rem !important;
}

.jp-account-pagination {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid #eef0f3;
}

.jp-account-pagination .pagination {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .jp-account-wrap {
        padding-top: 1rem;
        padding-bottom: 5.5rem;
    }

    .jp-account-topbar__inner {
        gap: 0.75rem;
    }

    .jp-account-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.15rem;
        margin: 0;
        padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
        border-radius: 0;
        border-top: 1px solid rgba(15, 40, 70, 0.1);
        background: #fff;
        box-shadow: 0 -8px 24px rgba(15, 40, 70, 0.08);
    }

    .jp-account-nav a {
        flex: 1 1 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.15rem;
        font-size: 0.68rem;
        font-weight: 600;
        padding: 0.4rem 0.25rem;
        border-radius: 0.55rem;
        text-align: center;
        line-height: 1.15;
        min-width: 0;
    }

    .jp-account-nav a i {
        font-size: 1.15rem;
        margin: 0;
    }

    .jp-account-nav a span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .jp-account-nav__divider {
        display: none;
    }

    .jp-account-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .jp-account-hero .btn {
        width: 100%;
        justify-content: center;
    }

    .jp-account-heading {
        font-size: 1.35rem;
    }

    .jp-account-stat {
        padding: 0.75rem;
        gap: 0.55rem;
    }

    .jp-account-stat__value {
        font-size: 1.15rem;
    }

    .jp-account-stat__label {
        font-size: 0.72rem;
    }

    .jp-activity-scroll,
    .jp-list-scroll {
        max-height: 15.5rem;
    }

    .jp-blog-row {
        padding-bottom: 0.85rem;
        border-bottom: 1px solid rgba(15, 40, 70, 0.06);
    }

    .jp-blog-row:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .jp-blog-row__actions {
        width: 100%;
        justify-content: stretch;
    }

    .jp-blog-row__actions .btn,
    .jp-blog-row__actions form {
        flex: 1 1 auto;
    }

    .jp-blog-row__actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 2.5rem;
    }

    .jp-account-card {
        padding: 0.95rem;
    }

    .jp-account-form .tox-tinymce {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .jp-account-userchip__meta {
        display: none !important;
    }

    .jp-account-stat__icon {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.95rem;
    }

    .jp-activity-row {
        gap: 0.55rem;
    }

    .jp-activity-row__icon {
        width: 2.15rem;
        height: 2.15rem;
    }
}

/* Inner content pages */
.jp-page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    background:
        radial-gradient(ellipse 55% 90% at 100% 0%, rgba(201, 162, 39, 0.16), transparent 50%),
        linear-gradient(135deg, #0b1f3a 0%, #163862 100%);
    color: #fff;
    padding: 2.75rem 0 2.5rem;
    overflow: hidden;
}

.jp-page-hero>.container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.jp-page-hero--banner {
    min-height: 400px;
    background-color: #0b1f3a;
    background-image:
        linear-gradient(180deg, rgba(7, 22, 40, 0.35) 0%, rgba(7, 22, 40, 0.78) 100%),
        var(--jp-page-banner);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.jp-page-hero--banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.jp-page-hero .jp-meta-chip {
    color: var(--jp-gold);
    background: rgba(201, 162, 39, 0.14);
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 0.55rem;
}

.jp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.85rem;
}

.jp-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.jp-breadcrumb a:hover {
    color: var(--jp-gold);
}

.jp-page-title {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    margin: 0.35rem 0 0;
    color: #fff;
}

.jp-blog-detail .jp-page-title {
    font-size: clamp(2rem, 4.2vw, 2.85rem);
    line-height: 1.15;
    max-width: 18ch;
}

@media (min-width: 992px) {
    .jp-blog-detail .jp-page-title {
        max-width: 22ch;
    }
}

.jp-page-lead {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    max-width: 42rem;
}

.jp-page-lead--soft {
    color: rgba(255, 255, 255, 0.58);
}

.jp-page-hero .jp-author-links a {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
}

.jp-page-hero .jp-author-links a:hover {
    color: var(--jp-navy-deep);
    background: var(--jp-gold);
    border-color: var(--jp-gold);
}

.jp-related-link {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jp-related-link:hover {
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.08);
    transform: translateY(-2px);
}

.jp-archive-page .pagination {
    --bs-pagination-color: var(--jp-navy);
    --bs-pagination-hover-color: var(--jp-navy);
    --bs-pagination-hover-bg: rgba(201, 162, 39, 0.12);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.2);
    --bs-pagination-active-bg: var(--jp-navy);
    --bs-pagination-active-border-color: var(--jp-navy);
}

.jp-content-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.jp-prose {
    font-size: 14px;
    line-height: 20px;
    color: var(--jp-navy);
}

.jp-prose p+p {
    margin-top: 1rem;
}

.jp-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jp-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(15, 39, 68, 0.12);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--jp-navy);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 39, 68, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.jp-filter-chip:hover,
.jp-filter-chip.active {
    border-color: rgba(201, 162, 39, 0.55);
    background: rgba(201, 162, 39, 0.12);
    color: var(--jp-navy);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.12);
}

.jp-card-article {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 39, 68, 0.04);
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
    border-bottom: 2px solid #d2ac35;
}

.jp-card-article:hover {
    border-color: rgba(201, 162, 39, 0.35);
    box-shadow: 0 14px 32px rgba(15, 39, 68, 0.1);
    transform: translateY(-3px);
}

.jp-archive-page {
    background: linear-gradient(180deg, #f4f6f9 0%, #fff 10rem);
}

.jp-card-article__media {
    display: block;
    position: relative;
    height: var(--jp-thumb-h);
    aspect-ratio: auto;
    overflow: hidden;
    background: #eef1f5;
}

.jp-card-article__play {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 31, 58, 0.88);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.jp-content-wrap {
    max-width: 820px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.85rem;
    padding: 1.75rem 1.85rem;
    box-shadow: 0 10px 28px rgba(15, 39, 68, 0.04);
}

.jp-content-wrap .jp-content-cover {
    border-radius: 0.55rem;
}

.jp-card-article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-card-article__body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.jp-card-article__title {
    font-family: var(--jp-font-heading);
    font-size: 1.15rem;
    margin: 0.4rem 0 0.5rem;
    line-height: 1.35;
}

.jp-card-article__title a {
    color: var(--jp-navy);
}

.jp-card-article__excerpt {
    font-size: 0.9rem;
    color: var(--jp-muted);
    margin: 0 0 0.75rem;
}

.jp-card-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--jp-muted);
}

.jp-meta-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-related-link {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--jp-border);
    border-radius: 0.5rem;
    color: var(--jp-navy);
    font-weight: 500;
    background: #fff;
}

.jp-related-link:hover {
    border-color: var(--jp-gold);
    color: var(--jp-navy);
}

.jp-related-pubs__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.jp-related-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--jp-navy);
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.55rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jp-related-card:hover {
    color: var(--jp-navy);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 39, 68, 0.12);
}

.jp-related-card__media {
    display: block;
    height: 168px;
    background: #e8eef5;
    overflow: hidden;
}

.jp-related-card__media--book {
    height: 210px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 10px, transparent 10px),
        #e8eef5;
}

.jp-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.jp-related-card:hover .jp-related-card__media img {
    transform: scale(1.05);
}

.jp-related-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem 0.9rem 1rem;
    min-height: 7.25rem;
}

.jp-related-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--jp-font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.jp-related-card__meta {
    font-size: 0.78rem;
    color: var(--jp-muted);
}

.jp-owl-related .owl-nav {
    display: none;
}

.jp-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.jp-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.jp-event-title a {
    color: inherit;
}

.jp-event-title a:hover {
    color: var(--jp-gold);
}

/* Homepage search strip (top) */
.jp-pub-search-strip {
    position: relative;
    z-index: 3;
    margin-top: -1.75rem;
    margin-bottom: 0.5rem;
    padding: 0 0 0.25rem;
}

.jp-pub-search-bar--compact .jp-pub-search-bar__inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.1);
    border-radius: 999px;
    padding: 0.4rem 0.45rem 0.4rem 1.1rem;
    box-shadow: 0 14px 36px rgba(15, 39, 68, 0.12);
}

.jp-pub-search-bar--compact .jp-pub-search-bar__inner>i {
    color: var(--jp-gold);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.jp-pub-search-bar--compact .form-control {
    border: 0;
    box-shadow: none;
    padding-left: 0;
    min-height: 2.4rem;
    background: transparent;
}

.jp-pub-search-bar--compact .form-control:focus {
    box-shadow: none;
}

.jp-pub-search-bar--compact .btn {
    border-radius: 999px;
    padding-inline: 1.15rem;
    white-space: nowrap;
}

.jp-section--compact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* Owl carousels ? homepage */
.jp-owl {
    position: relative;
}

.jp-owl .owl-nav {
    position: absolute;
    top: 42%;
    width: 100%;
    margin: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.jp-owl .owl-nav button {
    pointer-events: auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--jp-navy) !important;
    border: 1px solid rgba(15, 39, 68, 0.12) !important;
    box-shadow: 0 6px 16px rgba(15, 39, 68, 0.1);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.jp-owl .owl-nav button:hover {
    background: var(--jp-navy) !important;
    color: #fff !important;
}

.jp-owl .owl-nav .owl-prev {
    position: absolute;
    left: -0.35rem;
}

.jp-owl .owl-nav .owl-next {
    position: absolute;
    right: -0.35rem;
}

.jp-owl .item {
    height: 100%;
}

.jp-owl .jp-pub-card,
.jp-owl .jp-card-article {
    width: 100%;
    height: 100%;
    margin: 0;
}

.jp-owl-latest .jp-card-article {
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.05);
}

.jp-owl-latest .jp-card-article__media {
    height: var(--jp-thumb-h);
    aspect-ratio: auto;
    overflow: hidden;
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 55%, #c9a227 160%);
}

.jp-owl-latest .jp-card-article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-owl-featured .jp-pub-cover {
    height: var(--jp-thumb-h);
}

.jp-owl-latest .jp-card-article__body {
    padding: 0.85rem 0.9rem 1rem;
}

.jp-owl-latest .jp-meta-chip {
    font-size: 0.65rem;
    margin-bottom: 0.35rem !important;
}

.jp-owl-latest .jp-card-article__title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.jp-owl-latest .jp-card-article__excerpt {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Compact author chips ? larger photo, 5px radius */
.jp-author-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 0.85rem 0.5rem 1rem;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.75rem;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.jp-author-chip:hover {
    border-color: rgba(201, 162, 39, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 39, 68, 0.08);
    color: inherit;
}

.jp-author-chip__photo {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.35);
    margin-bottom: 0.65rem;
    flex-shrink: 0;
    background: #eef2f6;
}

.jp-authors-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.jp-author-chip--page {
    padding: 0.85rem 0.55rem 1rem;
}

.jp-author-chip--page .jp-author-chip__photo {
    width: 88px;
    height: 88px;
}

@media (max-width: 1199.98px) {
    .jp-authors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .jp-authors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jp-author-chip--page .jp-author-chip__photo {
        width: 72px;
        height: 72px;
    }
}

.jp-author-chip__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.jp-author-chip__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    width: 100%;
}

.jp-author-chip__name {
    font-family: var(--jp-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--jp-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-author-chip__role {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-author-chip__meta {
    font-size: 0.72rem;
    color: var(--jp-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
}

/* Homepage section bands ? grey / white / dark separation */
.jp-band--white {
    background: #ffffff !important;
}

.jp-band--grey {
    background: #eef2f6 !important;
}

.jp-band--dark {
    background-color: #0f2744 !important;
    background-image: linear-gradient(160deg, #071628 0%, #0f2744 100%) !important;
    color: #fff;
}

.jp-band--dark .jp-section-label {
    color: var(--jp-gold-soft);
}

.jp-band--dark .jp-section-title {
    color: #fff;
}

.jp-band--dark .jp-link-gold {
    color: var(--jp-gold-soft);
}

.jp-band--dark .jp-author-chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.jp-band--dark .jp-author-chip:hover {
    border-color: rgba(201, 162, 39, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.jp-band--dark .jp-author-chip__name {
    color: #fff;
}

.jp-band--dark .jp-author-chip__role {
    color: rgba(255, 255, 255, 0.65);
}

.jp-band--dark .jp-owl .owl-nav button {
    background: rgba(255, 255, 255, 0.95) !important;
}

@media (max-width: 767.98px) {
    .jp-pub-search-strip {
        margin-top: -1rem;
        padding-inline: 0.25rem;
    }

    .jp-pub-search-bar--compact .jp-pub-search-bar__inner {
        border-radius: 0.85rem;
        flex-wrap: wrap;
        padding: 0.55rem 0.65rem;
    }

    .jp-pub-search-bar--compact .form-control {
        flex: 1 1 100%;
        order: 1;
    }

    .jp-pub-search-bar--compact .btn {
        flex: 1 1 auto;
        order: 2;
    }

    .jp-owl .owl-nav .owl-prev {
        left: 0;
    }

    .jp-owl .owl-nav .owl-next {
        right: 0;
    }
}

/* Search / browse filters */
.jp-page-hero--search {
    position: relative;
    overflow: hidden;
}

.jp-page-hero--search::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 90% 20%, rgba(201, 162, 39, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
    pointer-events: none;
}

.jp-page-hero--search .container {
    position: relative;
    z-index: 1;
}

.jp-pub-search-bar {
    max-width: 44rem;
}

.jp-pub-search-bar__inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.65rem;
    padding: 0.4rem 0.45rem 0.4rem 1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.jp-pub-search-bar__inner>i {
    color: var(--jp-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.jp-pub-search-bar .form-control {
    border: 0;
    box-shadow: none;
    padding-left: 0;
    min-height: 2.5rem;
    background: transparent;
    color: var(--jp-navy);
}

.jp-pub-search-bar .form-control:focus {
    box-shadow: none;
}

.jp-pub-search-bar .btn {
    flex-shrink: 0;
    min-height: 2.5rem;
    padding-inline: 1.25rem;
}

.jp-search-page {
    background: linear-gradient(180deg, #f4f6f9 0%, #fff 12rem);
}

.jp-results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
    padding: 0.85rem 1.1rem;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
}

.jp-results-bar__count {
    color: var(--jp-navy);
    font-size: 0.95rem;
}

.jp-results-bar__count em {
    font-style: normal;
    color: var(--jp-gold-dark, #a8841c);
    font-weight: 600;
}

.jp-results-bar__clear {
    font-size: 0.85rem;
    color: var(--jp-muted);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.jp-results-bar__clear:hover {
    color: var(--jp-navy);
}

.jp-empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #fff;
    border: 1px dashed rgba(15, 39, 68, 0.16);
    border-radius: 0.85rem;
}

.jp-empty-state--soft {
    border-style: solid;
    border-color: rgba(15, 39, 68, 0.08);
    background: #fafbfc;
}

.jp-empty-state>i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.12);
    color: var(--jp-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.jp-empty-state h2 {
    font-family: var(--jp-font-heading);
    font-size: 1.35rem;
    color: var(--jp-navy);
    margin: 0 0 0.4rem;
}

.jp-empty-state p {
    margin: 0;
    color: var(--jp-muted);
    max-width: 28rem;
    margin-inline: auto;
}

.jp-browse-sidebar {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.85rem;
    padding: 1.15rem 1.2rem 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.04);
    position: sticky;
    top: 6.5rem;
}

.jp-browse-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.jp-browse-sidebar__title {
    margin: 0;
    font-family: var(--jp-font-heading);
    font-size: 1.05rem;
    color: var(--jp-navy);
}

.jp-browse-sidebar__reset {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.jp-browse-sidebar__reset:hover {
    color: var(--jp-gold);
}

.jp-filter-field {
    margin-bottom: 0.9rem;
}

.jp-filter-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7785;
}

.jp-filter-input {
    position: relative;
}

.jp-filter-input>i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--jp-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.jp-filter-input .form-control {
    padding-left: 2.15rem;
}

.jp-filter-select,
.jp-browse-filters .form-control,
.jp-browse-filters .form-select {
    border: 1px solid rgba(15, 39, 68, 0.12);
    border-radius: 0.45rem;
    min-height: 2.45rem;
    font-size: 0.9rem;
    color: var(--jp-navy);
    background-color: #fbfcfd;
    box-shadow: none;
}

.jp-filter-select:focus,
.jp-browse-filters .form-control:focus,
.jp-browse-filters .form-select:focus {
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.15);
    background-color: #fff;
}

.jp-filter-actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 39, 68, 0.08);
}

@media (max-width: 991.98px) {
    .jp-browse-sidebar {
        position: static;
    }
}

.jp-people-card__meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.jp-author-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 39, 0.5);
    text-underline-offset: 0.15em;
}

.jp-author-link:hover {
    color: var(--jp-gold);
}

.jp-keyword-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.jp-pdf-frame-wrap {
    border: 1px solid rgba(15, 39, 68, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f8f9fa;
    min-height: 480px;
}

.jp-pdf-frame {
    width: 100%;
    height: 70vh;
    min-height: 480px;
    border: 0;
}

.jp-citation-box,
.jp-share-box {
    border-top: 1px solid rgba(15, 39, 68, 0.08);
    padding-top: 1.5rem;
}

.jp-citation-tabs .nav-link {
    border: 0;
    color: #6c757d;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
}

.jp-citation-tabs .nav-link.active {
    color: var(--jp-navy);
    border-bottom: 2px solid var(--jp-gold);
    background: transparent;
}

.jp-citation-text {
    white-space: pre-wrap;
    word-break: break-word;
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.9rem;
    margin: 0;
}

.jp-author-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.jp-author-hero__photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(201, 162, 39, 0.35);
}

.jp-author-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.jp-author-links a {
    color: var(--jp-navy);
    text-decoration: none;
    font-size: 0.95rem;
}

.jp-author-links a:hover {
    color: var(--jp-gold);
}

.jp-author-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.jp-author-metric {
    text-align: center;
    padding: 1rem;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.75rem;
    background: #fff;
}

.jp-author-metric__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.2;
}

.jp-author-metric__label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-top: 0.35rem;
}

@media (max-width: 575.98px) {
    .jp-pub-search-bar__inner {
        flex-wrap: wrap;
    }

    .jp-pub-search-bar__inner .btn {
        width: 100%;
    }

    .jp-author-hero__photo {
        width: 112px;
        height: 112px;
    }
}


/* Unified thumbnail height */
.jp-thumb {
    height: var(--jp-thumb-h);
    overflow: hidden;
}

.jp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Research / Events owl on homepage */
.jp-owl-research .jp-research-card,
.jp-owl-events .jp-event-thumb {
    width: 100%;
    height: 100%;
    margin: 0;
}

.jp-owl-research .jp-research-card {
    min-height: 9.5rem;
}

.jp-owl-events .jp-event-thumb {
    min-height: 100%;
}

/* Publication info thumbnails */
.jp-pub-thumb {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    overflow: hidden;
}

.jp-pub-thumb__badge {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 0.25rem;
    background: rgba(11, 31, 58, 0.88);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jp-pub-thumb__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    font-size: 0.72rem;
    color: var(--jp-muted);
    margin-bottom: 0.35rem;
}

.jp-pub-thumb__extra {
    font-size: 0.78rem;
    color: var(--jp-muted);
}

.jp-pub-thumb__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.65rem;
    font-size: 0.72rem;
    color: var(--jp-gold);
    font-weight: 600;
}

.jp-card-article.jp-pub-thumb .jp-card-article__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Events archive redesign */
.jp-events-archive .jp-event-tile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jp-events-archive .jp-event-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 14px 28px rgba(15, 39, 68, 0.1);
}

.jp-event-tile__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--jp-navy-deep) 0%, var(--jp-navy) 55%, var(--jp-gold) 160%);
}

.jp-event-tile__media::after,
.jp-event-thumb__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 22, 40, 0.08) 25%, rgba(7, 22, 40, 0.58) 100%),
        linear-gradient(135deg, rgba(201, 162, 39, 0.32) 0%, transparent 48%, rgba(11, 31, 58, 0.22) 100%);
}

.jp-event-tile__date {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    min-width: 3.15rem;
    padding: 0.4rem 0.42rem 0.38rem;
    background: var(--jp-gold);
    border-radius: 0.35rem;
    text-align: center;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.22);
    border-bottom: 3px solid var(--jp-navy);
}

.jp-event-tile__day {
    display: block;
    font-family: var(--jp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1;
}

.jp-event-tile__mon {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--jp-navy);
}

.jp-event-tile__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.05rem 1.15rem;
    flex: 1;
}

.jp-event-tile__title {
    font-family: var(--jp-font-heading);
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0.15rem 0 0.25rem;
}

.jp-event-tile__title a {
    color: var(--jp-navy);
}

.jp-event-tile__title a:hover {
    color: var(--jp-gold);
}

.jp-event-tile__loc,
.jp-event-tile__time {
    margin: 0;
    font-size: 0.8rem;
    color: var(--jp-muted);
}

.jp-event-tile__loc .bi,
.jp-event-tile__time .bi {
    color: var(--jp-gold);
    margin-right: 0.15rem;
}

.jp-event-tile__when {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin: 0.1rem 0 0.15rem;
}

.jp-event-tile__when--single {
    grid-template-columns: 1fr;
}

.jp-event-tile__when-item {
    min-width: 0;
    padding: 0.35rem 0.45rem 0.4rem;
    background: #f7f5f0;
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 0.4rem;
}

.jp-event-tile__when-kicker {
    display: block;
    margin-bottom: 0.08rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-event-tile__when-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.25;
}

.jp-event-tile__when-time {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jp-muted);
}

@media (max-width: 991.98px) {
    .jp-header-search {
        max-width: 280px;
    }
}

@media (max-width: 575.98px) {
    .jp-footer-contact__inline {
        flex-wrap: wrap;
        white-space: normal;
    }
}

/* Home Featured / Latest / Events ? shared thumb height */
:root {
    --jp-thumb-h-home: 200px;
    --jp-thumb-h-book: 260px;
    --jp-thumb-h-journal: 200px;
    --jp-thumb-h-chapter: 190px;
    --jp-thumb-h-opinion: 150px;
    --jp-thumb-h-brief: 180px;
    --jp-thumb-h-judgement: 180px;
    --jp-thumb-h-report: 190px;
}

.jp-owl-featured .jp-pub-cover,
.jp-owl-latest .jp-card-article__media,
.jp-owl-events .jp-event-thumb__media,
.jp-event-tile__media {
    height: var(--jp-thumb-h-home) !important;
    min-height: var(--jp-thumb-h-home) !important;
    max-height: var(--jp-thumb-h-home) !important;
    flex: 0 0 var(--jp-thumb-h-home);
}

.jp-event-thumb__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--jp-navy-deep) 0%, var(--jp-navy) 55%, var(--jp-gold) 160%);
}

.jp-event-thumb__media img,
.jp-event-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.jp-event-thumb__fallback,
.jp-event-tile__fallback {
    position: relative;
    z-index: 0;
    font-family: var(--jp-font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 8px 24px rgba(7, 22, 40, 0.35);
}

.jp-event-thumb__media::before,
.jp-event-tile__media::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4.5rem;
    height: 4.5rem;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(225deg, var(--jp-gold) 0 1.15rem, transparent 1.15rem 1.45rem, var(--jp-navy) 1.45rem 2.15rem, transparent 2.15rem);
    opacity: 0.95;
}

.jp-owl-events .jp-event-thumb {
    min-height: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jp-owl-events .owl-stage {
    display: flex;
}

.jp-owl-events .owl-item {
    display: flex;
    height: auto;
}

.jp-owl-events .owl-item .item {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Type-specific publication thumbs */
.jp-pub-thumb--books .jp-card-article__media,
.jp-pub-cover--books,
.jp-pub-thumb__media--books {
    height: var(--jp-thumb-h-book) !important;
}

.jp-pub-thumb--journals .jp-card-article__media,
.jp-pub-cover--journals,
.jp-pub-thumb__media--journals {
    height: var(--jp-thumb-h-journal) !important;
}

.jp-pub-thumb--chapters .jp-card-article__media,
.jp-pub-cover--chapters,
.jp-pub-thumb__media--chapters {
    height: var(--jp-thumb-h-chapter) !important;
}

.jp-pub-thumb--opinions .jp-card-article__media,
.jp-pub-cover--opinions,
.jp-pub-thumb__media--opinions {
    height: var(--jp-thumb-h-opinion) !important;
}

.jp-pub-thumb--policy-briefs .jp-card-article__media,
.jp-pub-cover--policy-briefs,
.jp-pub-thumb__media--policy-briefs {
    height: var(--jp-thumb-h-brief) !important;
}

.jp-pub-thumb--recent-judgements .jp-card-article__media,
.jp-pub-cover--recent-judgements,
.jp-pub-thumb__media--recent-judgements {
    height: var(--jp-thumb-h-judgement) !important;
}

.jp-pub-thumb--reports .jp-card-article__media,
.jp-pub-cover--reports,
.jp-pub-thumb__media--reports {
    height: var(--jp-thumb-h-report) !important;
}

.jp-pub-thumb__quote,
.jp-pub-thumb__gavel {
    position: absolute;
    right: 0.65rem;
    top: 0.65rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--jp-navy);
    font-size: 1rem;
}

.jp-pub-thumb--opinions {
    border-left: 3px solid var(--jp-gold);
}

.jp-pub-thumb--recent-judgements .jp-card-article__title {
    font-size: 1.05rem;
}

/* Publication detail */
.jp-pub-detail__cover-wrap {
    border-radius: 0.65rem;
    overflow: hidden;
    background: #eef2f6;
    border: 1px solid rgba(15, 39, 68, 0.08);
    width: 100%;
}

.jp-pub-detail__cover-wrap--books {
    max-width: none;
}

.jp-pub-detail__cover {
    width: 100%;
    display: block;
    height: auto;
    max-height: none;
    object-fit: cover;
}

.jp-pub-detail__cover--placeholder {
    min-height: 320px;
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 100%);
}

.jp-pub-detail__cover-wrap--books .jp-pub-detail__cover {
    max-height: none;
    object-fit: cover;
}

.jp-pub-detail__facts {
    display: grid;
    gap: 0.75rem;
}

.jp-pub-detail__facts>div {
    display: grid;
    gap: 0.15rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.jp-pub-detail__facts span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.jp-pub-detail__facts strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--jp-navy);
}

.jp-pub-detail__facts .jp-pub-detail__rich :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--jp-font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.35rem 0;
    color: var(--jp-navy);
}

.jp-pub-detail__facts .jp-pub-detail__rich :is(p, ul, ol) {
    margin: 0.35rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
}

.jp-pub-detail__facts .jp-pub-detail__rich> :first-child {
    margin-top: 0;
}

.jp-pub-detail__facts .jp-pub-detail__rich> :last-child {
    margin-bottom: 0;
}

.jp-pub-hero[class*="jp-pub-hero--"] .jp-page-title {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.25;
}

.jp-content-wrap>.jp-section-title.h4,
.jp-content-wrap>.jp-section-title {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    margin-bottom: 0.65rem;
}

.jp-pub-detail--opinions .jp-prose {
    font-size: 1.05rem;
    line-height: 1.75;
}

.jp-pub-detail--recent-judgements .jp-pub-detail__facts {
    background: #f7f9fc;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    padding: 1rem 1.1rem;
}

/* Charter */
.jp-charter-doc {
    max-width: 860px;
    margin: 0 auto;
}

.jp-charter-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.35rem;
    border-radius: 0.65rem;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    margin-bottom: 1rem;
}

.jp-charter-block--alt {
    background: #f4f7fb;
}

.jp-charter-block__index {
    font-family: var(--jp-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jp-gold);
    line-height: 1;
}

.jp-charter-block__title {
    font-family: var(--jp-font-heading);
    font-size: 1.25rem;
    color: var(--jp-navy);
    margin: 0 0 0.65rem;
}

/* Impact reports */
.jp-impact-card {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.05);
}

.jp-impact-card__media {
    background: #eef2f6;
}

.jp-impact-card__body {
    padding: 1rem 1.05rem 1.2rem;
}

.jp-impact-card__title {
    font-family: var(--jp-font-heading);
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--jp-navy);
}

.jp-impact-card__excerpt {
    font-size: 0.88rem;
    color: var(--jp-muted);
}

.jp-impact-card__excerpt p:last-child {
    margin-bottom: 0;
}

/* Learning cards */
.jp-learn-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jp-learn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 39, 68, 0.1);
}

.jp-learn-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 100%);
}

.jp-learn-card__media--certificates {
    height: 180px;
}

.jp-learn-card__media--video-lectures {
    height: 170px;
}

.jp-learn-card__media--e-content {
    height: 140px;
}

.jp-learn-card__media--summer-schools {
    height: 190px;
}

.jp-learn-card__icon {
    color: var(--jp-gold);
    font-size: 2.5rem;
}

.jp-learn-card__icon--lg {
    font-size: 3.5rem;
}

.jp-learn-card__duration {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 5px;
}

.jp-learn-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1rem 1.1rem;
    flex: 1;
}

.jp-learn-card__title {
    font-family: var(--jp-font-heading);
    font-size: 1.05rem;
    margin: 0.15rem 0;
    line-height: 1.3;
}

.jp-learn-card__title a {
    color: var(--jp-navy);
}

.jp-learn-card__meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--jp-muted);
}

.jp-learn-detail__media {
    border-radius: 0.65rem;
    overflow: hidden;
    background: #eef2f6;
    border: 1px solid rgba(15, 39, 68, 0.08);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jp-learn-detail__media img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
}

.jp-learn-detail__media--video-lectures {
    aspect-ratio: 16 / 9;
    max-height: none;
}

.jp-learn-detail__media--certificates {
    max-width: 360px;
}

.jp-learn-detail__media--e-content {
    min-height: 180px;
    background: linear-gradient(145deg, #0f2744 0%, #1a3a5c 100%);
}

.jp-learn-detail__media iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

.jp-learn-detail__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(15, 39, 68, 0.1);
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.jp-learn-detail__facts>div {
    padding: 0.85rem 1rem;
    border-right: 1px solid rgba(15, 39, 68, 0.08);
    border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.jp-learn-detail__facts>div:nth-child(2n) {
    border-right: 0;
}

.jp-learn-detail__facts span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b18a12;
    margin-bottom: 0.25rem;
}

.jp-learn-detail__facts strong {
    display: block;
    font-size: 0.95rem;
    color: var(--jp-navy);
    font-weight: 700;
}

.jp-learn-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.jp-learn-book {
    display: grid;
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.jp-learn-book__cover-col {
    position: sticky;
    top: 24px;
}

.jp-learn-book__cover {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 3px 12px 12px 3px;
    overflow: hidden;
    background: #0c294b;
    box-shadow:
        8px 12px 28px rgba(11, 31, 58, 0.22),
        inset -18px 0 24px rgba(0, 0, 0, 0.18);
}

.jp-learn-book__cover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 14px;
    z-index: 2;
    background: linear-gradient(180deg, #d5ae20, #b18a12);
}

.jp-learn-book__cover::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 10px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent);
    pointer-events: none;
}

.jp-learn-book__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.jp-learn-book__placeholder {
    height: 100%;
    padding: 1.6rem 1.1rem 1.4rem 1.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 70% 20%, rgba(213, 174, 32, 0.18), transparent 46%),
        linear-gradient(160deg, #0f2744 0%, #16375a 55%, #0b1f3a 100%);
}

.jp-learn-book__letter {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 0.9;
    color: #fff;
    margin-bottom: 0.85rem;
}

.jp-learn-book__pack {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d5ae20;
    margin-bottom: 0.55rem;
}

.jp-learn-book__placeholder strong {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.jp-learn-book__placeholder em {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(213, 174, 32, 0.55);
    border-radius: 999px;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #d5ae20;
}

.jp-learn-book__actions {
    margin-top: 16px;
}

.jp-learn-book__actions .btn {
    width: 100%;
    justify-content: center;
}

.jp-learn-book__card {
    background: #fff;
    border: 1px solid rgba(10, 39, 71, 0.09);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(10, 39, 71, 0.06);
}

.jp-learn-book__heading {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(10, 39, 71, 0.08);
}

.jp-learn-book__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #b18a12;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.jp-learn-book__heading h2 {
    margin: 0;
    color: #0b2747;
    font-size: 1.45rem;
}

.jp-learn-book__heading-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(213, 174, 32, 0.12);
    color: #b18a12;
    font-size: 1.15rem;
}

.jp-learn-book__facts {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jp-learn-book__overview {
    padding: 22px 24px 26px;
    border-top: 1px solid rgba(10, 39, 71, 0.08);
}

.jp-learn-book__overview h3 {
    margin: 0 0 12px;
    color: #0b2747;
    font-size: 1.05rem;
}

@media (max-width: 991.98px) {
    .jp-learn-book {
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
        gap: 28px;
    }

    .jp-learn-book__cover-col {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .jp-learn-book {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .jp-learn-book__cover {
        max-width: 260px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .jp-learn-detail__facts {
        grid-template-columns: 1fr;
    }

    .jp-learn-detail__facts>div,
    .jp-learn-detail__facts>div:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 767.98px) {
    .jp-people-card__photo {
        height: 200px;
    }

    .jp-charter-block {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .jp-pub-detail__cover-wrap--books {
        max-width: none;
    }

    .jp-owl-featured .jp-pub-cover,
    .jp-owl-latest .jp-card-article__media,
    .jp-owl-events .jp-event-thumb__media,
    .jp-event-tile__media {
        height: 170px !important;
    }
}

/* Publication tiles ? type-aware from DB fields */
.jp-pub-tile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.55rem;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jp-pub-tile:hover {
    box-shadow: 0 12px 28px rgba(15, 39, 68, 0.08);
    transform: translateY(-2px);
}

.jp-pub-tile__media {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
    background: #e8eef5;
}

.jp-pub-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-pub-tile__media--book {
    height: 250px;
    background: linear-gradient(160deg, #0f2744, #1a3a5c);
}

.jp-pub-tile__media--brief {
    height: 150px;
}

.jp-pub-tile--books {
    flex-direction: row;
    align-items: stretch;
}

.jp-pub-tile--books .jp-pub-tile__media--book {
    width: 42%;
    flex-shrink: 0;
    height: auto;
    min-height: 220px;
}

.jp-pub-tile--journals {
    flex-direction: column;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.jp-pub-tile--journals:not(.jp-pub-tile--list) {
    padding: 0;
}

.jp-pub-tile--journals:not(.jp-pub-tile--list):hover {
    box-shadow: none;
    transform: none;
}

.jp-pub-tile--journals .jp-pub-tile__media--book {
    height: 280px;
    box-shadow: inset -10px 0 18px rgba(0, 0, 0, 0.18);
}

.jp-pub-tile--journals .jp-pub-tile__media--book.jp-pub-tile__media--journal-thumb,
.jp-pub-tile__media--journal-thumb {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    width: 198px !important;
    flex-shrink: 0;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    margin: 8px;
    box-shadow: 0 10px 22px rgba(15, 39, 68, 0.1) !important;
    border-radius: 0.2rem;
    background: #ffffff;
    border: 1px solid rgba(201, 162, 39, 0.75);
    outline: none;
    padding: 6px;
    box-sizing: border-box;
}

.jp-pub-tile__media--journal-thumb .jp-jcover {
    border: 2px solid #c9a227;
    border-radius: 0.12rem;
}

.jp-jcover {
    width: 100%;
    height: 100%;
    background: #eceff3;
    color: #1a365d;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.jp-jcover__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 0.75rem 0.65rem 0.85rem;
    box-sizing: border-box;
}

.jp-jcover__head {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jp-jcover__logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.jp-jcover__logo {
    display: block;
    width: auto;
    max-width: 54px;
    max-height: 40px;
    height: auto;
    object-fit: contain;
}

.jp-jcover__eyebrow {
    display: none;
}

.jp-jcover__journal {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1a365d;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.jp-jcover__publisher {
    max-width: 100%;
    padding: 0 0.15rem;
}

.jp-jcover__rule {
    display: block;
    width: 40%;
    height: 1px;
    margin: 0.3rem auto 0.25rem;
    background: #1a365d;
    opacity: 0.5;
}

.jp-jcover__rule--soft {
    width: 26%;
    background: rgba(26, 54, 93, 0.25);
    margin: 0.35rem auto 0.25rem;
}

.jp-jcover__issue-line {
    margin: 0.45rem 0 0;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 500;
}

.jp-event-intro {
    background: #edf1f5 !important;
}

.jp-jcover__body {
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.45rem 0 0.35rem;
}

.jp-jcover__title {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.28;
    color: #1a365d;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-jcover__type {
    margin: 0;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9aa3af;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.jp-jcover__eic {
    margin-top: 0.1rem;
    display: grid;
    gap: 0.08rem;
}

.jp-jcover__label {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b89d64;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.jp-jcover__eic strong {
    font-size: 0.62rem;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.3;
}

.jp-jcover__site-title {
    margin-top: 0.28rem;
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0a3160;
    line-height: 1.25;
    border-top: 1px solid rgba(26, 54, 93, 0.28);
    padding-top: 0.35rem;
    padding-bottom: 0.1rem;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.jp-jcover__authors {
    margin-top: 0.4rem;
    width: 100%;
}

.jp-jcover__by {
    margin: 0 0 0.15rem;
    font-size: 0.58rem;
    font-style: italic;
    color: #6b7280;
}

.jp-jcover__and {
    margin: 0.1rem 0;
    font-size: 0.52rem;
    color: #9aa3af;
}

.jp-jcover__author {
    display: grid;
    gap: 0.02rem;
}

.jp-jcover__author strong {
    font-size: 0.66rem;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.2;
}

.jp-jcover__author span {
    font-size: 0.52rem;
    color: #6b7280;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-jcover__foot {
    width: 100%;
    margin-top: auto;
    padding-top: 0.35rem;
    padding-bottom: 0.15rem;
}

.jp-jcover__foot p {
    margin: 0;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa3af;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.jp-jcover--compact .jp-jcover__logo {
    max-width: 48px;
    max-height: 36px;
}

.jp-jcover--compact .jp-jcover__title {
    font-size: 0.64rem;
    -webkit-line-clamp: 3;
}

.jp-journal-cover--thumb {
    width: 100%;
    max-width: 248px;
    height: 348px;
    min-height: 0;
    padding: 6px;
    overflow: hidden;
    margin-inline: auto;
    background: #ffffff;
    border: 1px solid rgba(201, 162, 39, 0.75);
    outline: none;
    border-radius: 0.2rem;
    box-sizing: border-box;
}

.jp-journal-cover--thumb .jp-jcover {
    border: 2px solid #c9a227;
    border-radius: 0.12rem;
}

.jp-journal-cover--thumb .jp-jcover__logo {
    max-width: 72px;
    max-height: 54px;
}

.jp-journal-cover--thumb .jp-jcover__journal {
    font-size: 18px;
}

.jp-journal-cover--thumb .jp-jcover__title {
    font-size: 0.88rem;
    -webkit-line-clamp: 5;
}

.jp-journal-cover--thumb .jp-jcover__inner {
    padding: 1rem 0.85rem 1.05rem;
}

.jp-journal-cover--detail {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0.35rem;
    box-shadow: 0 12px 28px rgba(15, 39, 68, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.75);
    outline: none;
    padding: 8px;
    background: #ffffff;
    box-sizing: border-box;
    container-type: inline-size;
}

.jp-pub-detail__cover-wrap--journals {
    background: transparent;
    border: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.jp-pub-detail__cover-wrap--journals .jp-journal-cover--thumb,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--detail {
    width: 100%;
    max-width: 340px;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0 auto;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(201, 162, 39, 0.75);
    outline: none;
    background: #ffffff;
    box-sizing: border-box;
}

/* Detail page: scale journal thumb content to the larger cover */
.jp-journal-cover--detail .jp-jcover__logo-wrap,
.jp-pub-detail__cover-wrap--journals .jp-jcover__logo-wrap {
    margin-bottom: 0.75rem;
}

.jp-journal-cover--detail .jp-jcover__logo,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--thumb .jp-jcover__logo,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--detail .jp-jcover__logo,
.jp-pub-detail__cover-wrap--journals .jp-jcover__logo {
    max-width: 170px !important;
    max-height: 130px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain;
}

.jp-journal-cover--detail .jp-jcover__journal,
.jp-journal-cover--detail .jp-jcover__publisher,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--thumb .jp-jcover__journal,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--detail .jp-jcover__journal,
.jp-pub-detail__cover-wrap--journals .jp-jcover__journal,
.jp-pub-detail__cover-wrap--journals .jp-jcover__publisher {
    font-size: clamp(1.05rem, 3.2cqi + 0.55rem, 1.55rem) !important;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.jp-journal-cover--detail .jp-jcover__inner,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--thumb .jp-jcover__inner,
.jp-pub-detail__cover-wrap--journals .jp-jcover__inner {
    padding: 1.35rem 1.1rem 1.15rem !important;
    justify-content: space-between;
    gap: 0.65rem;
    box-sizing: border-box;
}

.jp-journal-cover--detail .jp-jcover__head,
.jp-pub-detail__cover-wrap--journals .jp-jcover__head {
    flex: 0 0 auto;
}

.jp-journal-cover--detail .jp-jcover__body,
.jp-pub-detail__cover-wrap--journals .jp-jcover__body {
    flex: 1 1 auto;
    min-height: 1rem;
    padding: 0.35rem 0;
}

.jp-journal-cover--detail .jp-jcover__foot,
.jp-pub-detail__cover-wrap--journals .jp-jcover__foot {
    margin-top: auto;
    width: 100%;
    transform: none;
    padding-bottom: 0;
}

.jp-journal-cover--detail .jp-jcover__eic,
.jp-pub-detail__cover-wrap--journals .jp-jcover__eic {
    gap: 0.22rem;
}

.jp-journal-cover--detail .jp-jcover__rule,
.jp-pub-detail__cover-wrap--journals .jp-jcover__rule {
    width: 52%;
    height: 2px;
    margin: 0.55rem auto;
    opacity: 0.7;
}

.jp-journal-cover--detail .jp-jcover__issue-line,
.jp-pub-detail__cover-wrap--journals .jp-jcover__issue-line {
    font-size: clamp(0.78rem, 1.6cqi + 0.45rem, 1rem);
    letter-spacing: 0.06em;
}

.jp-journal-cover--detail .jp-jcover__label,
.jp-pub-detail__cover-wrap--journals .jp-jcover__label {
    font-size: clamp(0.62rem, 1.2cqi + 0.38rem, 0.82rem);
    letter-spacing: 0.08em;
}

.jp-journal-cover--detail .jp-jcover__eic strong,
.jp-pub-detail__cover-wrap--journals .jp-jcover__eic strong {
    font-size: clamp(0.88rem, 1.9cqi + 0.45rem, 1.12rem);
    line-height: 1.35;
    margin-bottom: 0;
}

.jp-journal-cover--detail .jp-jcover__site-title,
.jp-pub-detail__cover-wrap--journals .jp-jcover__site-title {
    font-size: clamp(0.68rem, 1.4cqi + 0.4rem, 0.92rem);
    margin-top: 0.45rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.jp-journal-cover--detail,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--thumb,
.jp-pub-detail__cover-wrap--journals .jp-journal-cover--detail,
.jp-pub-detail__cover-wrap--journals {
    container-type: inline-size;
}

.jp-journal-cover {
    position: relative;
    display: block;
    height: 348px;
    overflow: hidden;
    border-radius: 0.25rem;
    background: #eceff3;
    text-decoration: none;
    color: #1a365d;
    box-shadow: 0 12px 28px rgba(15, 39, 68, 0.12);
}

.jp-journal-cover.jp-journal-cover--detail {
    height: auto;
    overflow: hidden;
}

.jp-journal-cover--detail .jp-jcover {
    height: auto;
    border: 2px solid #c9a227;
    border-radius: 0.15rem;
    background: #eceff3;
}

.jp-journal-cover--detail .jp-jcover__inner {
    height: auto;
    min-height: 430px;
    padding-bottom: 1.55rem !important;
}

.jp-journal-cover.jp-journal-cover--thumb:not(.jp-journal-cover--detail) {
    height: 348px;
    max-width: 248px;
}

.jp-journal-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    overflow: visible;
}

.jp-journal-cover__download {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.3rem;
    background: var(--jp-gold);
    color: #0b1f3a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

.jp-journal-cover__download:hover {
    background: #ddb83a;
    color: #0b1f3a;
    transform: translateY(-1px);
}

.jp-journal-cover__download.is-disabled,
.jp-journal-download-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.jp-journal-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.55rem;
}

.jp-journal-date {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--jp-navy) !important;
    background: rgba(15, 39, 68, 0.06) !important;
    border: 1px solid rgba(15, 39, 68, 0.1);
    border-radius: 0.3rem;
    padding: 0.28rem 0.55rem;
}

.jp-journal-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 8px 7px;
    border-radius: 0.3rem;
    background: #0b1f3a;
    color: #e1e1e1;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease, transform 0.2s ease;
}

.jp-journal-download-btn:hover {
    background: #ddb83a;
    color: #0b1f3a;
}

.jp-journals-page .jp-pub-tile--list .jp-pub-tile__body>time,
.jp-journals-page .jp-pub-tile--journals time:not(.jp-journal-date) {
    color: var(--jp-navy);
}

.jp-journal-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.jp-journal-cover__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.42) 38%,
            rgba(0, 0, 0, 0.08) 68%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transition: background 0.45s ease;
}

.jp-journal-cover__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.15rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    transform: translateY(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.jp-journal-cover__title {
    display: block;
    font-family: var(--jp-font-display, Georgia, "Times New Roman", serif);
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.jp-journal-cover__authors {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.jp-journal-cover__extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(12px);
    transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.jp-journal-cover__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.jp-journal-cover__chips span,
.jp-journal-cover__chips time {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.jp-journal-cover__excerpt {
    display: block;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.jp-journal-cover:hover .jp-journal-cover__img,
.jp-journal-cover:focus-visible .jp-journal-cover__img {
    transform: scale(1.05);
}

.jp-journal-cover:hover .jp-journal-cover__shade,
.jp-journal-cover:focus-visible .jp-journal-cover__shade {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.62) 48%,
            rgba(0, 0, 0, 0.22) 78%,
            rgba(0, 0, 0, 0.05) 100%);
}

.jp-journal-cover:hover .jp-journal-cover__content,
.jp-journal-cover:focus-visible .jp-journal-cover__content {
    transform: translateY(-8px);
}

.jp-journal-cover:hover .jp-journal-cover__extra,
.jp-journal-cover:focus-visible .jp-journal-cover__extra {
    max-height: 180px;
    opacity: 1;
    transform: translateY(0);
}

.jp-pub-tile--journals.jp-pub-tile--list {
    flex-direction: row;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    box-shadow: 0 6px 18px rgba(15, 39, 68, 0.04);
    overflow: visible;
    gap: 1.15rem;
    padding: 1rem 1.15rem;
    border-bottom: 2px solid #d2ac35;
}

.jp-pub-tile--journals.jp-pub-tile--list .jp-pub-tile__body {
    flex: 1 1 auto;
    min-width: 0;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jp-pub-tile--journals.jp-pub-tile--list .jp-pub-tile__media--book,
.jp-pub-tile--journals.jp-pub-tile--list .jp-pub-tile__media--journal-thumb {
    width: 198px !important;
    flex: 0 0 198px;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    margin: 8px;
    order: 1;
    align-self: center;
}

.jp-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.jp-archive-toolbar__count {
    font-size: 0.95rem;
    color: var(--jp-navy);
    font-weight: 600;
}

.jp-journals-intro {
    text-align: left;
    max-width: none;
    margin: 0;
    color: var(--jp-navy);
}

.jp-journals-intro__title {
    margin: 0 0 0.85rem;
    color: var(--jp-navy);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
}

.jp-journals-issue__title {
    margin: 0 0 1.15rem;
    color: var(--jp-navy);
    font-family: var(--jp-font-heading);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 700;
    line-height: 1.35;
}

.jp-journals-issue__sep {
    display: inline-block;
    margin: 0 0.35rem;
    color: rgba(15, 39, 68, 0.45);
    font-weight: 500;
}

.jp-journals-intro__desc {
    color: rgba(15, 39, 68, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
}

.jp-journals-intro__desc p {
    margin-bottom: 0.75rem;
    color: inherit;
}

.jp-journals-intro__desc p:last-child {
    margin-bottom: 0;
}

.jp-journals-intro__desc a {
    color: var(--jp-navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jp-journals-landing {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.jp-journals-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: sticky;
    top: var(--jp-header-sticky-offset, 8rem);
    align-self: flex-start;
    z-index: 5;
    max-height: calc(100vh - var(--jp-header-sticky-offset, 8rem) - 0.75rem);
    overflow-y: auto;
    padding: 0.35rem 0.25rem 0.35rem 0;
    background: #f4f6f9;
}

.jp-journals-tabs__btn {
    appearance: none;
    width: 100%;
    text-align: left;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    color: var(--jp-navy);
    border-radius: 0;
    padding: 0.7rem 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.jp-journals-tabs__btn:hover {
    background: rgba(15, 39, 68, 0.04);
    color: var(--jp-navy);
}

.jp-journals-tabs__btn.is-active {
    background: rgba(15, 39, 68, 0.06);
    border-left-color: var(--jp-gold);
    color: var(--jp-navy);
}

.jp-journals-panel {
    min-height: 12rem;
    animation: jpJournalPanelIn 0.35s ease;
}

.jp-journals-panel__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 0.85rem;
}

.jp-journals-panel__desc {
    margin-bottom: 1.15rem;
    color: rgba(15, 39, 68, 0.82);
}

.jp-journals-panel__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.jp-journals-panel__figure {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #eef1f5;
}

.jp-journals-panel__figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.jp-page-lead--html {
    max-width: 46rem;
}

.jp-page-lead--html p:last-child {
    margin-bottom: 0;
}

@keyframes jpJournalPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .jp-journals-tabs {
        position: static;
        max-height: none;
        overflow: visible;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
        padding-right: 0;
    }

    .jp-journals-tabs__btn {
        width: auto;
        flex: 0 1 auto;
        border-left: 0;
        border-bottom: 2px solid transparent;
        padding: 0.55rem 0.75rem;
    }

    .jp-journals-tabs__btn.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--jp-gold);
    }
}

@media (max-width: 575.98px) {
    .jp-journals-panel__gallery {
        grid-template-columns: 1fr;
    }
}

.jp-view-toggle {
    display: inline-flex;
    border: 1px solid rgba(15, 39, 68, 0.15);
    border-radius: 0.4rem;
    overflow: hidden;
    background: #fff;
}

.jp-view-toggle__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    color: var(--jp-navy);
    text-decoration: none;
    border-right: 1px solid rgba(15, 39, 68, 0.12);
}

.jp-view-toggle__btn:last-child {
    border-right: 0;
}

.jp-view-toggle__btn:hover {
    background: rgba(15, 39, 68, 0.04);
    color: var(--jp-navy);
}

.jp-view-toggle__btn.is-active {
    background: var(--jp-navy);
    color: #fff;
}

.jp-pub-tile--opinions,
.jp-pub-tile--chapters,
.jp-pub-tile--recent-judgements {
    border-left: 3px solid var(--jp-gold);
}

.jp-pub-tile__body {
    padding: 1rem 1.05rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.jp-pub-tile__body--flush,
.jp-pub-tile__body--opinion,
.jp-pub-tile__body--case {
    padding: 1.15rem 1.2rem 1.25rem;
}

.jp-pub-tile__title {
    font-family: var(--jp-font-heading);
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0;
}

.jp-pub-tile__title a {
    color: var(--jp-navy);
}

.jp-pub-tile__title a:hover {
    color: var(--jp-gold);
}

.jp-pub-tile__authors,
.jp-pub-tile__excerpt,
.jp-pub-tile__cite {
    margin: 0;
    font-size: 0.84rem;
    color: var(--jp-muted);
    line-height: 1.45;
}

.jp-pub-tile__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jp-pub-tile__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-pub-tile__byline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin: 0;
    font-size: 0.84rem;
    color: var(--jp-muted);
}

.jp-pub-tile__byline strong {
    color: var(--jp-navy);
}

.jp-pub-tile__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.jp-pub-tile__chips span,
.jp-pub-tile__body>time {
    font-size: 0.72rem;
    font-weight: 600;
    color: #5f6b7a;
    background: #f1f4f8;
    border-radius: 0.25rem;
    padding: 0.18rem 0.45rem;
}

.jp-pub-tile__casehead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.jp-pub-tile__cite {
    font-style: italic;
}

.jp-pub-cover--judgement,
.jp-pub-cover--opinion {
    height: var(--jp-thumb-h-home, 200px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 1rem;
    background: linear-gradient(155deg, #071628 0%, #163862 100%);
    color: #fff;
}

.jp-pub-cover__court {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jp-gold-soft);
}

.jp-pub-cover__case {
    font-family: var(--jp-font-heading);
    font-size: 1.05rem;
    line-height: 1.25;
}

.jp-pub-cover--opinion i {
    font-size: 1.75rem;
    color: var(--jp-gold);
}

.jp-pub-cover--books {
    height: 240px !important;
}

/* News/blog article detail */
.jp-article-hero {
    background: #f7f9fc;
    border-bottom: 1px solid rgba(15, 39, 68, 0.06);
    padding: 2rem 0 1.75rem;
}

.jp-breadcrumb--dark,
.jp-breadcrumb--dark a {
    color: #6c757d;
}

.jp-article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.9rem;
    margin: 0.85rem 0 0.75rem;
    font-size: 0.82rem;
    color: #6c757d;
}

.jp-article-hero__meta a {
    color: var(--jp-navy);
    font-weight: 600;
}

.jp-article-hero__title {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    line-height: 1.18;
    color: var(--jp-navy);
    margin: 0 0 0.85rem;
    max-width: 18ch;
}

@media (min-width: 768px) {


    .jp-article-hero__title {
        max-width: 22ch;
    }
}

.jp-article-hero__byline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    font-size: 0.95rem;
    color: #5f6b7a;
}

.jp-article-hero__byline a {
    color: var(--jp-navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 39, 0.45);
    text-underline-offset: 0.15em;
}

.jp-article-hero__role {
    color: var(--jp-gold);
    font-weight: 600;
}

.jp-article-main {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
}

.jp-article-figure {
    margin: 0 0 1.5rem;
    border-radius: 0.55rem;
    overflow: hidden;
}

.jp-article-figure img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.jp-article-dek {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #3d4a5c;
    border-left: 3px solid var(--jp-gold);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.jp-article-prose {
    font-size: 1.05rem;
    line-height: 1.75;
}

.jp-article-kicker {
    font-size: 0.95rem;
    color: var(--jp-muted);
    margin-bottom: 1rem;
}

.jp-article-casebox {
    display: grid;
    gap: 0.65rem;
    background: #f7f9fc;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.55rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1.35rem;
}

.jp-article-casebox span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.jp-article-casebox strong {
    color: var(--jp-navy);
    font-size: 0.95rem;
}

.jp-article-aside {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
}

.jp-article-aside__cover {
    border-radius: 0.55rem;
    overflow: hidden;
    border: 1px solid rgba(15, 39, 68, 0.08);
    background: #eef2f6;
}

.jp-article-aside__cover--books {
    max-width: 260px;
}

.jp-article-aside__cover img {
    width: 100%;
    display: block;
    max-height: 360px;
    object-fit: cover;
}

.jp-article-aside__card {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.55rem;
    padding: 1rem 1.05rem;
}

.jp-article-aside__heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jp-gold);
    margin: 0 0 0.75rem;
}

.jp-article-facts {
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.jp-article-facts dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.jp-article-facts dd {
    margin: 0.1rem 0 0;
    font-size: 0.92rem;
    color: var(--jp-navy);
    font-weight: 600;
}

.jp-article--opinions .jp-article-prose {
    font-size: 1.12rem;
    line-height: 1.8;
}

@media (max-width: 767.98px) {
    .jp-pub-tile--books {
        flex-direction: column;
    }

    .jp-event-mobile-lead__body {
        padding: 13px 20px !important;
    }

    .jp-pub-tile--books .jp-pub-tile__media--book {
        width: 100%;
        height: 200px;
        min-height: 0;
    }

    .jp-pub-tile--journals.jp-pub-tile--list {
        flex-direction: column;
        align-items: stretch;
    }

    .jp-pub-tile--journals.jp-pub-tile--list .jp-pub-tile__media--book,
    .jp-pub-tile--journals.jp-pub-tile--list .jp-pub-tile__media--journal-thumb,
    .jp-pub-tile__media--journal-thumb {
        width: 198px !important;
        flex: 0 0 198px;
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        margin: 8px auto;
        order: 1;
        align-self: center;
    }

    .jp-pub-tile--journals.jp-pub-tile--list .jp-pub-tile__body {
        order: 2;
    }

    .jp-journal-cover--thumb:not(.jp-journal-cover--detail) {
        max-width: 248px;
        height: 348px;
    }

    .jp-journal-cover:not(.jp-journal-cover--detail) {
        height: 348px;
    }

    .jp-journal-cover--detail,
    .jp-modern-publication-cover-card--journals .jp-journal-cover--detail {
        max-width: 340px;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto;
        margin: 0 auto;
        overflow: hidden;
        padding: 8px;
        outline: none;
    }

    .jp-article-hero__title {
        max-width: none;
    }

    .jp-article-aside {
        position: static;
    }
}

.jp-article-aside__card .jp-share-box {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.jp-article-aside__card .jp-share-box .h5 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

/* Blog detail layout */
.jp-blog-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.jp-blog-detail__meta i {
    margin-right: 0.35rem;
    opacity: 0.9;
}

.jp-blog-detail__cover {
    margin: 0 0 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(15, 39, 68, 0.08);
    background: #eef2f6;
}

.jp-blog-detail__cover img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.jp-blog-detail__dek {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #3d4a5c;
    border-left: 3px solid var(--jp-gold);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.jp-blog-detail__prose {
    font-size: 1.08rem;
    line-height: 1.85;
}

.jp-blog-detail__share {
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(15, 39, 68, 0.08);
}

.jp-blog-detail__share-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jp-navy);
    margin: 0 0 0.85rem;
}

.jp-blog-detail__share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.jp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
}

.jp-share-btn:hover {
    color: #fff;
    filter: brightness(1.05);
}

.jp-share-btn--fb {
    background: #1877f2;
}

.jp-share-btn--x {
    background: #111827;
}

.jp-share-btn--li {
    background: #0a66c2;
}

.jp-share-btn--wa {
    background: #25d366;
}

.jp-share-btn--copy {
    background: var(--jp-navy);
}

.jp-blog-detail__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.jp-blog-detail__tags-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-muted);
    margin-right: 0.25rem;
}

.jp-blog-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.jp-blog-nav__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.25rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    background: #fff;
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.jp-blog-nav__item:hover {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 10px 24px rgba(15, 39, 68, 0.06);
}

.jp-blog-nav__item--empty {
    border: 0;
    background: transparent;
    pointer-events: none;
}

.jp-blog-nav__label {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-blog-nav__item--next {
    text-align: right;
}

.jp-blog-nav__item--next .jp-blog-nav__media {
    order: 2;
}

.jp-blog-nav__media {
    width: 72px;
    height: 56px;
    border-radius: 0.4rem;
    overflow: hidden;
    background: #eef2f6;
}

.jp-blog-nav__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jp-blog-nav__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--jp-navy);
    line-height: 1.35;
}

.jp-blog-related {
    margin-top: 2.5rem;
}

.jp-blog-related .jp-section-title {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem) !important;
    font-family: var(--jp-font-heading);
    color: var(--jp-navy);
}

.jp-blog-related__card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.jp-blog-related__media {
    display: block;
    height: 140px;
    overflow: hidden;
    background: #eef2f6;
}

.jp-blog-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-blog-related__body {
    padding: 0.9rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.jp-blog-related__title {
    font-size: 1.05rem;
    font-family: var(--jp-font-heading);
    line-height: 1.35;
    margin: 0;
}

.jp-blog-related__title a {
    color: var(--jp-navy);
    text-decoration: none;
}

.jp-blog-related__title a:hover {
    color: var(--jp-gold);
}

.jp-blog-related__meta {
    font-size: 0.78rem;
    color: var(--jp-muted);
}

.jp-blog-related__more {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jp-navy);
    text-decoration: none;
}

.jp-blog-related__more:hover {
    color: var(--jp-gold);
}

.jp-blog-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
}

.jp-blog-sidebar__card {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.65rem;
    padding: 1rem 1.05rem 1.1rem;
}

.jp-blog-sidebar__heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jp-gold);
    margin: 0 0 0.85rem;
}

.jp-blog-sidebar__cats,
.jp-blog-sidebar__posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-blog-sidebar__cats li+li,
.jp-blog-sidebar__posts li+li {
    border-top: 1px solid rgba(15, 39, 68, 0.06);
}

.jp-blog-sidebar__cats a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0;
    color: var(--jp-navy);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.jp-blog-sidebar__cats a:hover {
    color: var(--jp-gold);
}

.jp-blog-sidebar__cats a span:first-child {
    flex: 1;
}

.jp-blog-sidebar__count {
    color: var(--jp-muted);
    font-weight: 500;
    font-size: 0.82rem;
}

.jp-blog-sidebar__cats i {
    font-size: 0.75rem;
    color: var(--jp-muted);
}

.jp-blog-sidebar__post {
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem 0;
    text-decoration: none;
}

.jp-blog-sidebar__thumb {
    width: 64px;
    height: 56px;
    border-radius: 0.4rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef2f6;
}

.jp-blog-sidebar__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-blog-sidebar__post-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--jp-navy);
    line-height: 1.35;
}

.jp-blog-sidebar__post:hover .jp-blog-sidebar__post-title {
    color: var(--jp-gold);
}

.jp-blog-sidebar__post-date {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: var(--jp-muted);
}

.jp-blog-sidebar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

@media (max-width: 991.98px) {
    .jp-blog-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .jp-blog-nav {
        grid-template-columns: 1fr;
    }

    .jp-blog-nav__item--empty {
        display: none;
    }
}

/* Site popup modal */
.jp-popup-modal .modal-dialog {
    max-width: min(720px, calc(100vw - 1.5rem));
}

.jp-popup-modal__content {
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 39, 68, 0.22);
}

.jp-popup-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    opacity: 1;
    padding: 0.55rem;
    box-shadow: 0 2px 10px rgba(15, 39, 68, 0.12);
}

.jp-popup-slide--image {
    line-height: 0;
}

.jp-popup-slide__img {
    width: 100%;
    max-height: min(78vh, 560px);
    object-fit: contain;
    display: block;
    background: #0f2744;
}

.jp-popup-slide__link {
    display: block;
}

.jp-popup-slide--content {
    padding: 1.75rem 1.5rem 1.5rem;
}

.jp-popup-slide__body {
    max-height: min(70vh, 480px);
    overflow: auto;
}

.jp-popup-owl .owl-nav button {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(15, 39, 68, 0.75) !important;
    color: #fff !important;
    margin: 0 0.35rem;
}

.jp-popup-owl .owl-dots {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.jp-popup-owl .owl-dot span {
    background: rgba(15, 39, 68, 0.25);
}

.jp-popup-owl .owl-dot.active span {
    background: var(--jp-gold);
}

/* Event detail */
.jp-event-detail__main {
    padding-top: 1.75rem;
}

.jp-event-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.35rem;
    margin-bottom: 1.75rem;
    align-items: start;
}

.jp-event-hero__media {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--jp-navy);
    border: 1px solid rgba(15, 39, 68, 0.08);
    aspect-ratio: 16 / 11;
    box-shadow: 0 14px 32px rgba(11, 31, 58, 0.1);
}

.jp-event-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jp-event-hero__datebadge {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    background: #fff;
    border-radius: 0.65rem;
    min-width: 4.1rem;
    text-align: center;
    padding: 0.45rem 0.5rem;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.16);
    line-height: 1.1;
}

.jp-event-hero__datebadge span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--jp-gold);
}

.jp-event-hero__datebadge strong {
    display: block;
    font-size: 1.45rem;
    color: var(--jp-navy);
    font-family: var(--jp-font-heading);
}

.jp-event-hero__datebadge em {
    display: block;
    font-style: normal;
    font-size: 0.72rem;
    color: var(--jp-muted);
    font-weight: 600;
}

.jp-event-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.jp-meta-chip--soft {
    border-color: rgba(15, 39, 68, 0.14);
    color: var(--jp-navy);
    background: #f4f7fb;
}

.jp-event-hero__title {
    font-family: var(--jp-font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.12;
    color: var(--jp-navy);
    margin: 0 0 0.7rem;
}

.jp-event-hero__summary {
    color: #596677;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 0.95rem;
}

.jp-event-hero__meta {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    color: var(--jp-muted);
    font-size: 0.92rem;
}

.jp-event-hero__meta i {
    color: var(--jp-gold);
    margin-right: 0.35rem;
}

.jp-event-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.jp-event-block {
    margin-bottom: 2rem;
}

.jp-event-block__title {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    color: var(--jp-navy);
    margin: 0 0 0.9rem;
}

.jp-event-prose {
    font-size: 1.05rem;
    line-height: 1.8;
}

.jp-event-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-event-info li {
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}

.jp-event-info li:last-child {
    border-bottom: 0;
}

.jp-event-info i {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.45rem;
    background: rgba(201, 162, 39, 0.12);
    color: var(--jp-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jp-event-info span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jp-muted);
}

.jp-event-info strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.92rem;
    color: var(--jp-navy);
    font-weight: 600;
    line-height: 1.35;
}

.jp-event-info strong a {
    color: var(--jp-navy);
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 39, 0.45);
}

.jp-event-related {
    display: block;
    text-decoration: none;
    height: 100%;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.jp-event-related__media {
    position: relative;
    display: block;
    height: 130px;
    background: #eef2f6;
}

.jp-event-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-event-related__badge {
    position: absolute;
    left: 0.55rem;
    bottom: 0.55rem;
    background: #fff;
    color: var(--jp-navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 0.35rem;
}

.jp-event-related__title {
    display: block;
    padding: 0.75rem 0.85rem 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.3;
}

.jp-event-related:hover .jp-event-related__title {
    color: var(--jp-gold);
}

.jp-event-related__loc {
    display: block;
    padding: 0 0.85rem 0.85rem;
    font-size: 0.78rem;
    color: var(--jp-muted);
}

.jp-event-more {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-event-more li+li {
    border-top: 1px solid rgba(15, 39, 68, 0.06);
}

.jp-event-more__item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    text-decoration: none;
}

.jp-event-more__thumb {
    position: relative;
    width: 68px;
    height: 58px;
    border-radius: 0.45rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef2f6;
}

.jp-event-more__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-event-more__thumb span {
    position: absolute;
    left: 0.25rem;
    bottom: 0.25rem;
    background: #fff;
    color: var(--jp-navy);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.1rem 0.28rem;
    border-radius: 0.25rem;
}

.jp-event-more__title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.3;
}

.jp-event-more__item:hover .jp-event-more__title {
    color: var(--jp-gold);
}

.jp-event-more__meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.74rem;
    color: var(--jp-muted);
}

@media (max-width: 991.98px) {
    .jp-event-hero {
        grid-template-columns: 1fr;
    }
}

.jp-page-hero--event-detail {
    min-height: clamp(220px, 34vw, 360px);
    padding-top: 2.25rem;
    padding-bottom: 2rem;
}

.jp-page-hero--event-detail .jp-breadcrumb {
    margin-bottom: 0;
}

/* Event detail page */
.jp-event-page__cover {
    position: relative;
    background: #0b1f3a;
}

.jp-event-page__cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
}

.jp-event-page__cover--fallback {
    min-height: clamp(140px, 22vw, 220px);
    background:
        radial-gradient(ellipse 70% 80% at 85% 10%, rgba(201, 162, 39, 0.18), transparent 55%),
        linear-gradient(135deg, #0b1f3a 0%, #163862 58%, #0f2a4d 100%);
}

.jp-event-page__hero {
    position: relative;
    z-index: 2;
    padding: 1rem 0 1.15rem;
    background: #eef2f6;
}

.jp-event-page__card {
    position: relative;
    background: #fff;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 39, 68, 0.07);
    box-shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
    padding: 1rem 1.25rem 0.9rem;
    overflow: hidden;
}

.jp-event-page__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    margin: 0 0 0.65rem;
    font-size: 0.76rem;
    color: #8a96a3;
}

.jp-event-page__crumbs a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #8a96a3;
    text-decoration: none;
    font-weight: 500;
}

.jp-event-page__crumbs a:hover {
    color: var(--jp-navy);
}

.jp-event-page__crumbs span {
    color: #8a96a3;
}

.jp-event-page__crumb-sep {
    font-size: 0.62rem;
    color: #b8c0c8;
}

.jp-event-page__main {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
}

.jp-event-page__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1 1 auto;
}

.jp-event-page__badge {
    display: inline-block;
    padding: 0.28rem 0.62rem;
    border-radius: 0.35rem;
    background: #f5f0e6;
    color: #c9a227;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.jp-event-page__title {
    margin: 0.45rem 0 0;
    font-family: var(--jp-font-heading);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.15;
    font-weight: 600;
    color: var(--jp-navy);
    text-wrap: balance;
}

.jp-event-page__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.7rem;
}

.jp-event-page__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--jp-navy);
    line-height: 1.3;
}

.jp-event-page__meta-item:first-child {
    padding-left: 0;
}

.jp-event-page__meta-item+.jp-event-page__meta-item {
    border-left: 1px solid rgba(15, 39, 68, 0.12);
}

.jp-event-page__meta-item>i {
    width: 2rem;
    height: 2rem;
    border-radius: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f0e6;
    color: #c9a227;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.jp-event-page__mark {
    position: absolute;
    top: 0.15rem;
    right: 0;
    width: min(9.5rem, 28vw);
    color: #c9a227;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.jp-event-page__mark svg {
    display: block;
    width: 100%;
    height: auto;
}

.jp-event-page__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 -1.25rem;
    padding: 0.75rem 1.25rem 0;
    border-top: 1px solid rgba(15, 39, 68, 0.1);
}

.jp-event-page__bar--solo {
    justify-content: flex-end;
}

.jp-event-page__bar-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    flex: 1 1 auto;
}

.jp-event-page__host {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.jp-event-page__host-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: var(--jp-navy);
    color: var(--jp-gold);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
    line-height: 1;
}

.jp-event-page__host-badge i {
    font-size: 0.72rem;
}

.jp-event-page__host-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--jp-navy);
    line-height: 1.35;
}

.jp-event-page__register {
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 1.15rem 0.42rem 0.42rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #e4bc4a 0%, #f0d06a 48%, #e4bc4a 100%);
    color: var(--jp-navy);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.jp-event-page__register:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(201, 162, 39, 0.34);
    color: var(--jp-navy);
}

.jp-event-page__register-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--jp-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.jp-event-detail.jp-section {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}

.jp-event-panel {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.07);
    border-radius: 0.9rem;
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.05);
    padding: 1.25rem 1.35rem;
    margin-bottom: 0;
    height: 100%;
}

.jp-event-panel__head {
    margin-bottom: 0.85rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(15, 39, 68, 0.07);
}

.jp-event-panel__title {
    margin: 0;
    font-family: var(--jp-font-heading);
    font-size: 1.2rem;
    color: var(--jp-navy);
    line-height: 1.3;
}

.jp-event-panel__body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4a5d73;
}

.jp-event-about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 360px);
    gap: 1.1rem;
    align-items: stretch;
    margin-bottom: 1.25rem;
}

.jp-event-about-split__left,
.jp-event-about-split__right {
    min-width: 0;
}

.jp-event-about-split__right--full {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.jp-event-reg-panel {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.07);
    border-radius: 0.9rem;
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.05);
    padding: 1.1rem 1.15rem 1rem;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.jp-event-reg-panel__head {
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(15, 39, 68, 0.07);
}

.jp-event-reg-panel__title {
    margin: 0;
    font-family: var(--jp-font-heading);
    font-size: 1.2rem;
    color: var(--jp-navy);
    line-height: 1.3;
}

.jp-event-reg-panel__meta {
    margin: 0.3rem 0 0;
    font-size: 0.76rem;
    color: var(--jp-muted);
}

.jp-event-reg-marquee {
    flex: 1 1 auto;
    min-height: 200px;
    max-height: 380px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.jp-event-reg-marquee__track {
    display: flex;
    flex-direction: column;
    animation: jpEventRegMarqueeUp 45s linear infinite;
    will-change: transform;
}

.jp-event-reg-marquee:hover .jp-event-reg-marquee__track {
    animation-play-state: paused;
}

.jp-event-reg-stack {
    display: grid;
    gap: 0.55rem;
    padding-bottom: 0.55rem;
}

.jp-event-reg-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.6rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 39, 68, 0.06);
}

.jp-event-reg-item__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--jp-navy);
    color: var(--jp-gold);
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.jp-event-reg-item__body {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.jp-event-reg-item__body strong {
    font-size: 0.84rem;
    color: var(--jp-navy);
    line-height: 1.3;
    font-weight: 600;
}

.jp-event-reg-item__body small {
    font-size: 0.74rem;
    color: var(--jp-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jp-event-reg-empty {
    flex: 1 1 auto;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    color: var(--jp-muted);
    padding: 1rem;
}

.jp-event-reg-empty i {
    font-size: 1.8rem;
    color: rgba(11, 31, 58, 0.25);
}

@keyframes jpEventRegMarqueeUp {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -50%, 0);
    }
}

.jp-event-people-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    margin-bottom: 0.5rem;
}

.jp-event-people-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.jp-event-people-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0.02) 100%);
    border: 1px solid rgba(15, 39, 68, 0.06);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--jp-navy);
}

.jp-event-people-list li i {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 31, 58, 0.08);
    color: var(--jp-gold);
    flex-shrink: 0;
}

.jp-event-detail-meta {
    padding: 1.75rem 0 1.5rem;
    border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.jp-event-detail-meta__inner {
    display: grid;
    gap: 1rem;
}

.jp-event-detail-meta__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
}

.jp-event-detail-meta__item {
    min-width: 10rem;
}

.jp-event-detail-meta__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jp-muted);
    margin-bottom: 0.2rem;
}

.jp-event-detail-meta__item strong {
    display: block;
    font-size: 1rem;
    color: var(--jp-navy);
    font-weight: 600;
    line-height: 1.4;
}

.jp-event-detail-meta__title {
    margin: 0;
    font-family: var(--jp-font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    color: var(--jp-navy);
}

.jp-event-detail-meta__actions {
    margin-top: 0.25rem;
}

.jp-event-detail-people {
    display: grid;
    gap: 1.75rem;
}

.jp-event-detail-people__group {
    width: 100%;
}

.jp-event-detail-people__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.jp-event-detail-people__list li {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.55rem;
    background: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--jp-navy);
    line-height: 1.45;
}

.jp-event-detail-nav {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 0;
    border-top: 0;
}

.jp-event-detail-nav__spacer {
    flex: 1 1 0;
}

.jp-event-detail-nav__btn {
    flex: 1 1 0;
    max-width: calc(50% - 0.5rem);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--jp-navy);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jp-event-detail-nav__btn i {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 31, 58, 0.07);
    color: var(--jp-navy);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.jp-event-detail-nav__btn small {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jp-muted);
    margin-bottom: 0.18rem;
}

.jp-event-detail-nav__btn strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.35;
    font-weight: 700;
}

.jp-event-detail-nav__btn:hover {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 16px 34px rgba(11, 31, 58, 0.12);
    color: var(--jp-navy);
    transform: translateY(-2px);
}

.jp-event-detail-nav__btn:hover i {
    background: var(--jp-gold);
    color: #0b1f3a;
}

.jp-event-detail-nav__btn--next {
    justify-content: flex-end;
    text-align: right;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .jp-event-page__main {
        flex-direction: column;
    }

    .jp-event-page__mark {
        display: none;
    }

    .jp-event-page__meta-item {
        padding: 0;
        border-left: none !important;
    }

    .jp-event-page__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }

    .jp-event-page__bar {
        flex-direction: column;
        align-items: stretch;
    }

    .jp-event-page__bar--solo {
        display: none;
    }

    .jp-event-about-split {
        grid-template-columns: 1fr;
    }

    .jp-event-about-split__right--full {
        max-width: none;
    }

    .jp-event-people-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .jp-event-page__card {
        padding: 0.85rem 1rem 0.8rem;
    }

    .jp-event-page__bar {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .jp-event-detail.jp-section {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    body:has(.jp-event-sticky-cta) {
        padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    }

    .jp-event-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid rgba(15, 39, 68, 0.08);
        box-shadow: 0 -10px 28px rgba(11, 31, 58, 0.12);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .jp-event-sticky-cta__btn {
        width: 100%;
        min-height: 3rem;
        font-size: 0.95rem;
        font-weight: 700;
        box-shadow: 0 10px 24px rgba(201, 162, 39, 0.28);
    }

    .jp-event-sticky-cta--closed .jp-event-closed-notice {
        margin: 0;
    }

    .jp-event-sticky-cta__shimmer {
        position: relative;
        display: inline-block;
        color: inherit;
    }

    .jp-event-sticky-cta__shimmer::after {
        content: "";
        position: absolute;
        inset: -2px -4px;
        background: linear-gradient(105deg,
                transparent 0%,
                transparent 40%,
                rgba(255, 255, 255, 0.75) 50%,
                transparent 60%,
                transparent 100%);
        transform: translateX(-130%);
        animation: jpRegisterShimmer 2.4s ease-in-out infinite;
        pointer-events: none;
    }

    @keyframes jpRegisterShimmer {
        0% {
            transform: translateX(-130%);
        }

        55%,
        100% {
            transform: translateX(130%);
        }
    }

    .jp-event-detail-nav {
        flex-direction: column;
    }

    .jp-event-detail-nav__btn {
        max-width: none;
        width: 100%;
    }

    .jp-event-detail-nav__btn--next {
        text-align: left;
        justify-content: flex-start;
    }
}

/* Podcast / compact heroes â€” keep same 400px banner height as other pages */
.jp-page-hero--compact {
    min-height: 400px;
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
}

.jp-page-hero--compact .jp-breadcrumb {
    margin-bottom: 0.85rem;
}

.jp-pod-detail__main {
    padding-top: 1.75rem;
}

.jp-pod-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.35rem;
    margin-bottom: 1.5rem;
}

.jp-pod-hero__cover {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--jp-navy);
    border: 1px solid rgba(15, 39, 68, 0.08);
    box-shadow: 0 14px 32px rgba(11, 31, 58, 0.12);
}

.jp-pod-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jp-pod-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.jp-pod-hero__ep {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jp-muted);
}

.jp-pod-hero__title {
    font-family: var(--jp-font-heading);
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.12;
    color: var(--jp-navy);
    margin: 0 0 0.75rem;
}

.jp-pod-hero__summary {
    color: #5a6675;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 0.95rem;
    max-width: 40rem;
}

.jp-pod-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.1rem;
    color: var(--jp-muted);
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.jp-pod-hero__meta i {
    margin-right: 0.3rem;
    color: var(--jp-gold);
}

.jp-pod-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.jp-pod-icon-btn {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 39, 68, 0.14);
    background: #fff;
    color: var(--jp-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jp-pod-icon-btn:hover {
    border-color: var(--jp-gold);
    color: var(--jp-gold);
}

.jp-pod-player {
    margin-bottom: 1.75rem;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(15, 39, 68, 0.08);
    background: #0b1f3a;
}

.jp-pod-block {
    margin-bottom: 1.85rem;
}

.jp-pod-block__title {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    color: var(--jp-navy);
    margin: 0 0 0.9rem;
}

.jp-pod-prose {
    font-size: 1.05rem;
    line-height: 1.8;
}

.jp-pod-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.jp-pod-highlights li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--jp-navy);
    font-size: 0.98rem;
    line-height: 1.45;
}

.jp-pod-highlights i {
    color: var(--jp-gold);
    margin-top: 0.15rem;
}

.jp-pod-highlights__media {
    border-radius: 0.85rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef2f6;
    border: 1px solid rgba(15, 39, 68, 0.08);
}

.jp-pod-highlights__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-pod-host {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 0.9rem;
    background: #f7f9fc;
    margin-bottom: 1.5rem;
}

.jp-pod-host__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--jp-navy);
    color: var(--jp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--jp-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
}

.jp-pod-host__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-pod-host__name {
    font-weight: 700;
    color: var(--jp-navy);
    font-size: 1.05rem;
}

.jp-pod-host__name i {
    color: var(--jp-gold);
    margin-left: 0.25rem;
}

.jp-pod-host__role {
    font-size: 0.82rem;
    color: var(--jp-muted);
    margin-bottom: 0.35rem;
}

.jp-pod-host__bio {
    margin: 0;
    color: #4c5868;
    font-size: 0.92rem;
    line-height: 1.55;
}

.jp-pod-related {
    margin-top: 2rem;
}

.jp-pod-related__card {
    display: block;
    text-decoration: none;
    height: 100%;
}

.jp-pod-related__media {
    position: relative;
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--jp-navy);
    margin-bottom: 0.55rem;
}

.jp-pod-related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-pod-related__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(11, 31, 58, 0.25);
    font-size: 1.4rem;
}

.jp-pod-related__dur {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    background: rgba(11, 31, 58, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 0.3rem;
}

.jp-pod-related__title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.jp-pod-related__card:hover .jp-pod-related__title {
    color: var(--jp-gold);
}

.jp-pod-related__date {
    display: block;
    font-size: 0.75rem;
    color: var(--jp-muted);
}

.jp-pod-about {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.jp-pod-about__art {
    width: 56px;
    height: 56px;
    border-radius: 0.55rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--jp-navy);
}

.jp-pod-about__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-pod-about__title {
    font-weight: 700;
    color: var(--jp-navy);
    font-size: 0.98rem;
}

.jp-pod-about__host {
    font-size: 0.8rem;
    color: var(--jp-muted);
}

.jp-pod-about__desc {
    font-size: 0.88rem;
    color: #516070;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

.jp-pod-seeall {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jp-gold);
    text-decoration: none;
}

.jp-pod-episodes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-pod-episodes li+li {
    border-top: 1px solid rgba(15, 39, 68, 0.06);
}

.jp-pod-episodes__item {
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem 0;
    text-decoration: none;
}

.jp-pod-episodes__item.is-active .jp-pod-episodes__title {
    color: var(--jp-gold);
}

.jp-pod-episodes__thumb {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 0.45rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--jp-navy);
}

.jp-pod-episodes__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jp-pod-episodes__thumb i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(11, 31, 58, 0.28);
    font-size: 0.95rem;
}

.jp-pod-episodes__title {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--jp-navy);
    line-height: 1.3;
}

.jp-pod-episodes__meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--jp-muted);
}

.jp-pod-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.jp-pod-platforms__item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(15, 39, 68, 0.1);
    border-radius: 0.55rem;
    color: var(--jp-navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.jp-pod-platforms__item:hover {
    border-color: var(--jp-gold);
    color: var(--jp-gold);
}

.jp-pod-platforms__item i {
    font-size: 1.05rem;
}

.jp-pod-mini {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: rgba(11, 31, 58, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0;
    backdrop-filter: blur(8px);
}

.jp-pod-mini__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.jp-pod-mini__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.jp-pod-mini__left img {
    width: 44px;
    height: 44px;
    border-radius: 0.4rem;
    object-fit: cover;
}

.jp-pod-mini__title {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.jp-pod-mini__show {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
}

.jp-pod-mini__play {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: var(--jp-gold);
    color: var(--jp-navy-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
}

.jp-pod-mini__meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

body:has(.jp-pod-mini) {
    padding-bottom: 4.5rem;
}

@media (max-width: 767.98px) {
    .jp-pod-hero {
        grid-template-columns: 1fr;
    }

    .jp-pod-hero__cover {
        max-width: 220px;
    }
}

/* ========== Drop cap / About page / Pub mosaic ========== */
.jp-dropcap>p:first-child::first-letter,
.jp-dropcap::first-letter {
    float: left;
    font-family: var(--jp-font-heading);
    font-size: 4.35rem;
    line-height: 0.82;
    font-weight: 700;
    color: var(--jp-navy);
    padding: 0.08em 0.14em 0 0;
}

.jp-about-page__title {
    font-family: var(--jp-font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    color: var(--jp-navy);
    margin: 0 0 1.25rem;
    font-weight: 700;
}

.jp-about-page__body {
    max-width: none;
    width: 100%;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(15, 39, 68, 0.88);
}

/* Modern research mosaic (replaces carousel cards) */
.jp-research.jp-band--white {
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(201, 162, 39, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 20%, rgba(15, 39, 68, 0.05), transparent 50%),
        #ffffff !important;
}

.jp-research-head {
    margin-bottom: 1.1rem;
}

.jp-research-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.jp-research-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.45rem;
    min-height: 7.25rem;
    padding: 0.75rem 0.8rem 0.7rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(155deg, #0f2744 0%, #163a5f 48%, #1a4568 100%);
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-research-tile:nth-child(4n + 2) {
    background: linear-gradient(155deg, #122c4a 0%, #0f2744 55%, #1e4a6e 100%);
}

.jp-research-tile:nth-child(4n + 3) {
    background: linear-gradient(155deg, #0c2038 0%, #143556 50%, #1a3f5c 100%);
}

.jp-research-tile:nth-child(4n) {
    background: linear-gradient(155deg, #102844 0%, #18405f 45%, #0f2744 100%);
}

.jp-research-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 35%, rgba(7, 22, 40, 0.55) 100%),
        radial-gradient(circle at 90% 10%, rgba(201, 162, 39, 0.18), transparent 42%);
    pointer-events: none;
}

.jp-research-tile__index {
    position: absolute;
    top: 0.55rem;
    left: 0.7rem;
    z-index: 1;
    font-family: var(--jp-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.jp-research-tile__icon {
    position: relative;
    z-index: 1;
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--jp-gold-soft, #e8d48a);
    font-size: 0.95rem;
}

.jp-research-tile__name {
    position: relative;
    z-index: 1;
    font-family: var(--jp-font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    max-width: 88%;
}

.jp-research-tile__go {
    position: absolute;
    right: 0.7rem;
    bottom: 0.65rem;
    z-index: 1;
    color: var(--jp-gold);
    font-size: 0.85rem;
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.jp-research-tile:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(11, 31, 58, 0.18);
}

.jp-research-tile:hover .jp-research-tile__go {
    transform: translate(2px, -2px);
}

@media (max-width: 991.98px) {
    .jp-research-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .jp-research-mosaic {
        grid-template-columns: 1fr;
    }

    .jp-research-tile {
        min-height: 6.5rem;
    }
}

.jp-pub-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

@media (min-width: 1400px) {
    .jp-pub-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.jp-pub-mosaic:has(> .jp-pub-mosaic__card:only-child) {
    grid-template-columns: 1fr;
    max-width: 720px;
}

.jp-pub-mosaic__card {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.05);
    border-radius: 0.5rem;
    padding: 1.1rem 1.15rem 1rem;
    box-shadow: 0 2px 12px rgba(11, 31, 58, 0.04);
    height: 430px;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    max-height: 430px;
    border-bottom: 2px solid #d2ac35;
}

.jp-pub-mosaic__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(15, 39, 68, 0.08);
    flex-shrink: 0;
}

.jp-pub-mosaic__tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
}

.jp-pub-owl-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 1.85rem;
}

.jp-pub-owl-nav .owl-prev,
.jp-pub-owl-nav .owl-next,
.jp-pub-owl-nav__btn {
    width: 1.85rem;
    height: 1.85rem;
    border: 0;
    border-radius: 999px !important;
    background: rgba(11, 31, 58, 0.07) !important;
    color: var(--jp-navy) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    margin: 0 !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.jp-pub-owl-nav .owl-prev:hover,
.jp-pub-owl-nav .owl-next:hover,
.jp-pub-owl-nav__btn:hover {
    background: var(--jp-navy) !important;
    color: #fff !important;
}

.jp-pub-mosaic__body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.jp-pub-mosaic__body--scroll {
    overflow-y: auto;
    padding-right: 0.15rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 39, 68, 0.25) transparent;
}

.jp-pub-mosaic__body--marquee {
    overflow: hidden;
    position: relative;
}

.jp-news-marquee {
    height: 100%;
    overflow: hidden;
}

.jp-news-marquee__track {
    display: flex;
    flex-direction: column;
    width: 100%;
    animation: jpNewsMarqueeUp 70s linear infinite;
    will-change: transform;
}

.jp-news-marquee:hover .jp-news-marquee__track {
    animation-play-state: paused;
}

.jp-news-stack--marquee {
    flex: 0 0 auto;
}

@keyframes jpNewsMarqueeUp {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -50%, 0);
    }
}

.jp-pub-mosaic__body--scroll::-webkit-scrollbar {
    width: 5px;
}

.jp-pub-mosaic__body--scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 39, 68, 0.22);
    border-radius: 999px;
}

.jp-pub-mosaic__body .owl-stage-outer {
    height: 100%;
}

.jp-pub-mosaic__body .jp-owl-pub-block {
    height: 100%;
}

.jp-pub-mosaic__body .jp-news-cover {
    height: 300px;
}

.jp-pub-mosaic__body .jp-news-cover--book {
    width: 100%;
    height: 220px;
    flex: none;
}

.jp-pub-mosaic__body .jp-news-cover--book:hover {
    transform: translateY(-4px);
}

.jp-pub-mosaic__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jp-gold);
    margin-bottom: 0.2rem;
}

.jp-pub-mosaic__title {
    margin: 0;
    font-family: var(--jp-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--jp-navy);
    line-height: 1.2;
}

.jp-pub-mosaic__all {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--jp-navy);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid rgba(201, 162, 39, 0.55);
    padding-bottom: 1px;
}

.jp-pub-mosaic__all:hover {
    color: var(--jp-gold);
}

.jp-news-stack {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jp-news-stack .jp-news-row:first-child {
    padding-top: 0;
}

/* News list row: thumbnail + title */
.jp-news-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--jp-navy);
    padding: 0.85rem 0.35rem 0.85rem 0.15rem;
    border-bottom: 1px solid rgba(15, 39, 68, 0.07);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.jp-news-row:last-child {
    border-bottom: 0;
}

.jp-news-row:hover {
    color: var(--jp-navy);
    background: #f7f9fc;
    padding-left: 0.35rem;
}

.jp-news-row:hover .jp-news-row__title {
    color: var(--jp-gold-dark, #9a7a1f);
}

.jp-news-row__thumb {
    width: 62px;
    flex-shrink: 0;
    border-radius: 0.3rem;
    overflow: hidden;
    background: #e8eef5;
    aspect-ratio: 2 / 2;
    box-shadow: 0 1px 4px rgba(11, 31, 58, 0.08);
}

.jp-news-stack--journals .jp-news-row {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    align-items: center;
}

.jp-news-stack--journals .jp-news-row__thumb,
.jp-news-row--square .jp-news-row__thumb {
    width: 63px;
    height: 63px;
    aspect-ratio: 1 / 1;
}

.jp-news-stack--journals .jp-news-row__title {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
}

.jp-news-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.jp-news-row:hover .jp-news-row__thumb img {
    transform: scale(1.05);
}

.jp-news-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    flex: 1;
    padding: 0.1rem 0;
}

.jp-news-row__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--jp-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.jp-news-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    font-size: 0.75rem;
    color: var(--jp-muted);
    font-weight: 500;
}

.jp-news-row__meta time {
    color: var(--jp-gold);
    font-weight: 700;
}

/* Cover thumbs: title over image */
.jp-news-covers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    flex: 1;
}

.jp-news-covers:has(> :only-child) {
    grid-template-columns: 1fr;
}

.jp-news-covers:has(> :only-child) .jp-news-cover:not(.jp-news-cover--book) {
    height: 250px;
}

/* Bookshelf row for books / chapters */
.jp-news-covers--books {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.85rem 1rem;
    grid-template-columns: none;
}

.jp-news-cover {
    position: relative;
    display: block;
    height: 210px;
    border-radius: 0.35rem;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(160deg, #0f2744, #1a3a5c);
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.1);
}

.jp-news-cover--book {
    width: 128px;
    height: 196px;
    flex: 0 0 auto;
    border-radius: 2px 7px 7px 2px;
    box-shadow:
        inset 10px 0 16px rgba(0, 0, 0, 0.28),
        0 10px 22px rgba(11, 31, 58, 0.18);
    transform-origin: left center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-news-cover--book .jp-news-cover__content {
    padding: 0.7rem 0.65rem 0.75rem;
}

.jp-news-cover--book .jp-news-cover__title {
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
}

.jp-news-cover--book .jp-news-cover__authors {
    font-size: 0.68rem;
    margin-top: 0.25rem;
}

.jp-news-cover--book:hover {
    transform: translateY(-6px) rotateY(-6deg);
    box-shadow:
        inset 10px 0 16px rgba(0, 0, 0, 0.28),
        0 16px 28px rgba(11, 31, 58, 0.22);
}

.jp-news-covers--books:has(> :only-child) .jp-news-cover--book {
    width: 148px;
    height: 224px;
}

.jp-news-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.jp-news-cover__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(7, 22, 40, 0.9) 0%,
            rgba(7, 22, 40, 0.4) 48%,
            rgba(7, 22, 40, 0.05) 100%);
    pointer-events: none;
}

.jp-news-cover__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem 1rem 1.15rem;
    z-index: 1;
}

.jp-news-cover__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--jp-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.jp-news-cover__authors {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
}

.jp-news-cover:hover .jp-news-cover__img {
    transform: scale(1.06);
}

.jp-news-cover:hover .jp-news-cover__title {
    color: var(--jp-gold-soft, #e8d48a);
}

.jp-pub-mosaic__card .owl-nav,
.jp-pub-owl-nav {
    display: none !important;
}

.jp-pub-news .jp-section-title {
    color: var(--jp-navy);
}

@media (max-width: 991.98px) {
    .jp-pub-mosaic {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .jp-news-cover {
        height: 190px;
    }
}

@media (max-width: 575.98px) {
    .jp-news-covers {
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .jp-news-cover {
        height: 160px;
    }

    .jp-news-cover__title {
        font-size: 0.82rem;
    }

    .jp-news-cover--book {
        width: 108px;
        height: 164px;
    }

    .jp-news-row__thumb {
        width: 64px;
    }

    .jp-news-row__title {
        font-size: 0.95rem;
    }
}

/* Engagement modals (Pro Bono / Volunteer) */
.jp-engage-modal .modal-dialog {
    max-width: 520px;
    margin: 1rem auto;
}

.jp-engage-modal .modal-content {
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.18);
    overflow: hidden;
}

.jp-engage-modal .modal-header {
    background: linear-gradient(135deg, #0b1f3a 0%, #163862 100%);
    color: #fff;
    padding: 1rem 1.15rem 0.85rem;
}

.jp-engage-modal .modal-title {
    color: #fff;
    font-family: var(--jp-font-heading);
}

.jp-engage-modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.85;
}

.jp-engage-modal .modal-body {
    padding: 1rem 1.15rem 1.15rem;
    max-height: none;
    overflow: visible;
}

.jp-engage-modal .jp-form-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.jp-engage-modal .jp-form-control,
.jp-engage-modal .form-select {
    min-height: 2.35rem;
    font-size: 0.92rem;
}

.jp-engage-modal textarea.jp-form-control {
    min-height: 4.5rem;
    resize: none;
}

.jp-engage-modal .jp-phone-group .jp-phone-prefix {
    min-height: 2.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--jp-navy);
    background: #f3f0ea;
    border-color: #ddd7cc;
    letter-spacing: 0.02em;
}

.jp-engage-modal .jp-phone-group .jp-form-control.is-invalid {
    z-index: 1;
}

.jp-engage-modal .modal-dialog.modal-lg {
    max-width: 720px;
}

/* Breaking news ticker (under homepage slider) */
.jp-breaking {
    background: linear-gradient(90deg, #0b1f3a 0%, #14355f 45%, #0b1f3a 100%);
    color: #fff;
    border-bottom: 3px solid var(--jp-gold, #c9a227);
    overflow: hidden;
}

.jp-breaking__inner {
    display: flex;
    align-items: stretch;
    min-height: 46px;
}

.jp-breaking__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: linear-gradient(135deg, #c9a227 0%, #a8841a 100%);
    color: #0b1f3a;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.18);
}

.jp-breaking__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c7222b;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: jpBreakingPulse 1.6s ease-out infinite;
}

@keyframes jpBreakingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.jp-breaking__track-wrap {
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.jp-breaking__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: jpBreakingScroll 95s linear infinite;
    padding-left: 0.75rem;
    will-change: transform;
}

.jp-breaking__track:hover {
    animation-play-state: paused;
}

@keyframes jpBreakingScroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.jp-breaking__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    padding-right: 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.jp-breaking__item a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.jp-breaking__item a:hover {
    color: var(--jp-gold, #c9a227);
    border-bottom-color: currentColor;
}

.jp-breaking__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.18);
    border: 1px solid rgba(201, 162, 39, 0.55);
    color: var(--jp-gold, #c9a227);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jp-breaking__dot {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

@media (max-width: 575.98px) {
    .jp-breaking__badge {
        padding: 0.5rem 0.7rem;
        font-size: 0.65rem;
    }

    .jp-breaking__item {
        font-size: 0.82rem;
    }

    .jp-breaking__track {
        animation-duration: 75s;
    }
}

/* Criminal Law Converter — homepage spotlight */
.jp-clc {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.jp-clc-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--jp-radius-lg);
    background: linear-gradient(145deg, var(--jp-navy) 0%, var(--jp-navy-deep) 100%);
    color: #fff;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: 0 18px 40px rgba(7, 22, 40, 0.22);
}

.jp-clc-banner__glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.22) 0%, rgba(201, 162, 39, 0) 70%);
    pointer-events: none;
}

.jp-clc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.18);
    color: var(--jp-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.jp-clc-title {
    font-family: var(--jp-font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.45rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #fff;
}

.jp-clc-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 36rem;
    margin-bottom: 1.35rem;
}

.jp-clc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jp-clc-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
}

.jp-clc-cta-secondary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.55);
    --bs-btn-hover-color: var(--jp-navy-deep);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}

.jp-clc-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.jp-clc-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: var(--jp-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    transition: transform var(--jp-transition), background var(--jp-transition), border-color var(--jp-transition);
}

.jp-clc-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(201, 162, 39, 0.45);
    color: #fff;
}

.jp-clc-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--jp-radius);
    background: rgba(201, 162, 39, 0.18);
    color: var(--jp-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.jp-clc-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.jp-clc-card__title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.jp-clc-card__desc {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

.jp-clc-card__arrow {
    color: var(--jp-gold);
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .jp-clc-actions {
        flex-direction: column;
    }

    .jp-clc-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Section Finder / Criminal Law Converter (reference UI) ===== */
.jp-page-hero--sf {
    min-height: 280px;
    padding: 3.25rem 0 2.75rem;
}

.jp-sf-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.jp-sf-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.jp-sf-panel-wrap {
    position: relative;
    min-height: 220px;
}

.jp-sf-panel-wrap.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.jp-sf-panel-wrap.is-loading::after {
    content: '';
    position: absolute;
    inset: 1.5rem auto auto 50%;
    width: 1.75rem;
    height: 1.75rem;
    margin-left: -0.875rem;
    border: 2px solid rgba(15, 40, 70, 0.15);
    border-top-color: var(--jp-navy, #0f2846);
    border-radius: 50%;
    animation: jpSfSpin 0.7s linear infinite;
}

@keyframes jpSfSpin {
    to {
        transform: rotate(360deg);
    }
}

.jp-sf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.jp-sf-tabs__item {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 40, 70, 0.14);
    background: #fff;
    color: #3a4a5a;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jp-sf-tabs__item:hover {
    border-color: rgba(15, 40, 70, 0.3);
    color: var(--jp-navy, #0f2846);
}

.jp-sf-tabs__item.is-active {
    background: var(--jp-navy, #0f2846);
    border-color: var(--jp-navy, #0f2846);
    color: #fff;
}

.jp-sf-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: stretch;
    margin-bottom: 1.25rem;
}

.jp-sf-search-wrap {
    flex: 1 1 280px;
    position: relative;
    min-width: 0;
}

.jp-sf-toolbar__search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid rgba(15, 40, 70, 0.16);
    border-radius: 0.65rem;
    padding: 0.55rem 0.75rem 0.55rem 1rem;
    min-height: 3rem;
}

.jp-sf-toolbar__search>i {
    color: #8a96a3;
    flex-shrink: 0;
}

.jp-sf-toolbar__search .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-left: 0;
    min-width: 0;
}

.jp-sf-toolbar__search .form-control:focus {
    box-shadow: none;
}

.jp-sf-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 40, 70, 0.08);
    color: #4a5a6a;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.jp-sf-clear-btn:hover {
    background: rgba(15, 40, 70, 0.14);
    color: var(--jp-navy, #0f2846);
}

.jp-sf-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
    background: #fff;
    border: 1px solid rgba(15, 40, 70, 0.14);
    border-radius: 0.65rem;
    box-shadow: 0 10px 28px rgba(15, 40, 70, 0.12);
    max-height: 320px;
    overflow: auto;
    padding: 0.35rem;
}

.jp-sf-suggest__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 0.45rem;
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    color: inherit;
}

.jp-sf-suggest__item:hover,
.jp-sf-suggest__item.is-active {
    background: rgba(15, 40, 70, 0.06);
}

.jp-sf-suggest__label {
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--jp-navy, #0f2846);
}

.jp-sf-suggest__sub {
    font-size: 0.78rem;
    color: #6a7a8a;
    line-height: 1.35;
}

.jp-sf-go,
.jp-sf-swap,
.jp-sf-substantive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.65rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    background: #fff;
    cursor: pointer;
    min-height: 3rem;
}

.jp-sf-go {
    border: 0;
    background: var(--jp-navy, #0f2846);
    color: #fff;
    padding-inline: 1.25rem;
}

.jp-sf-go:hover {
    filter: brightness(1.08);
    color: #fff;
}

.jp-sf-link-btn {
    border: 0;
    background: none;
    color: var(--jp-navy, #0f2846);
    font-weight: 600;
    text-decoration: underline;
    padding: 0;
    cursor: pointer;
}

.jp-sf-common__hint {
    margin-left: 0.25rem;
    color: #8a96a3;
    font-weight: 500;
}

.jp-sf-swap {
    border: 1px solid rgba(15, 40, 70, 0.16);
    color: #2a3a4a;
}

.jp-sf-substantive {
    border: 1.5px solid var(--jp-gold, #b08d3a);
    color: #7a5f1f;
}

.jp-sf-substantive.is-active {
    background: rgba(176, 141, 58, 0.12);
}

.jp-sf-common {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    background: #f7f8fa;
    border-radius: 0.75rem;
}

.jp-sf-common__label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #6a7a8a;
}

.jp-sf-common__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.jp-sf-chip {
    display: inline-flex;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 40, 70, 0.1);
    color: #3a4a5a;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.jp-sf-chip:hover {
    background: #eef1f4;
    color: var(--jp-navy, #0f2846);
}

.jp-sf-common__count {
    font-size: 0.82rem;
    color: #7a8796;
    margin-left: auto;
    font-weight: 600;
}

.jp-sf-board {
    background: #fff;
    border: 1px solid rgba(15, 40, 70, 0.1);
    border-radius: 0.65rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 40, 70, 0.04);
}

.jp-sf-board__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: var(--jp-navy, #0f2846);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jp-sf-chapter {
    border-top: 1px solid rgba(15, 40, 70, 0.08);
}

.jp-sf-chapter__toggle {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem;
    background: #f6f1e7;
    border: 0;
    text-align: left;
    cursor: pointer;
}

.jp-sf-chapter__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #8a6a2a;
    letter-spacing: 0.02em;
}

.jp-sf-chapter__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.jp-sf-chapter__range {
    font-size: 0.78rem;
    color: #5a6a7a;
}

.jp-sf-chapter__sample {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(15, 40, 70, 0.1);
    font-size: 0.72rem;
    color: #4a5a6a;
    font-weight: 600;
}

.jp-sf-chapter__caret {
    color: #8a6a2a;
    transition: transform 0.2s ease;
}

.jp-sf-chapter.is-open .jp-sf-chapter__caret {
    transform: rotate(180deg);
}

.jp-sf-chapter__body {
    background: #fff;
}

.jp-sf-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 1.15rem;
    border-top: 1px solid rgba(15, 40, 70, 0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.jp-sf-row:hover {
    background: #f8fafb;
    color: inherit;
}

.jp-sf-row__old,
.jp-sf-row__new {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.jp-sf-row__old {
    color: #6a7a8a;
}

.jp-sf-row__new {
    color: #1a2a3a;
    font-weight: 600;
}

.jp-sf-row__sec {
    font-weight: 700;
}

.jp-sf-row__arrow {
    color: #9aa8b6;
    padding-top: 0.1rem;
}

.jp-sf-row__none {
    color: #9aa8b6;
    font-style: italic;
    font-weight: 400;
}

.jp-sf-row__badge {
    min-width: 7.5rem;
    text-align: right;
}

.jp-sf-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: #eef1f4;
    color: #4a5a6a;
}

.jp-sf-pill--new {
    background: #e7f6ec;
    color: #1f6b3a;
}

.jp-sf-pill--del {
    background: #f8eeee;
    color: #8a3030;
}

.jp-sf-pill--mod {
    background: #fbf4e6;
    color: #8a5a12;
}

.jp-sf-empty {
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: #6a7a8a;
}

.jp-sf-detail__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.jp-sf-back {
    text-decoration: none;
    color: var(--jp-navy, #0f2846);
    font-weight: 600;
    font-size: 0.92rem;
}

.jp-sf-back:hover {
    color: var(--jp-gold, #b08d3a);
}

.jp-sf-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jp-sf-chapter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.15rem;
    background: #f6f1e7;
    font-size: 0.85rem;
    font-weight: 700;
    color: #8a6a2a;
}

.jp-sf-chapter-bar__pair {
    font-weight: 600;
    color: #5a6a7a;
    font-size: 0.78rem;
}

.jp-sf-titles {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(15, 40, 70, 0.08);
    align-items: start;
}

.jp-sf-titles__old {
    color: #6a7a8a;
    font-size: 0.95rem;
}

.jp-sf-titles__new {
    color: #1a2a3a;
    font-weight: 700;
    font-size: 0.95rem;
}

.jp-sf-titles__arrow {
    color: #9aa8b6;
}

.jp-sf-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    align-items: center;
    padding: 0.7rem 1.15rem;
    border-bottom: 1px solid rgba(15, 40, 70, 0.08);
    font-size: 0.78rem;
    color: #5a6a7a;
    background: #fafbfc;
}

.jp-sf-legend__hint {
    margin-left: auto;
    color: #8a96a3;
}

.jp-sf-swatch {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.15rem;
    margin-right: 0.35rem;
    vertical-align: -1px;
}

.jp-sf-swatch--del {
    background: #f5c6c6;
}

.jp-sf-swatch--add {
    background: #bfe5cb;
}

.jp-sf-change-note {
    margin: 0.85rem 1.15rem 0;
    padding: 0.7rem 0.9rem;
    background: #fbf4e6;
    border: 1px solid #edd9ad;
    border-radius: 0.45rem;
    font-size: 0.88rem;
    color: #5a4520;
}

.jp-sf-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.jp-sf-compare__col {
    padding: 1.15rem;
    border-right: 1px solid rgba(15, 40, 70, 0.08);
}

.jp-sf-compare__col:last-child {
    border-right: 0;
}

.jp-sf-compare__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7a8796;
    margin: 0 0 0.75rem;
}

.jp-sf-compare__text {
    white-space: pre-wrap;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #243444;
}

.jp-sf-compare__empty {
    margin: 0;
    color: #9aa8b6;
    font-style: italic;
}

.jp-sf-compare__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(15, 40, 70, 0.12);
    font-size: 0.75rem;
    color: #7a8796;
}

.jp-sf-diff--del {
    background: #f8d7d7;
    color: #8a3030;
}

.jp-sf-diff--add {
    background: #d8f0e0;
    color: #1f6b3a;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.jp-sf-related__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.jp-sf-related__item {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef1f4;
    color: #2a3a4a;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.jp-sf-related__item:hover {
    background: #e2e7ec;
    color: var(--jp-navy, #0f2846);
}

@media (max-width: 991.98px) {
    .jp-sf-page {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .jp-sf-shell {
        max-width: 100%;
    }

    .jp-sf-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }

    .jp-sf-tabs::-webkit-scrollbar {
        display: none;
    }

    .jp-sf-tabs__item {
        flex: 0 0 auto;
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .jp-sf-toolbar {
        gap: 0.65rem;
    }

    .jp-sf-search-wrap {
        flex: 1 1 100%;
        width: 100%;
    }

    .jp-sf-go {
        flex: 1 1 calc(40% - 0.35rem);
        min-width: 0;
    }

    .jp-sf-swap {
        flex: 1 1 calc(60% - 0.35rem);
        min-width: 0;
    }

    .jp-sf-substantive {
        flex: 1 1 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
        padding: 0.65rem 0.85rem;
    }

    .jp-sf-common {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .jp-sf-common__label {
        width: 100%;
    }

    .jp-sf-common__chips {
        flex: 1 1 100%;
        flex-wrap: wrap;
        overflow: visible;
        gap: 0.4rem;
        width: 100%;
        padding-bottom: 0;
    }

    .jp-sf-chip {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .jp-sf-common__count {
        margin-left: 0;
        align-self: flex-start;
        width: 100%;
    }

    .jp-sf-board__head,
    .jp-sf-titles,
    .jp-sf-compare {
        grid-template-columns: 1fr;
    }

    .jp-sf-board__head {
        gap: 0.35rem;
        padding: 0.7rem 0.9rem;
    }

    .jp-sf-board__head span:last-child {
        display: block;
        opacity: 0.85;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: none;
        letter-spacing: 0;
    }

    .jp-sf-board__head span:last-child::before {
        content: 'New · ';
        opacity: 0.75;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-size: 0.65rem;
    }

    .jp-sf-board__head span:first-child::before {
        content: 'Old · ';
        opacity: 0.75;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-size: 0.65rem;
    }

    .jp-sf-titles {
        gap: 0.35rem;
        padding: 0.85rem 0.95rem;
    }

    .jp-sf-titles__arrow {
        display: none;
    }

    .jp-sf-compare__col {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 40, 70, 0.08);
        padding: 0.95rem;
    }

    .jp-sf-compare__col:last-child {
        border-bottom: 0;
    }

    .jp-sf-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.85rem 0.95rem;
    }

    .jp-sf-row__arrow {
        display: none;
    }

    .jp-sf-row__badge {
        display: block;
        min-width: 0;
        text-align: left;
        margin-top: 0.2rem;
    }

    .jp-sf-chapter__toggle {
        padding: 0.8rem 0.95rem;
        gap: 0.4rem;
    }

    .jp-sf-chapter__meta {
        width: 100%;
        margin-left: 0;
    }

    .jp-sf-chapter__sample {
        display: none;
    }

    .jp-sf-legend {
        padding: 0.65rem 0.95rem;
        gap: 0.55rem 0.85rem;
    }

    .jp-sf-legend__hint {
        margin-left: 0;
        width: 100%;
    }

    .jp-sf-detail__bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .jp-sf-chapter-bar {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.7rem 0.95rem;
    }

    .jp-sf-suggest {
        max-height: min(280px, 45vh);
    }
}

@media (max-width: 575.98px) {
    .jp-page-hero--sf {
        min-height: 200px;
        padding: 2rem 0 1.75rem;
    }

    .jp-sf-toolbar__search {
        min-height: 2.85rem;
        padding: 0.45rem 0.65rem 0.45rem 0.85rem;
    }

    .jp-sf-go,
    .jp-sf-swap,
    .jp-sf-substantive {
        min-height: 2.85rem;
        font-size: 0.8rem;
        padding: 0.6rem 0.85rem;
    }

    .jp-sf-row__old,
    .jp-sf-row__new {
        font-size: 0.86rem;
    }

    .jp-sf-compare__text {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .jp-sf-related__list {
        gap: 0.35rem;
    }

    .jp-sf-related__item {
        font-size: 0.76rem;
        padding: 0.4rem 0.65rem;
    }
}