/**
 * JIAAP — Journal of the Indian Academy of Applied Psychology
 * Site chrome + home (extends public/css/apspa.css)
 */

:root {
    --jiaap-hero-start: #fde68a;
    --jiaap-hero-end: #ea580c;
    --jiaap-cta: #dc2626;
    --jiaap-cta-hover: #b91c1c;
    --jiaap-heading: #0f172a;
    /* Sticky site header (~padding + logo row); tune if nav wraps on small tablets */
    --jiaap-site-header-height: 72px;
}

.jiaap-site-logo {
    gap: 0.65rem;
}

.jiaap-site-logo .apspa-logo-img {
    flex-shrink: 0;
    display: block;
}

.jiaap-footer-logo {
    display: block;
    width: min(100%, 300px);
    max-width: 300px;
    height: auto;
}

.jiaap-logo-text {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--apspa-text);
}

/* One full viewport fold: hero fills everything below the sticky header; scroll for content below */
.jiaap-hero {
    position: relative;
    background: linear-gradient(105deg, var(--jiaap-hero-start) 0%, #fb923c 45%, var(--jiaap-hero-end) 100%);
    color: #fff;
    overflow: hidden;
    min-height: calc(100vh - var(--jiaap-site-header-height));
    min-height: calc(100dvh - var(--jiaap-site-header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.jiaap-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    min-height: 0;
}

.jiaap-hero-cover-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    max-height: calc(100dvh - var(--jiaap-site-header-height) - 2.5rem);
    max-height: calc(100vh - var(--jiaap-site-header-height) - 2.5rem);
}

.jiaap-hero-cover {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(360px, 38vw);
    max-height: inherit;
}

.jiaap-hero-cover-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(58vh, calc(100vh - var(--jiaap-site-header-height) - 3rem));
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.jiaap-hero-copy {
    min-width: 0;
}

@media (max-width: 900px) {
    :root {
        --jiaap-site-header-height: 88px;
    }

    .jiaap-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 1.25rem;
        padding-bottom: 1.75rem;
        max-height: none;
    }

    .jiaap-hero-cover-wrap {
        max-height: min(42vh, 320px);
        order: 0;
    }

    .jiaap-hero-cover {
        max-width: min(260px, 72vw);
    }

    .jiaap-hero-cover-img {
        max-height: min(38vh, 300px);
        object-position: center center;
    }

    .jiaap-hero-copy {
        order: 1;
    }
}

@media (max-width: 640px) {
    :root {
        --jiaap-site-header-height: 120px;
    }
}

.jiaap-cover-placeholder {
    aspect-ratio: 3/4;
    max-height: 340px;
    margin: 0 auto;
    width: 100%;
    max-width: 260px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.15) 100%);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.jiaap-cover-placeholder small {
    font-size: 0.65rem;
    opacity: 0.95;
    letter-spacing: 0.06em;
}

.jiaap-cover-placeholder .jiaap-cover-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0.75rem 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.jiaap-badge {
    display: inline-block;
    background: rgba(253, 224, 71, 0.95);
    color: #78350f;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.jiaap-hero h1 {
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.jiaap-hero .jiaap-tagline {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    opacity: 0.96;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.jiaap-btn-hero {
    display: inline-block;
    background: var(--jiaap-cta);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
    transition: background 0.2s, transform 0.2s;
}

.jiaap-btn-hero:hover {
    background: var(--jiaap-cta-hover);
    transform: translateY(-1px);
}

.jiaap-announcement {
    background: #fff;
    text-align: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--apspa-border);
}

.jiaap-announcement p {
    margin: 0;
    font-weight: 700;
    color: var(--jiaap-heading);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.jiaap-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.jiaap-section h2 {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    color: var(--jiaap-heading);
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.jiaap-section .jiaap-prose {
    color: var(--apspa-text-muted);
    line-height: 1.85;
    font-size: 1rem;
}

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

.jiaap-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jiaap-post-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--apspa-border);
}

.jiaap-post-list li:last-child {
    border-bottom: none;
}

.jiaap-post-list a.title {
    font-weight: 700;
    color: var(--apspa-primary);
    text-decoration: none;
    font-size: 1.05rem;
}

.jiaap-post-list a.title:hover {
    color: var(--apspa-secondary);
}

.jiaap-post-meta {
    font-size: 0.85rem;
    color: var(--apspa-text-muted);
    margin-top: 0.35rem;
}

.jiaap-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .jiaap-two-col {
        grid-template-columns: 1fr;
    }
}

.jiaap-muted-note {
    font-size: 0.875rem;
    color: var(--apspa-text-muted);
    margin-top: 1rem;
}

/* —— From the Editor’s Desk —— */
.jiaap-editor-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 1.5rem 3.5rem;
}

.jiaap-editor-panel {
    background: var(--apspa-bg);
    border: 1px solid var(--apspa-border);
    border-radius: 12px;
    box-shadow: var(--apspa-shadow-sm);
    overflow: hidden;
}

.jiaap-editor-grid {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 0;
    align-items: stretch;
}

@media (max-width: 900px) {
    .jiaap-editor-grid {
        grid-template-columns: 1fr;
    }
}

