/*
 * RHFE: Research in Humanistic Futures of Education
 * Modern RHFE footer + existing global table styles
 * Version: 2026-07-30
 */

/* =========================================================
   A. RHFE GLOBAL TABLE STYLES
   Untuk tabel .table-info pada halaman jurnal.
   Warna dan proporsi kolom disesuaikan dengan identitas RHFE.
   ========================================================= */

.table-info {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    overflow: hidden;
    border: 1px solid #ded2eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(71, 38, 105, 0.06);
}

.table-info th,
.table-info td {
    padding: 13px 16px;
    border-right: 1px solid #e5dced;
    border-bottom: 1px solid #e5dced;
    text-align: left;
    vertical-align: middle;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Kolom kiri diperkecil */
.table-info th {
    width: 28%;
    color: #ffffff;
    background: linear-gradient(135deg, #4a2477 0%, #6d3ca0 100%);
    font-weight: 700;
    line-height: 1.35;
}

/* Kolom kanan dibuat lebih luas */
.table-info td {
    width: 72%;
    color: #342b3d;
    background-color: #fbf9fd;
    line-height: 1.55;
}

.table-info tr:nth-child(even) td {
    background-color: #f6f1fa;
}

.table-info tr:hover td {
    background-color: #f1e9f7;
}

.table-info tr:last-child th,
.table-info tr:last-child td {
    border-bottom: 0;
}

.table-info th:last-child,
.table-info td:last-child {
    border-right: 0;
}

.table-info a {
    color: #613593;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
}

.table-info a:hover,
.table-info a:focus {
    color: #3d1b63;
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 900px) {
    .table-info th {
        width: 32%;
    }

    .table-info td {
        width: 68%;
    }
}

/* Mobile: ubah menjadi kartu vertikal agar tidak sempit */
@media (max-width: 640px) {
    .table-info {
        display: block;
        width: 100%;
        overflow: visible;
        table-layout: auto;
        border-radius: 7px;
    }

    .table-info tbody,
    .table-info tr,
    .table-info th,
    .table-info td {
        display: block;
        width: 100%;
    }

    .table-info tr {
        border-bottom: 1px solid #ded2eb;
    }

    .table-info tr:last-child {
        border-bottom: 0;
    }

    .table-info th {
        padding: 10px 13px;
        border-right: 0;
        border-bottom: 0;
    }

    .table-info td {
        padding: 11px 13px 13px;
        border-right: 0;
        border-bottom: 0;
        background: #fbf9fd;
    }
}


/* =========================================================
   B. RHFE PREMIUM FOOTER
   Scoped to #rhfe-premium-footer so it does not affect OJS.
   ========================================================= */

#rhfe-premium-footer {
    --rpf-purple-950: #21103f;
    --rpf-purple-900: #2f1657;
    --rpf-purple-800: #432074;
    --rpf-purple-700: #5b2f91;
    --rpf-purple-600: #7448aa;
    --rpf-purple-300: #c9afe6;
    --rpf-purple-100: #f3edf9;
    --rpf-ink: #2d2437;
    --rpf-text: #5f5669;
    --rpf-muted: #7d7388;
    --rpf-line: #e5dced;
    --rpf-surface: #ffffff;
    --rpf-surface-soft: #faf8fc;
    --rpf-radius-sm: 10px;
    --rpf-radius-md: 16px;
    --rpf-shadow: 0 12px 32px rgba(54, 28, 82, 0.10);

    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 44px auto 0;
    overflow: hidden;
    border: 1px solid var(--rpf-line);
    border-radius: 18px 18px 0 0;
    color: var(--rpf-text);
    background: var(--rpf-surface);
    box-shadow: var(--rpf-shadow);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    box-sizing: border-box;
}

#rhfe-premium-footer,
#rhfe-premium-footer *,
#rhfe-premium-footer *::before,
#rhfe-premium-footer *::after {
    box-sizing: border-box;
}

#rhfe-premium-footer h2,
#rhfe-premium-footer h3,
#rhfe-premium-footer h4,
#rhfe-premium-footer p {
    margin-top: 0;
}

#rhfe-premium-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease,
                border-color .18s ease, transform .18s ease,
                box-shadow .18s ease;
}

#rhfe-premium-footer img {
    display: block;
    max-width: 100%;
    height: auto;
}

#rhfe-premium-footer .rpf-wrap,
#rhfe-premium-footer .rpf-bottom-inner {
    width: min(100%, 1120px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 28px;
    padding-left: 28px;
}

