@font-face {
    font-family: "Playfair Display";
    src: url("../../../web_fonts/PlayfairDisplay-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../../../web_fonts/PlayfairDisplay-Bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700 900;
    font-display: swap;
}

.jp-about-page,
.jp-about-page * {
    box-sizing: border-box;
}

.jp-tpl-page,
.jp-tpl-page * {
    box-sizing: border-box;
}

.jp-tpl-page {
    --jp-tpl-blue: #009cff;
    --jp-tpl-ink: #101115;
    --jp-tpl-muted: #6f737d;
    --jp-tpl-line: rgba(16, 17, 21, 0.08);
    --jp-tpl-soft: #f7f9fc;
    --jp-tpl-dark: #111013;
    color: var(--jp-tpl-ink);
    background: #ffffff;
    font-family: "Space Grotesk", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jp-tpl-page h1,
.jp-tpl-page h2,
.jp-tpl-page h3,
.jp-tpl-page h4,
.jp-tpl-page h5,
.jp-tpl-page h6 {
    font-family: "Playfair Display", "Playfair", Georgia, serif;
    letter-spacing: 0;
}

.jp-tpl-page a {
    text-decoration: none;
}

.jp-tpl-container {
    width: min(100% - 40px, 980px);
    margin-right: auto;
    margin-left: auto;
}

.jp-tpl-container--wide {
    width: min(100% - 40px, 1160px);
}

.jp-tpl-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--jp-tpl-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.jp-tpl-heading {
    margin: 0;
    color: var(--jp-tpl-ink);
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.08;
}

.jp-tpl-heading--sm {
    font-size: clamp(24px, 3vw, 38px);
}

.jp-tpl-text {
    margin: 0;
    color: var(--jp-tpl-muted);
    font-size: 15px;
    line-height: 1.75;
}

.jp-tpl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: "Space Grotesk", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jp-tpl-btn:hover,
.jp-tpl-btn:focus {
    transform: translateY(-1px);
    text-decoration: none;
}

.jp-tpl-btn--blue {
    background: var(--jp-tpl-blue);
    border-color: var(--jp-tpl-blue);
    color: #ffffff;
}

.jp-tpl-btn--blue:hover,
.jp-tpl-btn--blue:focus {
    background: #008de8;
    border-color: #008de8;
    color: #ffffff;
}

.jp-tpl-link {
    color: var(--jp-tpl-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.jp-tpl-link:hover,
.jp-tpl-link:focus {
    color: var(--jp-tpl-blue);
}

.jp-tpl-grid-lines {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    pointer-events: none;
}

.jp-tpl-grid-lines span {
    border-left: 1px solid rgba(16, 17, 21, 0.05);
}

body.dark-scheme .jp-tpl-page {
    --jp-tpl-ink: #ffffff;
    --jp-tpl-muted: rgba(255, 255, 255, 0.72);
    --jp-tpl-line: rgba(255, 255, 255, 0.09);
    --jp-tpl-soft: #161c21;
    background: #161c21;
    color: #ffffff;
}

body.dark-scheme .jp-tpl-grid-lines span {
    border-left-color: rgba(255, 255, 255, 0.05);
}

body.dark-scheme .jp-tpl-link {
    color: #ffffff;
}

body.dark-scheme .jp-tpl-link:hover,
body.dark-scheme .jp-tpl-link:focus {
    color: var(--jp-tpl-blue);
}

@media (max-width: 767.98px) {
    .jp-tpl-container,
    .jp-tpl-container--wide {
        width: min(100% - 32px, 980px);
    }

    .jp-tpl-btn {
        width: 100%;
        max-width: 220px;
    }
}

/* Research Community Section */
.jp-about-community {
    position: relative;
    background-image: url('https://images.journalspress.com/2026/06/pexels-books-128158111.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.jp-about-community__container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.page-template-templates .btn {
    background-color: #000 !important;
    padding: 15px 20px !important;
}

.page-template-templates .jp-about-banner .btn {
    background-color: #0095ff !important;
    border-color: #0095ff !important;
    color: #ffffff !important;
}

.page-template-templates .jp-about-banner .btn:hover,
.page-template-templates .jp-about-banner .btn:focus {
    background-color: #0095ff !important;
    border-color: #0095ff !important;
    color: #ffffff !important;
}

/* Recent Articles Section */
.jp-about-recent-articles {
    padding: 80px 0;
}

.jp-about-community__card {
    background: #ffffff;
    border-radius: 40px;
    padding: 48px;
    max-width: 580px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.jp-about-community__subtitle {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111013;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.jp-about-community__title {
    font-family: "Playfair Display", "Playfair", "Georgia", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    color: #111013;
    margin-top: 0;
    margin-bottom: 24px;
}

.jp-about-community__title .text-blue {
    color: #0095ff;
}

.jp-about-community__text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4d;
    margin-bottom: 24px;
}

.jp-about-community__subheading {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111013;
    margin-top: 24px;
    margin-bottom: 12px;
}

.jp-about-community__actions {
    margin-top: 32px;
}

.jp-about-capabilities .gj-publish-book-panel-copy {
    margin-right: auto;
    margin-left: 50px;
}

.jp-about-capabilities .gj-publish-book-panel-title {
    font-size: clamp(24px, 3vw, 38px) !important;
    line-height: 1.15;
}

.jp-about-banner {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .42) 42%, rgba(0, 0, 0, .12) 100%), var(--jp-about-banner-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jp-about-banner__container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.jp-about-banner__content {
    max-width: 730px;
    padding: 120px 0;
}

.jp-about-banner__content h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
}

.jp-about-banner__content p {
    margin: 0 0 26px;
    color: #ffffff;
    line-height: 1.85;
    font-size: clamp(14px, 1.1vw, 17px);
}

.jp-about-capabilities {
    background: #111013;
}

.jp-about-capabilities__heading {
    padding-top: 58px;
    padding-bottom: 36px;
}

.jp-about-capabilities__heading .gj-publish-book-panel-title {
    max-width: 460px;
    margin-bottom: 0;
}

.jp-about-page .gj-publish-book-reasons-layout {
    padding-top: 0;
}

.jp-about-page .gj-publish-book-panel-copy-wrap {
    background: #232325;
}

.jp-about-page .gj-publish-book-panel-copy {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.jp-about-page .gj-publish-book-panel-copy .gj-publish-book-panel-title::after {
    display: none !important;
}

.jp-about-capabilities .gj-publish-book-reasons-layout figure img {
    min-height: auto !important;
    height: calc(100% - 15%) !important;
}

.jp-about-page .gj-publish-book-panel-copy p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.75;
}

.jp-about-capabilities__dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1e1e20;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .05);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-bottom: 20px;
}

/* Pseudo-elements for smooth expanding ripple waves */
.jp-about-capabilities__dot::before,
.jp-about-capabilities__dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: scale(1);
}

/* Trigger animation on column/panel hover */
.gj-publish-book-panel-copy-wrap:hover .jp-about-capabilities__dot {
    transform: scale(1.05);
}

.gj-publish-book-panel-copy-wrap:hover .jp-about-capabilities__dot::before {
    animation: dotWave 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.gj-publish-book-panel-copy-wrap:hover .jp-about-capabilities__dot::after {
    animation: dotWave 2.2s infinite cubic-bezier(0.16, 1, 0.3, 1);
    animation-delay: 1.1s;
    /* sequential wave delay */
}

@keyframes dotWave {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}


.jp-about-associations {
    position: relative;
    padding: clamp(70px, 8vw, 118px) 0;
    background: #ffffff;
    color: #161318;
}

/* Vertical Background Grid Lines */
.jp-about-grid-lines {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 980px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
    padding: 0 15px;
}

.jp-about-grid-lines span {
    width: 1px;
    height: 100%;
    background-color: rgba(22, 19, 24, 0.05);
    /* very subtle dark line */
}

.jp-about-associations__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    margin: 0 auto;
}

.jp-about-associations__heading {
    padding-top: 4px;
}

.jp-about-associations__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #1f1b22;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.jp-about-associations__heading h2 {
    margin: 0;
    color: #17141a;
    font-family: "Playfair", serif;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: 0;
}

.jp-about-associations__content {
    max-width: 620px;
}

.jp-about-associations__content p {
    margin: 0;
    color: #2c2930;
    font-size: 15px;
    line-height: 1.85;
}

.jp-about-associations__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
    width: 100%;
}