.jiaap-editor-photo-slot {
    background: linear-gradient(160deg, var(--apspa-bg-alt) 0%, #e2e8f0 100%);
    border-right: 1px solid var(--apspa-border);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

@media (max-width: 900px) {
    .jiaap-editor-photo-slot {
        border-right: none;
        border-bottom: 1px solid var(--apspa-border);
        min-height: 220px;
    }
}

.jiaap-editor-photo-slot-inner {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 5;
    border: 2px dashed rgba(15, 23, 42, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.jiaap-editor-photo-slot-inner .jiaap-placeholder-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--apspa-text-muted);
    line-height: 1.45;
}

.jiaap-editor-photo-slot-inner .jiaap-placeholder-hint {
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: 0.72rem;
    opacity: 0.85;
}

.jiaap-editor-photo-frame {
    margin: 0;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.jiaap-editor-photo-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.jiaap-editor-body {
    padding: 2rem 2rem 2.25rem 2.25rem;
}

@media (max-width: 900px) {
    .jiaap-editor-body {
        padding: 1.75rem 1.5rem 2rem;
    }
}

.jiaap-editor-body .jiaap-section-heading {
    margin-bottom: 1.5rem;
}

.jiaap-section-heading {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.jiaap-editor-body .jiaap-prose {
    font-size: 1rem;
    line-height: 1.82;
    color: #334155;
}

.jiaap-editor-body .jiaap-prose p + p {
    margin-top: 1.1rem;
}

.jiaap-editor-signature {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--apspa-border);
    font-weight: 600;
    color: var(--jiaap-heading);
}

.jiaap-editor-signature .jiaap-role {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--apspa-text-muted);
    margin-top: 0.25rem;
}

/* —— About the Journal —— */
.jiaap-about-section {
    background: linear-gradient(180deg, var(--apspa-bg-alt) 0%, #f1f5f9 100%);
    border-top: 1px solid var(--apspa-border);
    border-bottom: 1px solid var(--apspa-border);
    padding: 3.5rem 1.5rem 4rem;
}

.jiaap-about-inner {
    max-width: 900px;
    margin: 0 auto;
}

.jiaap-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--apspa-secondary);
    margin-bottom: 0.5rem;
}

.jiaap-about-inner > h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.jiaap-about-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1.25rem;
}

.jiaap-about-inner .jiaap-prose {
    color: #475569;
    line-height: 1.82;
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.jiaap-about-subheading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--jiaap-heading);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.jiaap-about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jiaap-about-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 10px;
    box-shadow: var(--apspa-shadow-sm);
}

.jiaap-about-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-top: 0.55rem;
    border-radius: 1px;
    background: var(--apspa-secondary);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.jiaap-about-list .jiaap-about-item-text {
    flex: 1;
    min-width: 0;
}

.jiaap-about-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--jiaap-heading);
    margin-bottom: 0.35rem;
}

.jiaap-about-list span.desc {
    font-size: 0.92rem;
    color: var(--apspa-text-muted);
    line-height: 1.65;
    display: block;
}

/* About — History: distinguished presidents & editors tables */
.jiaap-history-records {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--apspa-border);
}

.jiaap-history-table-block {
    margin-bottom: 3rem;
}

.jiaap-history-table-block:last-child {
    margin-bottom: 0;
}

.jiaap-history-table-title {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.jiaap-history-table-sub {
    font-weight: 600;
    font-size: 0.95em;
    color: var(--apspa-text-muted);
}

.jiaap-history-table-intro {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 52rem;
}

.jiaap-history-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid var(--apspa-border);
    background: #fff;
    box-shadow: var(--apspa-shadow-sm);
}

.jiaap-history-table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    font-size: 0.94rem;
    line-height: 1.5;
}

.jiaap-history-table thead {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.jiaap-history-table th {
    text-align: left;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apspa-secondary);
    padding: 0.85rem 1.1rem;
    border-bottom: 2px solid var(--apspa-border);
    white-space: nowrap;
}

.jiaap-history-table td {
    padding: 0.75rem 1.1rem;
    color: #334155;
    vertical-align: top;
    border-bottom: 1px solid #e2e8f0;
}

.jiaap-history-table td:first-child {
    font-variant-numeric: tabular-nums;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
    width: 1%;
}

.jiaap-history-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.jiaap-history-table tbody tr:last-child td {
    border-bottom: none;
}

.jiaap-history-table tbody tr:hover td {
    background: rgba(14, 165, 233, 0.04);
}

@media (max-width: 520px) {
    .jiaap-history-table th,
    .jiaap-history-table td {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .jiaap-history-table td:first-child {
        white-space: normal;
    }
}

/* Inner pages (About) */
.jiaap-inner-page-top {
    scroll-margin-top: calc(var(--jiaap-site-header-height, 72px) + 1rem);
}

#aims-scope-heading,
#objectives-heading,
#indexing-heading,
#ethics-heading,
#coi-heading {
    scroll-margin-top: calc(var(--jiaap-site-header-height, 72px) + 1rem);
}

.jiaap-placeholder-footnote {
    margin-top: 2rem;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--apspa-secondary);
}

.jiaap-page-title {
    font-size: clamp(1.75rem, 3vw, 2.15rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.jiaap-formal-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--apspa-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.45;
}

/* Nav: current item inside dropdown */
.apspa-nav-dropdown-menu li a.active {
    font-weight: 700;
    color: var(--apspa-secondary);
    background: rgba(14, 165, 233, 0.08);
}

/* Policy pages */
.jiaap-policy-page {
    max-width: 800px;
}

.jiaap-policy-block {
    margin-top: 1.75rem;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 10px;
    box-shadow: var(--apspa-shadow-sm);
}

.jiaap-policy-block:first-of-type {
    margin-top: 0.5rem;
}

.jiaap-policy-item-title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.jiaap-policy-block .jiaap-prose {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
}

.jiaap-policy-block .jiaap-prose + .jiaap-prose {
    margin-top: 1rem;
}

.jiaap-policy-recommendation {
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--apspa-primary);
}

.jiaap-policy-bracket {
    font-weight: 600;
    color: var(--apspa-secondary);
}

.jiaap-aims-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jiaap-aims-list li {
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 10px;
    box-shadow: var(--apspa-shadow-sm);
    border-left: 4px solid var(--apspa-secondary);
}

