/* Paket 15C.6 — isolated journal subpage styles. */
.ips-jsub-hero {
    padding: 6rem 0 6.4rem;
    background: linear-gradient(135deg, #f5f8fa 0%, #e9f1f5 100%);
}
.ips-jsub-hero__grid {
    display: grid;
    grid-template-columns: 19rem minmax(0, 1fr);
    align-items: center;
    gap: 4.5rem;
}
.ips-jsub-hero__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25rem;
    padding: 1.6rem;
    border: 1px solid rgba(0, 58, 90, .1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 1.5rem 3.8rem rgba(26, 48, 60, .09);
}
.ips-jsub-hero__cover img {
    width: 100%;
    max-height: 27rem;
    object-fit: contain;
    filter: drop-shadow(0 1rem 1.4rem rgba(22, 43, 54, .15));
}
.ips-jsub-hero__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 13.5rem;
    border-radius: .7rem;
    background: linear-gradient(145deg, var(--primary-color), #2f718f);
    color: #fff;
    font-size: 3.3rem;
}
.ips-jsub-hero__content { max-width: 82rem; }
.ips-jsub-hero__content h1 {
    margin: 1rem 0 1.2rem;
    color: var(--grey-dark-one);
    font-size: clamp(3rem, 4vw, 5.3rem);
    line-height: 1.08;
    text-transform: none;
}
.ips-jsub-hero__journal {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
}
.ips-jsub-hero__intro {
    max-width: 74rem;
    margin: 1.5rem 0 0;
    color: var(--grey-dark-three);
    font-size: 1.3rem;
    line-height: 1.75;
}
.ips-jsub-nav-section { padding: 0; background: #fff; }
.ips-jsub-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: -2.6rem;
    overflow: hidden;
    border: 1px solid #e1e8ec;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 1.4rem 3.8rem rgba(23, 47, 60, .08);
}
.ips-jsub-nav a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 6rem;
    padding: 1rem 1.2rem;
    border-right: 1px solid #e7ecef;
    color: var(--grey-dark-one);
    font-size: 1.08rem;
    font-weight: 700;
    text-align: center;
}
.ips-jsub-nav a:last-child { border-right: 0; }
.ips-jsub-nav a:hover,
.ips-jsub-nav a.is-active {
    background: var(--primary-color);
    color: #fff;
}
.ips-jsub-section { padding: 7rem 0 9rem; }
.ips-jsub-section--soft { background: #f7f9fa; }
.ips-jsub-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(27rem, .55fr);
    align-items: start;
    gap: 5rem;
}
.ips-jsub-copy {
    color: var(--grey-dark-two);
    font-size: 1.28rem;
    line-height: 1.9;
}
.ips-jsub-copy p { margin: 0 0 1.6rem; }
.ips-jsub-copy p:last-child { margin-bottom: 0; }
.ips-jsub-heading { margin-bottom: 2.8rem; }
.ips-jsub-heading h2 {
    margin: .7rem 0 0;
    font-size: clamp(2.5rem, 3vw, 3.8rem);
    line-height: 1.16;
    text-transform: none;
}
.ips-jsub-sidebar {
    display: grid;
    gap: 1.6rem;
    position: sticky;
    top: 2rem;
}
.ips-jsub-resource {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.7rem;
    border: 1px solid #e1e8ec;
    border-radius: .75rem;
    background: #fff;
    color: var(--grey-dark-one);
    box-shadow: 0 1rem 2.8rem rgba(22, 48, 61, .045);
}
.ips-jsub-resource:hover {
    border-color: rgba(0, 58, 90, .25);
    color: var(--primary-color);
    transform: translateY(-2px);
}
.ips-jsub-resource > i {
    flex: 0 0 auto;
    margin-top: .2rem;
    color: var(--primary-color);
    font-size: 1.7rem;
}
.ips-jsub-resource strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.45;
}
.ips-jsub-resource small {
    display: block;
    margin-top: .45rem;
    color: var(--grey-dark-three);
    font-weight: 700;
}
.ips-jsub-facts {
    display: grid;
    gap: 1rem;
    margin-top: 2.4rem;
}
.ips-jsub-fact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.45rem;
    border-left: .35rem solid var(--primary-color);
    background: #f1f5f7;
    color: var(--grey-dark-one);
    font-size: 1.15rem;
    font-weight: 700;
}
.ips-editorial-group + .ips-editorial-group { margin-top: 5.2rem; }
.ips-editorial-group__title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.ips-editorial-group__title h2 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.25;
    text-transform: none;
}
.ips-editorial-group__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    background: #eaf1f5;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 800;
}
.ips-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}
.ips-editorial-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid #e2e8ec;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 1.1rem 3rem rgba(22, 48, 61, .05);
}
.ips-editorial-card__top {
    display: grid;
    grid-template-columns: 6.6rem minmax(0, 1fr);
    align-items: center;
    gap: 1.3rem;
}
.ips-editorial-card__photo,
.ips-editorial-card__initials {
    width: 6.6rem;
    height: 6.6rem;
    overflow: hidden;
    border-radius: 50%;
}
.ips-editorial-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ips-editorial-card__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-color), #3a7795);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}
.ips-editorial-card h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.3;
    text-transform: none;
}
.ips-editorial-card h3 a { color: var(--grey-dark-one); }
.ips-editorial-card h3 a:hover { color: var(--primary-color); }
.ips-editorial-card__title,
.ips-editorial-card__affiliation {
    margin: .45rem 0 0;
    color: var(--grey-dark-three);
    font-size: 1.04rem;
    line-height: 1.55;
}
.ips-editorial-card__email {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
    padding-top: 1.4rem;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.ips-guidelines-intro {
    max-width: 92rem;
    margin-bottom: 4rem;
}
.ips-guidelines-resources {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.7rem;
}
.ips-guideline-card {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 1.35rem;
    padding: 2rem;
    border: 1px solid #e2e8ec;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 1rem 2.8rem rgba(22, 48, 61, .045);
}
a.ips-guideline-card:hover {
    border-color: rgba(0, 58, 90, .26);
    transform: translateY(-2px);
}
.ips-guideline-card.is-primary {
    border-color: rgba(0, 58, 90, .22);
    background: linear-gradient(135deg, #f4f8fa, #eaf2f6);
}
.ips-guideline-card__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 4.7rem;
    height: 4.7rem;
    border-radius: .7rem;
    background: #eaf1f5;
    color: var(--primary-color);
    font-size: 1.7rem;
}
.ips-guideline-card strong {
    display: block;
    color: var(--grey-dark-one);
    font-size: 1.22rem;
    line-height: 1.45;
}
.ips-guideline-card p {
    margin: 0;
    color: var(--grey-dark-two);
    font-size: 1.16rem;
    line-height: 1.65;
}
.ips-guideline-card small {
    display: block;
    margin-top: .55rem;
    color: var(--primary-color);
    font-size: .98rem;
    font-weight: 800;
}
.ips-jsub-empty {
    padding: 5rem 2rem;
    border: 1px solid #e2e8ec;
    border-radius: .9rem;
    background: #fff;
    text-align: center;
}
.ips-jsub-empty i { margin-bottom: 1.2rem; color: var(--primary-color); font-size: 3rem; }
.ips-jsub-not-found { padding: 8rem 0; }

@media (max-width: 991px) {
    .ips-jsub-hero__grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; }
    .ips-jsub-hero__cover { min-height: 20rem; }
    .ips-jsub-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ips-jsub-nav a:nth-child(3) { border-right: 0; }
    .ips-jsub-nav a:nth-child(n+4) { border-top: 1px solid #e7ecef; }
    .ips-jsub-layout { grid-template-columns: 1fr; }
    .ips-jsub-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ips-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ips-jsub-hero { padding: 4rem 0 5rem; }
    .ips-jsub-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ips-jsub-hero__cover { width: 15rem; min-height: 20rem; }
    .ips-jsub-hero__content h1 { font-size: 3.2rem; }
    .ips-jsub-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -2rem; }
    .ips-jsub-nav a { min-height: 5.4rem; border-top: 1px solid #e7ecef; }
    .ips-jsub-nav a:nth-child(-n+2) { border-top: 0; }
    .ips-jsub-nav a:nth-child(even) { border-right: 0; }
    .ips-jsub-nav a:nth-child(3) { border-right: 1px solid #e7ecef; }
    .ips-jsub-section { padding: 5.5rem 0 7rem; }
    .ips-jsub-sidebar { grid-template-columns: 1fr; }
    .ips-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
    .ips-editorial-card { padding: 1.25rem; }
    .ips-editorial-card__top { grid-template-columns: 4.8rem minmax(0, 1fr); gap: .85rem; }
    .ips-editorial-card__photo,
    .ips-editorial-card__initials { width: 4.8rem; height: 4.8rem; }
    .ips-editorial-card h3 { font-size: 1.15rem; }
    .ips-editorial-card__title,
    .ips-editorial-card__affiliation,
    .ips-editorial-card__email { font-size: .93rem; }
    .ips-guidelines-resources { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .ips-jsub-nav a { padding: .8rem; font-size: .92rem; }
    .ips-jsub-nav a i { display: none; }
    .ips-editorial-card__top { grid-template-columns: 1fr; }
    .ips-editorial-card__photo,
    .ips-editorial-card__initials { width: 5.4rem; height: 5.4rem; }
}