/* Hero */
#rhfe-premium-footer .rpf-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(205, 170, 238, .28), transparent 30%),
        radial-gradient(circle at 9% 100%, rgba(255, 255, 255, .08), transparent 31%),
        linear-gradient(135deg, var(--rpf-purple-950) 0%, var(--rpf-purple-800) 58%, #7a4cac 100%);
}

#rhfe-premium-footer .rpf-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .13;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 94%);
}

#rhfe-premium-footer .rpf-hero .rpf-wrap {
    position: relative;
    z-index: 1;
    padding-top: 42px;
    padding-bottom: 42px;
}

#rhfe-premium-footer .rpf-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 34px;
    align-items: center;
}

#rhfe-premium-footer .rpf-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    color: #eadcf8;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#rhfe-premium-footer .rpf-kicker::before {
    width: 30px;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: #d5b3ef;
}

/* Intentionally smaller than the Adagium footer title */
#rhfe-premium-footer .rpf-title {
    max-width: 720px;
    margin-bottom: 13px;
    color: #fff;
    font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -.02em;
    text-wrap: balance;
}

#rhfe-premium-footer .rpf-subtitle {
    max-width: 760px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.72;
}

#rhfe-premium-footer .rpf-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#rhfe-premium-footer .rpf-meta {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.94);
    background: rgba(255,255,255,.08);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
}

/* Journal card: portrait thumbnail, no stretching */
#rhfe-premium-footer .rpf-journal-card {
    display: flex;
    min-height: 285px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 18px;
    color: var(--rpf-ink);
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
}

#rhfe-premium-footer .rpf-journal-card:hover,
#rhfe-premium-footer .rpf-journal-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,.27);
}

#rhfe-premium-footer .rpf-journal-thumb {
    width: 138px;
    height: 180px;
    margin: 0 auto 13px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #fff;
}

#rhfe-premium-footer .rpf-journal-card strong {
    color: var(--rpf-purple-800);
    font-size: 18px;
    line-height: 1.2;
}

#rhfe-premium-footer .rpf-journal-card small {
    display: block;
    margin-top: 4px;
    color: var(--rpf-muted);
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
}

/* Main */
#rhfe-premium-footer .rpf-main {
    padding-top: 40px;
    padding-bottom: 38px;
    background:
        radial-gradient(circle at 94% 8%, rgba(116,72,170,.055), transparent 22%),
        linear-gradient(180deg, #fff 0%, var(--rpf-surface-soft) 100%);
}

#rhfe-premium-footer .rpf-heading-group {
    max-width: 820px;
    margin-bottom: 24px;
}

#rhfe-premium-footer .rpf-overline {
    display: block;
    margin-bottom: 5px;
    color: var(--rpf-purple-600);
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

#rhfe-premium-footer .rpf-section-heading {
    margin-bottom: 9px;
    color: var(--rpf-ink);
    font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 700;
    line-height: 1.18;
}

#rhfe-premium-footer .rpf-heading-line {
    width: 66px;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rpf-purple-800), var(--rpf-purple-300));
}

#rhfe-premium-footer .rpf-section-intro {
    margin-bottom: 0;
    color: var(--rpf-text);
    font-size: 13.5px;
    line-height: 1.7;
}

/* Information cards */
#rhfe-premium-footer .rpf-info-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr .82fr;
    gap: 16px;
    align-items: stretch;
}

#rhfe-premium-footer .rpf-info-card {
    position: relative;
    min-width: 0;
    min-height: 260px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--rpf-line);
    border-radius: var(--rpf-radius-md);
    background: rgba(255,255,255,.98);
    box-shadow: 0 7px 20px rgba(54,28,82,.06);
}

#rhfe-premium-footer .rpf-info-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--rpf-purple-800), var(--rpf-purple-300));
}

#rhfe-premium-footer .rpf-info-card:hover {
    transform: translateY(-2px);
    border-color: #d2bee5;
    box-shadow: 0 13px 28px rgba(54,28,82,.10);
}

#rhfe-premium-footer .rpf-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: var(--rpf-ink);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
}

#rhfe-premium-footer .rpf-icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #dfd0ec;
    border-radius: 10px;
    color: var(--rpf-purple-700);
    background: var(--rpf-purple-100);
    font-size: 16px;
    font-weight: 800;
}