.jiaap-aims-list strong {
    display: block;
    font-size: 1rem;
    color: var(--jiaap-heading);
    margin-bottom: 0.5rem;
}

.jiaap-aims-list li span {
    display: block;
    font-size: 0.95rem;
    color: var(--apspa-text-muted);
    line-height: 1.72;
}

.jiaap-aims-list--simple li {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #334155;
    padding: 1rem 1.25rem 1rem 2.75rem;
    position: relative;
    border-left: 1px solid var(--apspa-border);
}

.jiaap-aims-list--simple li::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 1.2rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--apspa-primary);
}

/* Objectives page: plain list (no card boxes) */
.jiaap-objectives-list {
    list-style: disc;
    margin: 0.5rem 0 0;
    padding: 0 0 0 1.35rem;
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.75;
}

.jiaap-objectives-list li {
    margin: 0 0 0.75rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.jiaap-objectives-list li::marker {
    color: var(--apspa-primary);
}

/* —— Home: Editorial board marquee —— */
.jiaap-board-section {
    position: relative;
    background: linear-gradient(160deg, #0c4a6e 0%, #0e7490 45%, #0f766e 100%);
    background-image: repeating-linear-gradient(
            -12deg,
            rgba(255, 255, 255, 0.04) 0,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px,
            transparent 14px
        ),
        linear-gradient(160deg, #0c4a6e 0%, #0e7490 50%, #0f766e 100%);
    padding: 2.5rem 0 3.5rem;
    overflow: hidden;
}

.jiaap-board-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 1.75rem;
    text-align: center;
}

.jiaap-board-heading {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.jiaap-board-intro {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.jiaap-board-intro a {
    color: #fde68a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jiaap-board-intro a:hover {
    color: #fff;
}

.jiaap-board-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.jiaap-board-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    padding: 0.5rem 1rem 2rem;
    animation: jiaapBoardMarquee 55s linear infinite;
}

.jiaap-board-track:hover {
    animation-play-state: paused;
}

@keyframes jiaapBoardMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.jiaap-board-card {
    position: relative;
    flex-shrink: 0;
    width: min(300px, 85vw);
    min-height: 280px;
    padding: 1.25rem 1.25rem 2.5rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.jiaap-board-card-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.jiaap-board-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--apspa-primary) 0%, #0369a1 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(12, 74, 110, 0.35);
}

.jiaap-board-avatar--photo {
    padding: 0;
    overflow: hidden;
    background: #e2e8f0;
}

.jiaap-board-avatar--photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.jiaap-board-card-titles {
    min-width: 0;
}

.jiaap-board-name {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--jiaap-heading);
    line-height: 1.25;
}

.jiaap-board-role {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--apspa-primary);
}

.jiaap-board-role span {
    display: inline-block;
    padding-bottom: 0.25rem;
    border-bottom: 3px solid #fbbf24;
}

.jiaap-board-bio {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.68;
    color: #475569;
}

.jiaap-board-quote-foot {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
}

.jiaap-board-quote-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ea580c;
    color: #fff;
    font-size: 1rem;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .jiaap-board-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* —— Home: Enquiry strip —— */
.jiaap-enquiry-section {
    background: #f9f8f5;
    border-top: 1px solid var(--apspa-border);
    padding: 2.75rem 1.5rem 3rem;
}

.jiaap-enquiry-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(200px, 0.75fr);
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .jiaap-enquiry-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .jiaap-enquiry-visual {
        min-height: 180px;
        order: -1;
    }
}

.jiaap-enquiry-title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 800;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.jiaap-enquiry-schedule {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: #888;
    line-height: 1.5;
}

.jiaap-enquiry-highlight {
    margin: 0 0 1.25rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: #e07a5f;
    line-height: 1.55;
    max-width: 36rem;
}

.jiaap-enquiry-phone {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: 0.01em;
}

.jiaap-enquiry-emails {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}

.jiaap-enquiry-emails a {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--apspa-primary);
    text-decoration: none;
}

.jiaap-enquiry-emails a:hover {
    text-decoration: underline;
    color: var(--apspa-secondary);
}

.jiaap-enquiry-address {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 28rem;
}

.jiaap-enquiry-visual {
    margin: 0;
    position: relative;
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.jiaap-enquiry-visual-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
}

/* —— Home: Recent articles (last 3) —— */
.jiaap-recent-section {
    background: #fff;
    border-top: 1px solid var(--apspa-border);
    padding: 3rem 1.5rem 3.5rem;
}

.jiaap-recent-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.jiaap-recent-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.jiaap-recent-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--jiaap-heading, #1e293b);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.jiaap-recent-sub {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.jiaap-recent-empty {
    margin: 0;
    text-align: center;
    padding: 2.5rem 1.25rem;
    font-size: 0.95rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
}

.jiaap-recent-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .jiaap-recent-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.jiaap-recent-card {
    margin: 0;
    min-height: 100%;
}

.jiaap-recent-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 1.35rem 1.25rem 1.15rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jiaap-recent-card-link:hover {
    border-color: rgba(11, 122, 179, 0.35);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.jiaap-recent-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--apspa-primary);
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 6px;
}

.jiaap-recent-card-title {
    margin: 0 0 0.65rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--jiaap-heading, #1e293b);
    line-height: 1.35;
    flex-grow: 0;
}

.jiaap-recent-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.jiaap-recent-card-cat {
    color: var(--apspa-primary);
    font-weight: 700;
}

.jiaap-recent-card-meta time {
    font-weight: 600;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
}

.jiaap-recent-card-excerpt {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #475569;
    flex-grow: 1;
}

.jiaap-recent-card-cta {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--apspa-primary);
}

