/* Elkuator Saul site-level OJS Custom Pages */
.iainptk-custom-page-shell {
    min-height: 60vh;
    background: var(--iainptk-bg, #f5f7fb);
}

.iainptk-custom-page-shell .iainptk-about-section {
    padding-top: 36px;
    padding-bottom: 64px;
}

.iainptk-custom-page-card {
    width: 100%;
}

.iainptk-custom-page-card > :first-child {
    margin-top: 0;
}

.iainptk-custom-page-card > :last-child {
    margin-bottom: 0;
}

.iainptk-custom-page-card img {
    max-width: 100%;
    height: auto;
}

.iainptk-custom-page-card a {
    overflow-wrap: anywhere;
}

.iainptk-nav > a.is-active {
    color: var(--iainptk-gold, #f4c542);
}

.iainptk-nav > a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.iainptk-nav > a.is-active {
    position: relative;
}

@media (max-width: 768px) {
    .iainptk-custom-page-shell .iainptk-about-section {
        padding-top: 22px;
        padding-bottom: 42px;
    }
}

/* Portable semantic profile content shared by Elkuator portal themes. */
.elkuator-portal-profile { max-width: 1100px; margin: 0 auto; }
.elkuator-portal-profile__lead { font-size: 1.1rem; font-weight: 600; }
.elkuator-portal-profile__organization { margin-top: 2rem; }
.elkuator-portal-profile__people { display: grid; gap: 1rem; }
.elkuator-portal-profile__person { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; }
.elkuator-portal-profile__person img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.elkuator-portal-profile__person h3 { margin: 0 0 .35rem; }
.elkuator-portal-profile__person p { margin: 0; }
.elkuator-portal-profile__vision-mission { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.elkuator-portal-profile__vision-mission > section { padding: 1.25rem; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; }
@media (max-width: 700px) {
  .elkuator-portal-profile__person { grid-template-columns: 72px 1fr; }
  .elkuator-portal-profile__person img { width: 72px; height: 72px; }
  .elkuator-portal-profile__vision-mission { grid-template-columns: 1fr; }
}


/*
 * OJS 3.3 Static Pages repeats the site's About title and breadcrumb after
 * Saul already presents About in the hero. Only hide this duplicate chrome
 * on the configured site-level About route (the header sets this body class).
 * Preserve the custom content itself and all non-About OJS routes.
 */
body.iainptk-site-about .cmp_breadcrumbs,
body.iainptk-site-about .page > h1.page_title,
body.iainptk-site-about .page > h2,
body.pkp_page_about .page > h1.page_title,
body.pkp_page_about .page > h2 {
    display: none !important;
}

body.iainptk-site-about .page {
    max-width: 1024px;
    margin-inline: auto;
    padding: 42px 24px 68px;
}

@media (max-width: 768px) {
    body.iainptk-site-about .page {
        padding: 24px 16px 44px;
    }
}

/* Announce an explicitly enabled indexing filter with no matching journals. */
.iainptk-filter-empty {
    margin: 1.5rem auto;
    padding: 1rem 1.25rem;
    max-width: 720px;
    border: 1px solid rgba(100, 116, 139, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--iainptk-text, #253047);
    text-align: center;
}
.iainptk-filter-empty[hidden] { display: none !important; }