#rhfe-premium-footer .rpf-info-card p {
    margin-bottom: 10px;
    color: var(--rpf-text);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#rhfe-premium-footer .rpf-info-card p:last-child { margin-bottom: 0; }

#rhfe-premium-footer .rpf-info-lead {
    color: var(--rpf-ink) !important;
    font-size: 15px !important;
}

#rhfe-premium-footer .rpf-info-card a:not(.rpf-link-button) {
    color: var(--rpf-purple-700);
    text-decoration: underline;
    text-decoration-color: rgba(91,47,145,.28);
    text-underline-offset: 3px;
}

#rhfe-premium-footer .rpf-info-card a:not(.rpf-link-button):hover,
#rhfe-premium-footer .rpf-info-card a:not(.rpf-link-button):focus-visible {
    color: var(--rpf-purple-900);
    text-decoration-color: currentColor;
}

#rhfe-premium-footer .rpf-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

#rhfe-premium-footer .rpf-link-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #dac7e8;
    border-radius: 999px;
    color: var(--rpf-purple-800);
    background: #f7f1fb;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.2;
}

#rhfe-premium-footer .rpf-link-button:hover,
#rhfe-premium-footer .rpf-link-button:focus-visible {
    color: #fff;
    border-color: var(--rpf-purple-700);
    background: var(--rpf-purple-700);
    transform: translateY(-1px);
}

#rhfe-premium-footer .rpf-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 12%, rgba(116,72,170,.09), transparent 38%),
        linear-gradient(145deg, #fff 0%, #f5effa 100%);
}

#rhfe-premium-footer .rpf-brand-card > a {
    display: block;
    width: 100%;
}

#rhfe-premium-footer .rpf-brand-card img {
    width: 150px;
    height: 190px;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

#rhfe-premium-footer .rpf-brand-caption {
    margin-top: 13px;
    margin-bottom: 0;
    color: var(--rpf-muted);
    font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    font-size: 12px;
    font-style: italic;
    letter-spacing: .05em;
}

/* Copyright */
#rhfe-premium-footer .rpf-bottom {
    color: rgba(255,255,255,.8);
    background: var(--rpf-purple-950);
    border-top: 1px solid rgba(255,255,255,.08);
}

#rhfe-premium-footer .rpf-bottom-inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

#rhfe-premium-footer .rpf-copyright {
    margin-bottom: 0;
    font-size: 11.5px;
    line-height: 1.62;
}

#rhfe-premium-footer .rpf-copyright strong {
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
}

#rhfe-premium-footer .rpf-copyright a {
    color: #ddc3f4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#rhfe-premium-footer .rpf-cc {
    display: block;
    flex: 0 0 auto;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;
    background: #fff;
}

#rhfe-premium-footer .rpf-cc img {
    width: 88px;
    height: auto;
}

#rhfe-premium-footer a:focus-visible {
    outline: 3px solid rgba(202,164,234,.72);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    #rhfe-premium-footer .rpf-hero-grid {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 24px;
    }

    #rhfe-premium-footer .rpf-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #rhfe-premium-footer .rpf-brand-card {
        grid-column: 1 / -1;
        min-height: 230px;
    }
}

@media (max-width: 760px) {
    #rhfe-premium-footer {
        width: 100%;
        margin-top: 34px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    #rhfe-premium-footer .rpf-wrap,
    #rhfe-premium-footer .rpf-bottom-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    #rhfe-premium-footer .rpf-hero-grid {
        grid-template-columns: 1fr;
    }

    #rhfe-premium-footer .rpf-journal-card {
        width: min(100%, 330px);
        min-height: 250px;
    }

    #rhfe-premium-footer .rpf-info-grid {
        grid-template-columns: 1fr;
    }

    #rhfe-premium-footer .rpf-brand-card {
        grid-column: auto;
    }

    #rhfe-premium-footer .rpf-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    #rhfe-premium-footer .rpf-wrap,
    #rhfe-premium-footer .rpf-bottom-inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    #rhfe-premium-footer .rpf-hero .rpf-wrap {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    #rhfe-premium-footer .rpf-title {
        font-size: 25px;
    }

    #rhfe-premium-footer .rpf-meta-row,
    #rhfe-premium-footer .rpf-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    #rhfe-premium-footer .rpf-meta,
    #rhfe-premium-footer .rpf-link-button {
        width: 100%;
        text-align: center;
    }

    #rhfe-premium-footer .rpf-info-card {
        padding: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #rhfe-premium-footer a,
    #rhfe-premium-footer .rpf-info-card {
        transition: none;
    }
}