.jiaap-recent-card-link:hover .jiaap-recent-card-cta {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jiaap-recent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: 2.25rem;
    padding-top: 0.25rem;
}

.jiaap-recent-btn-primary,
.jiaap-recent-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jiaap-recent-btn-primary {
    color: #fff;
    background: var(--apspa-primary);
    border: 1px solid transparent;
}

.jiaap-recent-btn-primary:hover {
    background: #0369a1;
    color: #fff;
}

.jiaap-recent-btn-secondary {
    color: var(--apspa-primary);
    background: #fff;
    border: 1px solid #cbd5e1;
}

.jiaap-recent-btn-secondary:hover {
    border-color: var(--apspa-primary);
    background: #f8fafc;
}

/* —— Author: submission guidelines —— */
.jiaap-guidelines-inner {
    max-width: 820px;
}

.jiaap-guidelines-section {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--apspa-border);
}

.jiaap-guidelines-section:first-of-type {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

.jiaap-guidelines-h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
}

.jiaap-guidelines-section .jiaap-prose {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.78;
    color: #475569;
}

.jiaap-guidelines-section .jiaap-prose:last-child {
    margin-bottom: 0;
}

.jiaap-guidelines-section--policy {
    padding: 1.35rem 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--apspa-border);
    border-radius: 10px;
    background: #fafbfc;
    border-top: 1px solid var(--apspa-border);
}

.jiaap-guidelines-section--policy .jiaap-guidelines-h2 {
    margin-bottom: 0.65rem;
}

.jiaap-structured-abstract-sample {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
}