@media (min-width: 576px) {
    .jp-about-associations__logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

.jp-about-associations__logo-card {
    background: #ffffff;
    border: 1px solid rgba(22, 19, 24, 0.08);
    border-radius: 16px;
    padding: 20px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
}

.jp-about-associations__logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(22, 19, 24, 0.15);
    opacity: 1;
}

.jp-about-associations__logo-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   Media Queries for Tablet and Mobile Responsiveness
   ========================================================================== */

/* ==========================================================================
   Media Queries for Tablet and Mobile Responsiveness
   ========================================================================== */

@media (max-width: 991.98px) {

    /* Unified Spacing for All Sections on Tablet (excluding recent articles) */
    .jp-about-banner__container,
    .jp-about-capabilities__heading,
    .gj-publish-book-panel-copy-container,
    .jp-about-associations__container,
    .jp-about-community__container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 1. Banner Section */
    .jp-about-banner {
        min-height: 480px;
    }

    .jp-about-banner__content {
        padding-top: 48px;
        padding-bottom: 48px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 2. Capabilities Section */
    .jp-about-capabilities__heading {
        padding-top: 42px;
        padding-bottom: 24px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .jp-about-page .gj-publish-book-panel-copy {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .jp-about-capabilities .gj-publish-book-panel-copy {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3. Associations Section */
    .jp-about-associations {
        padding: 58px 0 64px;
    }

    .jp-about-grid-lines {
        display: none;
        /* Hide grid lines on tablet/mobile */
    }

    .jp-about-associations__container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .jp-about-associations__heading h2 {
        font-size: clamp(32px, 5vw, 44px);
    }

    .jp-about-associations__content {
        max-width: 100%;
    }

    .jp-about-associations__content p {
        font-size: 14px;
        line-height: 1.75;
    }

    /* 4. Research Community Section */
    .jp-about-community {
        padding: 60px 0;
        min-height: auto;
        background-position: center;
    }

    .jp-about-community__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .jp-about-community__card {
        padding: 36px 30px;
        border-radius: 32px;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {

    /* Unified Mobile Spacing (excluding recent articles) */
    .jp-about-banner__container,
    .jp-about-capabilities__heading,
    .gj-publish-book-panel-copy-container,
    .jp-about-associations__container,
    .jp-about-community__container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* 1. Banner Section */
    .jp-about-banner {
        min-height: 420px;
        background-position: 65% center;
        padding-top: 150px !important;
    }

    .jp-about-banner__content h1 {
        font-size: 32px;
    }

    .jp-about-banner__content p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* 2. Associations Section */
    .jp-about-associations__logos {
        gap: 12px;
        margin-top: 28px;
    }

    .jp-about-associations__logo-card {
        height: 75px;
        padding: 12px;
        border-radius: 12px;
    }

    /* 3. Research Community Section */
    .jp-about-community {
        padding: 40px 0;
    }

    .jp-about-community__card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .jp-about-community__title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .jp-about-community__text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .jp-about-community__subheading {
        font-size: 16px;
        margin-top: 16px;
        margin-bottom: 8px;
    }

    .jp-about-community__actions {
        margin-top: 24px;
    }
}

/* ==========================================================================
   Dark Mode (.dark-scheme) Compatibility
   ========================================================================== */

/* 1. JP About Banner */
body.dark-scheme .jp-about-banner {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .65) 42%, rgba(0, 0, 0, .35) 100%), var(--jp-about-banner-image);
}

/* 2. Associations Section */
body.dark-scheme .jp-about-associations {
    background: #111013;
    color: #ffffff;
}

body.dark-scheme .jp-about-grid-lines span {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-scheme .jp-about-associations__eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-scheme .jp-about-associations__heading h2 {
    color: #ffffff;
}

body.dark-scheme .jp-about-associations__content p {
    color: rgba(255, 255, 255, 0.78);
}

body.dark-scheme .jp-about-associations__logo-card {
    background: #1e1e20;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-scheme .jp-about-associations__logo-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* 3. Research Community Section (Card) */
body.dark-scheme .jp-about-community__card {
    background: #232325;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

body.dark-scheme .jp-about-community__subtitle {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-scheme .jp-about-community__title {
    color: #ffffff;
}

body.dark-scheme .jp-about-community__text {
    color: rgba(255, 255, 255, 0.78);
}

body.dark-scheme .jp-about-community__subheading {
    color: #ffffff;
}

/* 4. Recent Articles Section */
body.dark-scheme .jp-about-recent-articles {
    background: #161c21;
}