/* =========================================================
   ADAGIUM CITATION ANALYTICS
   Semua class menggunakan awalan aca- agar tidak bentrok
   ========================================================= */

.aca-section,
.aca-section * {
    box-sizing: border-box;
}

.aca-section {
    position: relative;
    width: 100%;
    margin: 42px 0 20px;
    overflow: hidden;
    color: #172033;
    background:
        radial-gradient(circle at 95% 0%, rgba(66, 133, 244, 0.16), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(52, 168, 83, 0.1), transparent 35%),
        #ffffff;
    border: 1px solid #e2e8f2;
    border-radius: 26px;
    box-shadow:
        0 25px 70px rgba(25, 44, 79, 0.11),
        0 4px 18px rgba(25, 44, 79, 0.05);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.aca-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 35px 38px;
    color: #ffffff;
    background:
        linear-gradient(125deg, rgba(18, 40, 76, 0.98), rgba(21, 71, 127, 0.96));
}

.aca-header::before {
    position: absolute;
    top: -80px;
    right: -40px;
    width: 250px;
    height: 250px;
    content: "";
    border: 50px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.aca-header::after {
    position: absolute;
    bottom: -120px;
    left: 35%;
    width: 240px;
    height: 240px;
    content: "";
    background: rgba(66, 133, 244, 0.12);
    border-radius: 50%;
    filter: blur(5px);
}

.aca-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 21px;
}

.aca-google-icon {
    display: flex;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 13px 30px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(12px);
}

.aca-google-icon svg {
    width: 39px;
    height: 39px;
    fill: #ffffff;
}

.aca-overline,
.aca-mini-overline {
    display: block;
    margin-bottom: 7px;
    color: #8ec5ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.4;
    text-transform: uppercase;
}

.aca-header h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.aca-header p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}

.aca-profile-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    padding: 13px 18px;
    color: #17355d !important;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    box-shadow: 0 12px 28px rgba(3, 22, 51, 0.22);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.aca-profile-button:hover {
    color: #17355d !important;
    transform: translateY(-3px);
    box-shadow: 0 17px 34px rgba(3, 22, 51, 0.28);
}

.aca-tabs {
    padding: 0 38px 34px;
}

.aca-tab-control {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.aca-tab-navigation {
    display: flex;
    gap: 6px;
    margin: 0 -38px 29px;
    padding: 13px 38px;
    overflow-x: auto;
    background: #f7f9fc;
    border-bottom: 1px solid #e5eaf2;
}

.aca-tab-navigation label {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    color: #677389;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.aca-tab-navigation label:hover {
    color: #174f91;
    background: #ffffff;
    transform: translateY(-1px);
}

.aca-tab-icon {
    color: #4285f4;
    font-size: 15px;
}

#aca-tab-overview:checked ~ .aca-tab-navigation label[for="aca-tab-overview"],
#aca-tab-trend:checked ~ .aca-tab-navigation label[for="aca-tab-trend"],
#aca-tab-articles:checked ~ .aca-tab-navigation label[for="aca-tab-articles"] {
    color: #174f91;
    background: #ffffff;
    border-color: #dce5f1;
    box-shadow: 0 7px 20px rgba(31, 65, 108, 0.1);
}

.aca-panel {
    display: none;
    animation: acaFadeUp 0.4s ease both;
}

#aca-tab-overview:checked ~ .aca-tab-panels .aca-panel-overview,
#aca-tab-trend:checked ~ .aca-tab-panels .aca-panel-trend,
#aca-tab-articles:checked ~ .aca-tab-panels .aca-panel-articles {
    display: block;
}