.jiaap-structured-abstract-sample-title {
    margin: 0 0 0.6rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.jiaap-structured-abstract-sample p {
    margin: 0 0 0.45rem;
}

.jiaap-guidelines-footnote {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

ul.jiaap-author-faq-links {
    margin: 0;
    padding-left: 1.2rem;
    color: #475569;
    line-height: 1.85;
    font-size: 0.98rem;
}

ul.jiaap-author-faq-links a {
    color: var(--apspa-primary);
    font-weight: 600;
    text-decoration: none;
}

ul.jiaap-author-faq-links a:hover {
    text-decoration: underline;
}

/* —— Author: submission portal form —— */
.jiaap-author-portal-body {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    max-width: 720px;
}

.jiaap-submit-form-wrap {
    width: 100%;
}

.jiaap-submit-flash {
    margin-bottom: 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}

.jiaap-submit-flash--success {
    background: #22c55e;
    color: #fff;
}

.jiaap-submit-flash--error {
    background: #fef2f2;
    color: #b91c1c;
}

.jiaap-submit-flash ul {
    margin: 0;
    padding-left: 1.15rem;
}

.jiaap-submit-form {
    padding: 2rem 2.25rem;
    border: 1px solid var(--apspa-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.jiaap-submit-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .jiaap-submit-form-row {
        grid-template-columns: 1fr;
    }
}

.jiaap-submit-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.jiaap-submit-field label {
    font-weight: 700;
    font-size: 0.84rem;
    color: #334155;
}

.jiaap-req {
    color: #ea580c;
}

.jiaap-submit-field input[type='text'],
.jiaap-submit-field input[type='email'],
.jiaap-submit-field textarea {
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fafafa;
    outline: none;
}

.jiaap-submit-field textarea {
    resize: vertical;
    min-height: 120px;
}

.jiaap-submit-field input[type='file'] {
    font-size: 0.88rem;
}

.jiaap-submit-hint {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
}

.jiaap-submit-btn {
    margin-top: 0.25rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    background: var(--apspa-primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.jiaap-submit-btn:hover {
    filter: brightness(1.05);
}

.jiaap-submit-form-brand {
    margin-top: 1.75rem;
    padding: 1.35rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.jiaap-submit-form-logo {
    display: inline-block;
    max-width: min(300px, 100%);
    width: auto;
    height: auto;
    vertical-align: middle;
}

.jiaap-submit-note {
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

/* —— Submission guidelines (long-form) —— */
.jiaap-inst-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 45%, #0f766e 100%);
    padding: 2.75rem 1.5rem 3.25rem;
    color: #fff;
}

.jiaap-inst-hero--title-only {
    padding: 2.25rem 1.5rem 2.5rem;
}

.jiaap-inst-hero--title-only .jiaap-inst-hero-title {
    margin: 0;
}

.jiaap-inst-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.jiaap-inst-hero-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.jiaap-inst-hero-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.jiaap-inst-hero-lead a {
    color: #fde68a;
    font-weight: 600;
}

.jiaap-inst-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

.jiaap-inst-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    justify-content: center;
    padding: 1.25rem 0 1.75rem;
    position: sticky;
    top: calc(var(--jiaap-site-header-height, 72px) - 1px);
    z-index: 3;
    background: linear-gradient(180deg, #f8fafc 70%, rgba(248, 250, 252, 0.92));
    border-bottom: 1px solid var(--apspa-border);
    margin: 0 -1.25rem 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.jiaap-inst-toc a {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apspa-primary);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.jiaap-inst-toc a:hover {
    border-color: var(--apspa-primary);
    background: #f0f9ff;
}

.jiaap-inst-figure-placeholder {
    margin: 0 0 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.9rem;
}

.jiaap-inst-figure-placeholder code {
    font-size: 0.82rem;
    background: #e2e8f0;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.jiaap-inst-banner {
    margin: 0 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.jiaap-inst-banner img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.jiaap-inst-layout {
    width: 100%;
}

.jiaap-inst-main {
    scroll-margin-top: calc(var(--jiaap-site-header-height, 72px) + 1rem);
}

.jiaap-inst-intro-with-cover {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 38%);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    margin-bottom: 2rem;
}

.jiaap-inst-intro-copy {
    min-width: 0;
}

.jiaap-inst-intro-with-cover .jiaap-inst-lead {
    margin-bottom: 0;
}

.jiaap-inst-cover-figure {
    margin: 0;
    min-width: 0;
}

.jiaap-inst-cover-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 900px) {
    .jiaap-inst-intro-with-cover {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .jiaap-inst-cover-figure {
        max-width: min(520px, 100%);
        margin-inline: auto;
    }
}

.jiaap-inst-lead {
    font-size: 1.05rem;
    line-height: 1.82;
    color: #334155;
    margin: 0 0 2rem;
}

.jiaap-inst-h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    scroll-margin-top: calc(var(--jiaap-site-header-height, 72px) + 3rem);
}

.jiaap-inst-h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--jiaap-heading);
    margin: 0 0 0.65rem;
}

.jiaap-inst-section {
    margin-bottom: 2.75rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.jiaap-inst-section:last-of-type {
    border-bottom: none;
}

.jiaap-inst-p {
    font-size: 0.98rem;
    line-height: 1.78;
    color: #475569;
    margin: 0 0 1rem;
}

.jiaap-inst-p.small {
    font-size: 0.9rem;
}

.jiaap-inst-note {
    margin: -0.35rem 0 1rem;
    font-size: 0.88rem;
    color: #64748b;
    font-style: italic;
}

.jiaap-inst-small {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0.75rem 0 0;
    line-height: 1.55;
}

.jiaap-inst-panel {
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--apspa-border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    margin-bottom: 2.5rem;
}

.jiaap-inst-pill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .jiaap-inst-pill-list {
        grid-template-columns: 1fr 1fr;
    }
}

.jiaap-inst-pill-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.jiaap-inst-pill-list span:first-child {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: var(--apspa-primary);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.jiaap-inst-pill-list a {
    color: var(--apspa-primary);
    font-weight: 700;
    text-decoration: none;
}

.jiaap-inst-pill-list a:hover {
    text-decoration: underline;
}

.jiaap-inst-stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .jiaap-inst-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jiaap-inst-stat-card {
    position: relative;
    padding: 1.35rem 1.25rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--apspa-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.jiaap-inst-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apspa-secondary);
    margin-bottom: 0.5rem;
}

.jiaap-inst-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--jiaap-heading);
    line-height: 1;
    letter-spacing: -0.03em;
}

.jiaap-inst-stat-unit {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.jiaap-inst-stat-desc {
    margin: 0.85rem 0 0;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.5;
}

.jiaap-inst-online-card {
    padding: 1.35rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #ea580c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.jiaap-inst-online-card .jiaap-inst-h3 {
    margin-top: 0;
}

.jiaap-inst-link-strong {
    font-weight: 800;
    color: var(--apspa-primary);
}

.jiaap-inst-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.jiaap-inst-checklist li {
    position: relative;
    padding-left: 1.65rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

.jiaap-inst-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--apspa-primary), #0369a1);
    transform: rotate(45deg);
}

.jiaap-inst-timeline {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    border-left: 3px solid #e2e8f0;
    margin-left: 0.65rem;
}

.jiaap-inst-timeline li {
    position: relative;
    padding: 0 0 1.5rem 1.75rem;
}

.jiaap-inst-timeline li:last-child {
    padding-bottom: 0;
}

.jiaap-inst-tm-dot {
    position: absolute;
    left: -0.65rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--apspa-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.jiaap-inst-tm-title {
    display: block;
    font-size: 0.95rem;
    color: var(--jiaap-heading);
    margin-bottom: 0.35rem;
}

.jiaap-inst-timeline p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
}

.jiaap-inst-two-col {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .jiaap-inst-two-col {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}

.jiaap-inst-aside {
    padding: 1.15rem 1.25rem;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569;
}

.jiaap-inst-comp-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .jiaap-inst-comp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.jiaap-inst-comp-card {
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.jiaap-inst-comp-card--wide {
    grid-column: 1 / -1;
}

.jiaap-inst-comp-title {
    margin: 0 0 0.6rem;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--apspa-primary);
}

.jiaap-inst-comp-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #475569;
}

.jiaap-inst-comp-card p + p {
    margin-top: 0.65rem;
}

.jiaap-inst-callout {
    margin-top: 0.75rem !important;
    padding: 0.75rem 0.9rem;
    background: #eff6ff;
    border-radius: 8px;
    border-left: 3px solid var(--apspa-primary);
    font-size: 0.88rem !important;
}

.jiaap-inst-ref-group {
    margin-bottom: 1.75rem;
}

.jiaap-inst-ref-type {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.jiaap-inst-cite {
    margin: 0 0 0.65rem;
    padding: 1rem 1.15rem;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #334155;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #cbd5e1;
    font-style: normal;
}

.jiaap-inst-alert {
    padding: 1.15rem 1.25rem;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 10px;
}

.jiaap-inst-alert p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #713f12;
}

.jiaap-inst-editor-card {
    padding: 1.5rem 1.5rem 1.35rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-radius: 12px;
    border: 1px solid var(--apspa-border);
}

.jiaap-inst-address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #334155;
    margin: 1rem 0 0;
}

.jiaap-inst-address a {
    color: var(--apspa-primary);
    font-weight: 600;
}

.jiaap-inst-prose-block {
    padding: 1.35rem 1.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.jiaap-inst-prose-block p {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.78;
    color: #475569;
}

.jiaap-inst-prose-block p:last-child {
    margin-bottom: 0;
}

.jiaap-inst-submit-zone {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 60%);
    border: 1px solid #bae6fd;
}

.jiaap-inst-portal-cta {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    text-align: center;
}

.jiaap-inst-portal-cta p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #1e3a5f;
}

.jiaap-inst-portal-cta a {
    font-weight: 800;
    color: var(--apspa-primary);
}

