.jp-author-page {
    --jp-author-accent: #4db2ec;
    --jp-author-accent-strong: #167bb2;
    --jp-author-accent-soft: #eaf7fe;
    --jp-author-ink: #15171b;
    --jp-author-muted: #5e6875;
    --jp-author-line: #dce5ed;
}

.jp-author-profile {
    position: relative;
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    overflow: hidden;
    margin: 20px 0 46px;
    padding: 38px;
    border: 1px solid var(--jp-author-line);
    border-top: 5px solid var(--jp-author-accent);
    border-radius: 4px 4px 24px 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(77, 178, 236, .18), transparent 34%),
        linear-gradient(135deg, #fff 0 72%, #f4fbff 100%);
    box-shadow: 0 18px 48px rgba(18, 59, 84, .09);
}

.jp-author-profile::after {
    position: absolute;
    right: -58px;
    bottom: -86px;
    width: 210px;
    height: 210px;
    border: 28px solid rgba(77, 178, 236, .09);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.jp-author-profile__avatar {
    position: relative;
    z-index: 1;
    display: grid;
    width: 136px;
    height: 136px;
    overflow: hidden;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    outline: 2px solid rgba(77, 178, 236, .55);
    background: linear-gradient(145deg, #167bb2, #4db2ec);
    color: #fff;
    box-shadow: 0 12px 30px rgba(22, 123, 178, .22);
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
}

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

.jp-author-profile__identity {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.jp-author-profile__eyebrow,
.jp-author-articles__heading > span {
    color: var(--jp-author-accent-strong);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.jp-author-profile h1 {
    margin: 7px 0 11px;
    color: var(--jp-author-ink);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.jp-author-profile__credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.jp-author-profile__credentials span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid #c5e8fa;
    border-radius: 999px;
    color: #105c86;
    background: var(--jp-author-accent-soft);
    font-size: 12px;
    font-weight: 800;
}

.jp-author-profile__bio {
    max-width: 780px;
    margin: 0;
    color: var(--jp-author-muted);
    font-size: 17px;
    line-height: 1.72;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.jp-author-profile__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--jp-author-line);
}

.jp-author-profile__meta,
.jp-author-profile__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jp-author-profile__meta span {
    color: #3f4a56;
    font-size: 13px;
    font-weight: 700;
}

.jp-author-profile__meta span + span::before {
    margin-right: 8px;
    color: var(--jp-author-accent);
    content: "•";
}

.jp-author-profile__social a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #d3e3ed;
    border-radius: 9px;
    color: #105c86;
    background: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .18s, background .18s, transform .18s;
}

.jp-author-profile__social a:hover,
.jp-author-profile__social a:focus-visible {
    border-color: var(--jp-author-accent);
    background: var(--jp-author-accent-soft);
    transform: translateY(-1px);
}

.jp-author-articles__heading {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--jp-ink);
}

.jp-author-articles__heading h2 {
    margin: 5px 0 0;
    color: var(--jp-ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

@media (max-width: 760px) {
    .jp-author-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-bottom: 32px;
        padding: 24px 20px;
        border-radius: 4px 4px 18px 18px;
    }

    .jp-author-profile__avatar {
        width: 104px;
        height: 104px;
        justify-self: center;
        border-width: 4px;
        font-size: 38px;
    }

    .jp-author-profile h1 {
        margin-top: 5px;
        font-size: 30px;
    }

    .jp-author-profile__identity {
        display: block;
        text-align: center;
    }

    .jp-author-profile__credentials {
        justify-content: center;
        margin: 3px 0 15px;
    }

    .jp-author-profile__bio {
        font-size: 15px;
        text-align: left;
    }

    .jp-author-profile__footer {
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    .jp-author-profile__meta,
    .jp-author-profile__social {
        justify-content: center;
    }
}

@media (max-width: 460px) {
    .jp-author-profile {
        gap: 16px;
        padding: 20px 16px;
    }

    .jp-author-profile__avatar {
        width: 92px;
        height: 92px;
        font-size: 34px;
    }

    .jp-author-profile h1 {
        font-size: 26px;
    }

    .jp-author-profile__social a {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jp-author-profile__social a {
        transition: none;
    }
}

/* JURNALPOST AUTHOR POPULAR SIDEBAR v1.0.0 */
.jp-author-archive-layout {
    display: grid;
    width: min(100%, 1044px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 700px) 320px;
    gap: 24px;
    align-items: start;
}

.jp-author-archive-layout--single {
    display: block;
}

.jp-author-archive-layout__main,
.jp-author-popular {
    min-width: 0;
}

.jp-author-popular {
    align-self: stretch;
}

.jp-author-popular__inner {
    position: sticky;
    top: 92px;
}

.jp-author-popular__widget {
    overflow: hidden;
    border: 1px solid var(--jp-line);
    border-top: 3px solid var(--jp-author-accent);
    border-radius: 6px;
    background: var(--jp-surface);
    box-shadow: 0 10px 26px rgba(20, 36, 48, .06);
}

.jp-author-popular__header {
    padding: 15px 16px 12px;
    border-bottom: 1px solid var(--jp-line);
}

.jp-author-popular__header h2 {
    margin: 0;
    color: var(--jp-ink);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.15;
    text-transform: uppercase;
}

.jp-author-popular__list {
    margin: 0;
    padding: 0 14px;
    list-style: none;
}

.jp-author-popular-card {
    border-bottom: 1px solid var(--jp-line);
}

.jp-author-popular-card:last-child {
    border-bottom: 0;
}

.jp-author-popular-card--lead {
    padding: 14px 0 16px;
}

.jp-author-popular-card__lead-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.jp-author-popular-card__lead-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    background: var(--jp-surface-soft);
}

.jp-author-popular-card__lead-media img,
.jp-author-popular-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.jp-author-popular-card:hover img {
    transform: scale(1.025);
}

.jp-author-popular-card--lead .jp-author-popular-card__rank {
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--jp-author-accent);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.jp-author-popular-card__lead-link strong {
    display: -webkit-box;
    overflow: hidden;
    padding-top: 11px;
    color: var(--jp-ink);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.36;
    text-wrap: pretty;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.jp-author-popular-card--row {
    display: grid;
    padding: 13px 0;
    grid-template-columns: 28px 84px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
}

.jp-author-popular-card--row > .jp-author-popular-card__rank {
    color: var(--jp-author-accent);
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: 1;
    text-align: center;
}

.jp-author-popular-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    background: var(--jp-surface-soft);
}

.jp-author-popular-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.35;
    text-wrap: pretty;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.jp-author-popular-card h3 a {
    color: var(--jp-ink);
    text-decoration: none;
}

.jp-author-popular-card__lead-link:hover strong,
.jp-author-popular-card__lead-link:focus-visible strong,
.jp-author-popular-card h3 a:hover,
.jp-author-popular-card h3 a:focus-visible {
    color: var(--jp-author-accent);
}

html[data-theme="dark"] .jp-author-popular__widget {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

@media (min-width: 769px) and (max-width: 1024px) {
    .jp-author-archive-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 20px;
    }

    .jp-author-popular__inner {
        top: 84px;
    }

    .jp-author-popular-card--row {
        grid-template-columns: 26px 76px minmax(0, 1fr);
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .jp-author-archive-layout {
        display: block;
        width: 100%;
    }

    .jp-author-popular {
        margin-top: 32px;
    }

    .jp-author-popular__inner {
        position: static;
    }

    .jp-author-popular-card--row {
        grid-template-columns: 30px 112px minmax(0, 1fr);
        gap: 10px;
    }

    .jp-author-popular-card h3 {
        font-size: 13px;
    }
}

@media (max-width: 460px) {
    .jp-author-popular-card--row {
        grid-template-columns: 26px 88px minmax(0, 1fr);
        gap: 8px;
    }

    .jp-author-popular-card h3 {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jp-author-popular-card__lead-media img,
    .jp-author-popular-card__thumb img {
        transition: none;
    }
}

@media print {
    .jp-author-archive-layout {
        display: block;
    }

    .jp-author-popular {
        display: none !important;
    }
}
/* /JURNALPOST AUTHOR POPULAR SIDEBAR v1.0.0 */

/* JURNALPOST AUTHOR FIREFOX COMPLETE TITLES v1.0.0
   Firefox mempertahankan line clamp saat heading berada di grid sempit.
   Judul publikasi profil penulis harus memakai lebar kolom penuh dan tampil lengkap. */
.jp-author-page .jp-author-archive-layout .news-card--archive h2 {
    display: block;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    text-overflow: clip;
    text-wrap: wrap;
    text-wrap-style: auto;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.jp-author-page .jp-author-archive-layout .news-card--archive h2 > a {
    display: block;
    width: 100%;
    max-width: none;
    white-space: normal;
}
/* /JURNALPOST AUTHOR FIREFOX COMPLETE TITLES v1.0.0 */