@keyframes acaFadeUp {
    from {
        opacity: 0;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aca-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.aca-stat-card {
    position: relative;
    min-height: 175px;
    overflow: hidden;
    padding: 22px;
    background: linear-gradient(145deg, #ffffff, #f8faff);
    border: 1px solid #e3e9f2;
    border-radius: 19px;
    box-shadow: 0 10px 27px rgba(30, 57, 91, 0.06);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.aca-stat-card::after {
    position: absolute;
    right: -30px;
    bottom: -35px;
    width: 95px;
    height: 95px;
    content: "";
    background: rgba(66, 133, 244, 0.06);
    border-radius: 50%;
}

.aca-stat-card:hover {
    border-color: #bed6f5;
    transform: translateY(-6px);
    box-shadow: 0 18px 37px rgba(30, 57, 91, 0.12);
}

.aca-stat-primary {
    color: #ffffff;
    background: linear-gradient(145deg, #1a5ba7, #163b6b);
    border-color: transparent;
}

.aca-stat-primary::after {
    background: rgba(255, 255, 255, 0.08);
}

.aca-stat-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.aca-stat-label {
    color: #66758c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aca-stat-primary .aca-stat-label {
    color: rgba(255, 255, 255, 0.69);
}

.aca-stat-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 9px;
    color: #2866ad;
    background: #edf5ff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 900;
}

.aca-stat-primary .aca-stat-symbol {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
}

.aca-stat-value {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 9px;
    color: #152b49;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
}

.aca-stat-primary .aca-stat-value {
    color: #ffffff;
}

.aca-stat-description {
    position: relative;
    z-index: 2;
    color: #8290a4;
    font-size: 12px;
}

.aca-stat-primary .aca-stat-description {
    color: rgba(255, 255, 255, 0.66);
}

.aca-comparison {
    margin-top: 20px;
    padding: 25px;
    background:
        linear-gradient(135deg, rgba(244, 248, 253, 0.95), rgba(250, 252, 255, 0.95));
    border: 1px solid #e1e8f1;
    border-radius: 19px;
}

.aca-comparison-heading,
.aca-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.aca-mini-overline {
    color: #4285f4;
}

.aca-comparison-heading h3,
.aca-panel-heading h3 {
    margin: 0;
    color: #183253;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.aca-data-source {
    padding: 7px 10px;
    color: #58718f;
    background: #ffffff;
    border: 1px solid #dde5ef;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 750;
}

.aca-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.aca-comparison-item {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e4eaf2;
    border-radius: 13px;
}

.aca-comparison-item span {
    display: block;
    margin-bottom: 7px;
    color: #748096;
    font-size: 11px;
}

.aca-comparison-item strong {
    color: #1e4f88;
    font-size: 22px;
    font-weight: 850;
}

.aca-panel-heading p {
    max-width: 660px;
    margin: 8px 0 0;
    color: #748096;
    font-size: 13px;
    line-height: 1.7;
}

.aca-panel-heading > a {
    flex: 0 0 auto;
    padding: 9px 12px;
    color: #245e9e !important;
    background: #eff6ff;
    border: 1px solid #d8e8fb;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}

.aca-chart {
    position: relative;
    height: 335px;
    padding: 30px 24px 17px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8faff, #ffffff);
    border: 1px solid #e2e8f1;
    border-radius: 20px;
}

.aca-chart-lines {
    position: absolute;
    inset: 35px 24px 53px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.aca-chart-lines span {
    display: block;
    width: 100%;
    border-top: 1px dashed #dce4ee;
}

.aca-chart-bars {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(40px, 1fr));
    align-items: end;
    gap: clamp(9px, 2vw, 25px);
    height: 100%;
}

.aca-chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.aca-chart-number {
    margin-bottom: 8px;
    color: #294c73;
    font-size: 10px;
    font-weight: 800;
}

.aca-chart-bar {
    position: relative;
    width: min(52px, 75%);
    height: var(--bar);
    min-height: 7px;
    background: linear-gradient(180deg, #5a9ef3, #174e8f);
    border-radius: 10px 10px 4px 4px;
    box-shadow:
        0 10px 20px rgba(32, 93, 161, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.aca-chart-bar::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    border-radius: inherit;
}

.aca-chart-item:hover .aca-chart-bar {
    filter: brightness(1.08);
    transform: translateY(-5px);
}

.aca-chart-year {
    margin-top: 11px;
    color: #7b8799;
    font-size: 11px;
    font-weight: 700;
}

.aca-chart-note {
    margin: 13px 2px 0;
    color: #8995a6;
    font-size: 10px;
    line-height: 1.65;
}

.aca-article-list {
    display: grid;
    gap: 13px;
}

.aca-article-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e1e7f0;
    border-radius: 17px;
    box-shadow: 0 8px 22px rgba(31, 56, 89, 0.05);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.aca-article-card:hover {
    border-color: #bcd5f1;
    transform: translateX(5px);
    box-shadow: 0 14px 30px rgba(31, 56, 89, 0.1);
}

.aca-article-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #2863a6;
    background: linear-gradient(145deg, #f1f7ff, #e4f0ff);
    border: 1px solid #d3e5fb;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
}

.aca-article-content h4 {
    margin: 0 0 6px;
    color: #193557;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.aca-article-content > p {
    margin: 0 0 11px;
    color: #7c889a;
    font-size: 11px;
}

.aca-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #78869a;
    font-size: 10px;
}

.aca-citation-badge {
    padding: 5px 9px;
    color: #1d6d44;
    background: #eaf8f0;
    border: 1px solid #ccebd9;
    border-radius: 100px;
    font-weight: 800;
}

.aca-article-card > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    color: #ffffff !important;
    background: #1e578f;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.aca-article-card > a:hover {
    background: #123c69;
    transform: rotate(7deg);
}

.aca-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 38px;
    color: #7d8999;
    background: #f7f9fc;
    border-top: 1px solid #e4e9f1;
    font-size: 10px;
}

.aca-footer > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aca-status-dot {
    width: 7px;
    height: 7px;
    background: #34a853;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 168, 83, 0.12);
}

@media (max-width: 900px) {
    .aca-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .aca-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .aca-section {
        margin-top: 28px;
        border-radius: 19px;
    }

    .aca-header {
        padding: 26px 21px;
    }

    .aca-header-content {
        align-items: flex-start;
    }

    .aca-google-icon {
        flex-basis: 53px;
        width: 53px;
        height: 53px;
        border-radius: 15px;
    }

    .aca-google-icon svg {
        width: 31px;
        height: 31px;
    }

    .aca-profile-button {
        justify-content: center;
        width: 100%;
    }

    .aca-tabs {
        padding: 0 18px 23px;
    }

    .aca-tab-navigation {
        margin-right: -18px;
        margin-bottom: 20px;
        margin-left: -18px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .aca-tab-navigation label {
        padding: 10px 13px;
        font-size: 11px;
    }

    .aca-stat-grid,
    .aca-comparison-grid {
        grid-template-columns: 1fr;
    }

    .aca-stat-card {
        min-height: 145px;
    }

    .aca-comparison-heading,
    .aca-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .aca-chart {
        height: 290px;
        padding-right: 12px;
        padding-left: 12px;
        overflow-x: auto;
    }

    .aca-chart-bars {
        min-width: 510px;
    }

    .aca-article-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .aca-article-card > a {
        display: none;
    }

    .aca-article-rank {
        width: 42px;
        height: 42px;
    }

    .aca-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aca-panel,
    .aca-stat-card,
    .aca-profile-button,
    .aca-chart-bar,
    .aca-article-card {
        animation: none;
        transition: none;
    }
}


/* =========================================================
   K. OJS FOOTER WIDTH FIX
   Menyamakan lebar footer RHFE dengan area body OJS.
   Struktur OJS:
   .pkp_structure_footer_wrapper
     > .pkp_structure_footer
       > .pkp_footer_content
         > #rhfe-premium-footer
   ========================================================= */

/* Hilangkan pembatas dan padding bawaan OJS pada area footer */
.pkp_structure_footer_wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

.pkp_structure_footer {
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 !important;
}

.pkp_footer_content {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer mengisi seluruh lebar parent/body OJS */
#rhfe-premium-footer {
    width: 100% !important;
    max-width: none !important;
    margin: 44px 0 0 !important;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

/* Konten internal mengikuti lebar body utama OJS */
#rhfe-premium-footer .rpf-wrap,
#rhfe-premium-footer .rpf-bottom-inner {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 32px;
    padding-left: 32px;
}

/* Logo bawaan OJS tetap sejajar dengan lebar body */
.pkp_brand_footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    box-sizing: border-box;
}

/* Desktop lebar: samakan dengan struktur halaman utama */
@media (min-width: 1200px) {
    #rhfe-premium-footer .rpf-wrap,
    #rhfe-premium-footer .rpf-bottom-inner,
    .pkp_brand_footer {
        max-width: 1200px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    #rhfe-premium-footer .rpf-wrap,
    #rhfe-premium-footer .rpf-bottom-inner,
    .pkp_brand_footer {
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #rhfe-premium-footer {
        margin-top: 30px !important;
    }

    #rhfe-premium-footer .rpf-wrap,
    #rhfe-premium-footer .rpf-bottom-inner,
    .pkp_brand_footer {
        padding-right: 15px;
        padding-left: 15px;
    }
}