.jiaap-inst-form-shell {
    margin-top: 1.5rem;
}

.jiaap-inst-form-shell .jiaap-submit-form {
    box-shadow: none;
}

@media (max-width: 640px) {
    .jiaap-inst-toc {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
}

/* —— Editorial board —— */
.jiaap-eb-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 45%, #0f766e 100%);
    padding: 2.5rem 1.5rem 2.75rem;
    color: #fff;
    text-align: center;
}

.jiaap-eb-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.jiaap-eb-hero-journal {
    margin: 0 0 0.5rem;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.01em;
}

.jiaap-eb-hero-title {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.jiaap-eb-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
}

.jiaap-eb-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .jiaap-eb-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.jiaap-eb-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.35rem 1.65rem;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.jiaap-eb-photo {
    order: -1;
    width: 88px;
    height: 88px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.jiaap-eb-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.jiaap-eb-role {
    order: 0;
    margin: 0 0 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--apspa-secondary);
}

.jiaap-eb-name {
    order: 1;
    margin: 0 0 0.85rem;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--jiaap-heading);
    line-height: 1.3;
}

.jiaap-eb-lines {
    order: 2;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
}

.jiaap-eb-consultants {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--apspa-border);
}

.jiaap-eb-consultants-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
}

.jiaap-eb-consultants-intro {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    max-width: 42rem;
}

.jiaap-eb-table-wrap {
    border-radius: 12px;
    border: 1px solid var(--apspa-border);
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.jiaap-eb-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #334155;
}

.jiaap-eb-table thead {
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
    border-bottom: 2px solid #cbd5e1;
}

.jiaap-eb-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #475569;
    white-space: nowrap;
}

.jiaap-eb-table td {
    padding: 0.85rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid #e2e8f0;
}

.jiaap-eb-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.jiaap-eb-table tbody tr:hover {
    background: #f0f9ff;
}

.jiaap-eb-th-code,
.jiaap-eb-td-code {
    width: 7rem;
}

.jiaap-eb-th-name,
.jiaap-eb-td-name {
    width: 14%;
    font-weight: 700;
    color: var(--jiaap-heading);
}

.jiaap-eb-th-details,
.jiaap-eb-td-details {
    min-width: 260px;
}

.jiaap-eb-th-contact,
.jiaap-eb-td-contact {
    width: 22%;
    min-width: 180px;
    word-break: break-word;
}

.jiaap-eb-code-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--apspa-primary);
    background: #e0f2fe;
    border-radius: 6px;
}

/* —— Current issue —— */
.jiaap-ci-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 45%, #0f766e 100%);
    padding: 2.25rem 1.25rem 2.6rem;
    color: #fff;
    text-align: center;
}

.jiaap-ci-hero-inner {
    max-width: 880px;
    margin: 0 auto;
}

.jiaap-ci-hero-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.jiaap-ci-hero-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.jiaap-ci-hero-sub {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.jiaap-ci-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4rem;
}

.jiaap-ci-issue-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--apspa-border);
}

.jiaap-ci-cover {
    flex-shrink: 0;
    width: 140px;
    min-height: 190px;
    border-radius: 10px;
    background: linear-gradient(165deg, #0c4a6e 0%, #0369a1 55%, #0f766e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem;
    box-shadow: 0 14px 36px rgba(12, 74, 110, 0.28);
    color: #fff;
    text-align: center;
}

.jiaap-ci-cover-issn {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.jiaap-ci-cover-mark {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.jiaap-ci-issue-meta {
    flex: 1;
    min-width: min(100%, 260px);
}

.jiaap-ci-issue-label {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--apspa-secondary);
}

.jiaap-ci-issue-name {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.jiaap-ci-issue-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 42rem;
}

.jiaap-ci-issue-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
}

.jiaap-ci-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0369a1;
    background: #e0f2fe;
    border-radius: 999px;
    border: 1px solid #bae6fd;
}

.jiaap-ci-count {
    font-size: 0.88rem;
    color: #64748b;
}

.jiaap-ci-toolbar {
    margin-bottom: 1.5rem;
}

.jiaap-ci-search {
    display: block;
    max-width: 420px;
}

.jiaap-ci-search-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.jiaap-ci-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    outline: none;
}

.jiaap-ci-search-input:focus {
    border-color: var(--apspa-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.jiaap-ci-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jiaap-ci-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.15rem 1.25rem;
    align-items: start;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jiaap-ci-card:hover {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.jiaap-ci-card-num {
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--apspa-primary);
    line-height: 1;
    min-width: 2.25rem;
    text-align: right;
    padding-top: 0.15rem;
}

.jiaap-ci-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.45rem;
}

.jiaap-ci-date {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.jiaap-ci-cat {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apspa-secondary);
}

.jiaap-ci-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.jiaap-ci-title a {
    color: var(--jiaap-heading);
    text-decoration: none;
}

.jiaap-ci-title a:hover {
    color: var(--apspa-primary);
}

.jiaap-ci-excerpt {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
}

.jiaap-ci-read {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--apspa-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jiaap-ci-read:hover {
    text-decoration: underline;
}

.jiaap-ci-no-results {
    text-align: center;
    padding: 2rem 1rem;
    color: #64748b;
    font-size: 0.95rem;
}

.jiaap-ci-pagination {
    margin-top: 2rem;
}

.jiaap-ci-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.jiaap-ci-empty--wide {
    max-width: 480px;
    margin: 0 auto;
}

.jiaap-ci-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--jiaap-heading);
}

.jiaap-ci-empty-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
}

.jiaap-ci-empty-text a {
    color: var(--apspa-primary);
    font-weight: 700;
}

/* Pagination (JIAAP) */
.jiaap-pg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .jiaap-pg {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.jiaap-pg-summary {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.jiaap-pg-summary-strong {
    font-weight: 800;
    color: var(--jiaap-heading);
}

.jiaap-pg-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jiaap-pg-list li {
    margin: 0;
}

.jiaap-pg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--apspa-primary);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-decoration: none;
}

.jiaap-pg-link:hover:not(.jiaap-pg-link--disabled):not(.jiaap-pg-link--current) {
    background: #f0f9ff;
    border-color: var(--apspa-primary);
}

.jiaap-pg-link--current {
    background: var(--apspa-primary);
    border-color: var(--apspa-primary);
    color: #fff;
    cursor: default;
}

.jiaap-pg-link--disabled {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: not-allowed;
}

.jiaap-pg-ellipsis {
    padding: 0 0.35rem;
    color: #94a3b8;
    font-weight: 700;
}

/* —— Back volumes —— */
.jiaap-bv-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4rem;
}

.jiaap-bv-intro {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--apspa-border);
    text-align: left;
}

.jiaap-bv-intro-label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--apspa-secondary);
}

.jiaap-bv-intro-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 800;
    color: var(--jiaap-heading);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.jiaap-bv-intro-text {
    margin: 0;
    max-width: 40rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

.jiaap-bv-intro-text strong {
    font-weight: 700;
    color: #475569;
}

.jiaap-bv-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jiaap-bv-card {
    background: #fff;
    border: 1px solid var(--apspa-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.jiaap-bv-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: background 0.15s ease;
}

.jiaap-bv-toggle:hover {
    background: #f8fafc;
}

.jiaap-bv-toggle:focus-visible {
    outline: 2px solid var(--apspa-primary);
    outline-offset: -2px;
}

.jiaap-bv-toggle-main {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-width: 0;
}

.jiaap-bv-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jiaap-bv-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.jiaap-bv-volume-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--jiaap-heading);
    line-height: 1.35;
}

.jiaap-bv-volume-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.jiaap-bv-toggle-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.jiaap-bv-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
}

.jiaap-bv-chevron {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.22s ease;
}

.jiaap-bv-card.is-open .jiaap-bv-chevron {
    transform: rotate(180deg);
    color: #64748b;
}

.jiaap-bv-panel {
    border-top: 1px solid #f1f5f9;
}

.jiaap-bv-panel[hidden] {
    display: none;
}

.jiaap-bv-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s ease;
}

.jiaap-bv-link:last-of-type {
    border-bottom: none;
}

.jiaap-bv-link:hover {
    background: #f8fafc;
}

.jiaap-bv-link:focus-visible {
    outline: 2px solid var(--apspa-primary);
    outline-offset: -2px;
}

.jiaap-bv-link-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.jiaap-bv-link-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--apspa-primary);
    line-height: 1.45;
}

.jiaap-bv-link-excerpt {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

.jiaap-bv-link-aside {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.jiaap-bv-link-date {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
}

.jiaap-bv-link-cta {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apspa-secondary);
}

.jiaap-bv-view-all {
    display: block;
    padding: 0.9rem 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--apspa-secondary);
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    transition: background 0.15s ease, color 0.15s ease;
}

.jiaap-bv-view-all:hover {
    background: #f1f5f9;
    color: var(--apspa-primary);
}

.jiaap-bv-empty {
    text-align: center;
    padding: 3.5rem 1rem;
    color: #64748b;
}

.jiaap-bv-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    opacity: 0.35;
    color: #94a3b8;
}

.jiaap-bv-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--jiaap-heading);
}

.jiaap-bv-empty-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 26rem;
    margin-inline: auto;
}

.jiaap-bv-empty-text a {
    font-weight: 700;
    color: var(--apspa-secondary);
}

.jiaap-bv-empty-text a:hover {
    color: var(--apspa-primary);
}

.jiaap-bv-pagination {
    margin-top: 2rem;
}

/* —— Contact —— */
.jiaap-contact-page {
    background: #f4f4f1;
}

.jiaap-contact-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.75rem 1.25rem 3.5rem;
}

.jiaap-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem 3.5rem;
    align-items: start;
}

@media (max-width: 960px) {
    .jiaap-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.jiaap-contact-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
}

.jiaap-contact-kicker::after {
    content: '';
    display: block;
    width: 2.25rem;
    height: 2px;
    margin-top: 0.5rem;
    background: #facc15;
    border-radius: 1px;
}

.jiaap-contact-heading {
    margin: 0 0 2rem;
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
}

.jiaap-contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jiaap-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.jiaap-contact-row:first-of-type {
    padding-top: 0;
}

.jiaap-contact-row--multiline {
    align-items: flex-start;
}

.jiaap-contact-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5e43;
}

.jiaap-contact-value {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    padding-top: 0.15rem;
}

a.jiaap-contact-value:hover {
    color: #ff5e43;
}

.jiaap-contact-value--address {
    font-weight: 500;
}

.jiaap-contact-social-label {
    margin: 2rem 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.jiaap-contact-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.jiaap-contact-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8e8e4;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.jiaap-contact-social-btn:hover {
    background: #dddcd6;
    color: #0f172a;
    transform: translateY(-1px);
}

.jiaap-contact-form-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    padding: 2rem 2.25rem 2.25rem;
}

@media (max-width: 520px) {
    .jiaap-contact-form-card {
        padding: 1.5rem 1.25rem 1.75rem;
    }
}

.jiaap-contact-alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.35rem;
}

.jiaap-contact-alert--success {
    background: #dcfce7;
    color: #166534;
}

.jiaap-contact-alert--error {
    background: #fef2f2;
    color: #b91c1c;
}

.jiaap-contact-error-list {
    margin: 0;
    padding-left: 1.15rem;
}

.jiaap-contact-form {
    margin: 0;
}

.jiaap-contact-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.75rem;
}

@media (max-width: 640px) {
    .jiaap-contact-row2 {
        grid-template-columns: 1fr;
    }
}

.jiaap-contact-field {
    margin-bottom: 1.35rem;
}

.jiaap-contact-field--file {
    margin-bottom: 1.5rem;
}

.jiaap-contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.jiaap-contact-req {
    color: #ff5e43;
    font-weight: 700;
}

.jiaap-contact-opt {
    font-weight: 500;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: normal;
}

.jiaap-contact-line {
    position: relative;
    padding-bottom: 0.35rem;
}

.jiaap-contact-line::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 2px;
    background: #ff5e43;
    z-index: 1;
}

.jiaap-contact-line::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #cbd5e1;
}

.jiaap-contact-input {
    display: block;
    width: 100%;
    border: none;
    padding: 0.5rem 0;
    font-size: 0.98rem;
    font-family: inherit;
    color: #0f172a;
    background: transparent;
    border-radius: 0;
}

.jiaap-contact-input::placeholder {
    color: #94a3b8;
}

.jiaap-contact-input:focus {
    outline: none;
}

.jiaap-contact-field:focus-within .jiaap-contact-line::before {
    width: 3.5rem;
    transition: width 0.2s ease;
}

.jiaap-contact-line--textarea {
    padding-bottom: 0.15rem;
}

.jiaap-contact-line--textarea .jiaap-contact-input {
    min-height: 7rem;
    resize: vertical;
    line-height: 1.55;
}

.jiaap-contact-hint {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.jiaap-contact-file {
    width: 100%;
    font-size: 0.88rem;
    color: #475569;
}

.jiaap-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: #ff5e43;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 94, 67, 0.35);
    transition: background 0.15s ease, transform 0.15s ease;
}

.jiaap-contact-submit:hover {
    background: #e54d36;
}

.jiaap-contact-submit:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
}

.jiaap-contact-map-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

.jiaap-contact-map-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.jiaap-contact-map-caption {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
    max-width: 40rem;
}

.jiaap-contact-map-frame {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
    background: #e2e8f0;
    aspect-ratio: 16 / 9;
    min-height: 280px;
}

.jiaap-contact-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* —— Auth (login, register, password) —— */
.jiaap-auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Roboto', system-ui, sans-serif;
    background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 45%, #cbd5e1 100%);
    color: #0f172a;
}

.jiaap-auth-wrap {
    max-width: 440px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.25rem 2.5rem;
    box-sizing: border-box;
}

.jiaap-auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.jiaap-auth-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
}

.jiaap-auth-brand-img {
    height: 44px;
    width: auto;
}

.jiaap-auth-logo {
    font-size: 1.65rem;
}

.jiaap-auth-tagline {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 500;
    max-width: 22rem;
    margin-inline: auto;
}

.jiaap-auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
    padding: 2rem 1.75rem;
}

.jiaap-auth-title {
    margin: 0 0 0.5rem;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--jiaap-heading);
}

.jiaap-auth-lead {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

.jiaap-auth-form {
    margin: 0;
}

.jiaap-auth-field {
    margin-bottom: 1.15rem;
}

.jiaap-auth-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.4rem;
}

.jiaap-auth-req {
    color: var(--apspa-secondary);
}

.jiaap-auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jiaap-auth-input:focus {
    outline: none;
    border-color: var(--apspa-primary);
    box-shadow: 0 0 0 3px rgba(0, 45, 98, 0.15);
}

.jiaap-auth-input--error {
    border-color: #dc2626;
}

.jiaap-auth-error {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #b91c1c;
}

.jiaap-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.jiaap-auth-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: var(--apspa-primary);
    cursor: pointer;
}

.jiaap-auth-checkbox-label {
    font-size: 0.88rem;
    color: #475569;
    cursor: pointer;
}

.jiaap-auth-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem 1.25rem;
    margin-top: 0.25rem;
}

.jiaap-auth-row--split {
    justify-content: space-between;
}

.jiaap-auth-row--end {
    justify-content: flex-end;
}

.jiaap-auth-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--apspa-primary);
    text-decoration: none;
}

.jiaap-auth-link:hover {
    text-decoration: underline;
}

.jiaap-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: var(--apspa-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 45, 98, 0.25);
    transition: background 0.15s ease, transform 0.1s ease;
}

.jiaap-auth-submit:hover {
    background: var(--apspa-primary-dark);
}

.jiaap-auth-submit:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
}

.jiaap-auth-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.jiaap-auth-btn-secondary:hover {
    background: #e2e8f0;
}

.jiaap-auth-flash {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.jiaap-auth-flash--success {
    background: #dcfce7;
    color: #166534;
}

.jiaap-auth-back {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.88rem;
}

.jiaap-auth-back a {
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
}

.jiaap-auth-back a:hover {
    color: var(--apspa-primary);
    text-decoration: underline;
}

.jiaap-auth-verify-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.jiaap-auth-inline-form {
    margin: 0;
}

.jiaap-auth-inline-form .jiaap-auth-submit,
.jiaap-auth-inline-form .jiaap-auth-btn-secondary {
    width: 100%;
}

@media (min-width: 420px) {
    .jiaap-auth-verify-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem 1rem;
    }

    .jiaap-auth-inline-form .jiaap-auth-submit,
    .jiaap-auth-inline-form .jiaap-auth-btn-secondary {
        width: auto;
    }
}

@media (max-width: 520px) {
    .jiaap-ci-card {
        grid-template-columns: 1fr;
    }

    .jiaap-ci-card-num {
        text-align: left;
        padding-top: 0;
        font-size: 1rem;
        opacity: 0.85;
    }
}
