/* ============================================================
   HISTORYX - Halaman artikel publik
   Tata letak baca, label kredibilitas, referensi, sitasi, cetak.
   ============================================================ */

.hx-article-header {
    padding-top: 1.5rem;
}

/* ---------- Jejak navigasi ---------- */

.hx-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
    color: var(--hx-muted-2);
    font-size: 0.76rem;
}

.hx-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.hx-breadcrumb li + li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.18);
}

.hx-breadcrumb a {
    color: var(--hx-muted);
}

.hx-breadcrumb a:hover {
    color: var(--hx-gold);
}

.hx-breadcrumb span {
    overflow: hidden;
    max-width: 40ch;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Kepala artikel ---------- */

.hx-article-head {
    max-width: 900px;
    padding-bottom: 0.5rem;
}

.hx-article-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hx-cred {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.34rem 0.78rem;
    border: 1px solid var(--hx-border-strong);
    border-radius: 999px;
    color: var(--hx-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hx-cred.is-fact {
    border-color: rgba(111, 191, 149, 0.42);
    background: rgba(111, 191, 149, 0.1);
    color: var(--hx-ok);
}

.hx-cred.is-document {
    border-color: rgba(212, 175, 55, 0.42);
    background: rgba(212, 175, 55, 0.09);
    color: var(--hx-gold-soft);
}

.hx-cred.is-debate {
    border-color: rgba(217, 139, 95, 0.4);
    background: rgba(217, 139, 95, 0.09);
    color: #e5a97f;
}

.hx-cred.is-unconfirmed {
    border-color: rgba(167, 162, 154, 0.4);
    background: rgba(167, 162, 154, 0.08);
    color: #c6c0b6;
}

.hx-cred.is-conspiracy {
    border-color: rgba(168, 50, 50, 0.52);
    background: rgba(122, 31, 31, 0.22);
    color: #e7a3a3;
}

.hx-cred.is-legend {
    border-color: rgba(150, 130, 190, 0.42);
    background: rgba(120, 100, 170, 0.1);
    color: #c9b8ea;
}

.hx-article-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.7rem;
    border: 1px solid var(--hx-border);
    border-radius: 999px;
    color: var(--hx-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hx-article-flag .bi {
    color: var(--hx-gold);
}

.hx-article-flag.is-warning {
    border-color: rgba(217, 139, 95, 0.42);
    color: var(--hx-warn);
}

.hx-article-flag.is-warning .bi {
    color: var(--hx-warn);
}

.hx-article-title {
    max-width: 20ch;
    font-size: clamp(2rem, 4.8vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.hx-article-lede {
    max-width: 70ch;
    margin-top: 1.1rem;
    color: var(--hx-muted);
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.72;
}

.hx-article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1.15rem;
    margin-top: 1.4rem;
    color: var(--hx-muted-2);
    font-size: 0.8rem;
}

.hx-byline-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hx-byline-item .bi {
    color: var(--hx-gold);
    font-size: 0.85rem;
}

/* ---------- Alat bagikan ---------- */

.hx-article-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--hx-border);
}

.hx-article-share,
.hx-article-tools-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.hx-tools-label {
    margin-right: 0.2rem;
    color: var(--hx-muted-2);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hx-share-btn {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--hx-border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--hx-muted);
    font-size: 0.95rem;
    transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.hx-share-btn:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.08);
    color: var(--hx-gold-soft);
}

.hx-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.8rem;
    border: 1px solid var(--hx-border);
    border-radius: 9px;
    background: transparent;
    color: var(--hx-muted);
    font-family: var(--hx-sans);
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 140ms ease, color 140ms ease;
}

.hx-tool-btn:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--hx-gold-soft);
}

.hx-tool-btn .bi {
    font-size: 0.9rem;
}

.hx-copy-status {
    min-height: 1.25rem;
    margin-top: 0.55rem;
    color: var(--hx-ok);
    font-size: 0.78rem;
}

.hx-visually-copy {
    position: fixed;
    top: -1000px;
    left: -1000px;
    opacity: 0;
    pointer-events: none;
}

/* ---------- Peringatan konten ---------- */

.hx-content-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin: 0.5rem 0 1.6rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(217, 139, 95, 0.42);
    border-left: 3px solid var(--hx-warn);
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(122, 31, 31, 0.2), rgba(20, 20, 22, 0.6));
}

.hx-content-warning > .bi {
    margin-top: 0.1rem;
    color: var(--hx-warn);
    font-size: 1.1rem;
}

.hx-content-warning strong {
    display: block;
    font-family: var(--hx-sans);
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.hx-content-warning p {
    margin-top: 0.3rem;
    max-width: 80ch;
    color: var(--hx-muted);
    font-size: 0.87rem;
    line-height: 1.7;
}

/* ---------- Sampul ---------- */

.hx-article-cover {
    margin: 1.2rem 0 2.2rem;
}

.hx-article-cover-frame {
    overflow: hidden;
    border: 1px solid var(--hx-border);
    border-radius: 16px;
    background: var(--hx-panel);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.hx-article-cover-frame img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.hx-article-cover-caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    padding-top: 0.65rem;
    color: var(--hx-muted-2);
    font-size: 0.76rem;
    line-height: 1.6;
}

.hx-article-credit {
    color: var(--hx-muted);
}

/* ---------- Tata letak baca ---------- */

.hx-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 3rem;
    padding-block: 1.2rem 2rem;
}

.hx-article-main {
    min-width: 0;
}

.hx-article-body {
    color: #e7e2d9;
    font-family: var(--hx-serif);
    font-size: 1.09rem;
    line-height: 1.86;
    overflow-wrap: break-word;
}

.hx-article-body > * + * {
    margin-top: 1.15em;
}

.hx-article-body p {
    margin: 0;
}

.hx-article-body h2,
.hx-article-body h3,
.hx-article-body h4 {
    color: var(--hx-text);
    line-height: 1.3;
    letter-spacing: 0.005em;
}

.hx-article-body h2 {
    margin-top: 1.9em;
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
}

.hx-article-body h3 {
    margin-top: 1.7em;
    font-size: clamp(1.15rem, 1.8vw, 1.32rem);
}

.hx-article-body h4 {
    margin-top: 1.5em;
    font-family: var(--hx-sans);
    font-size: 1rem;
}

.hx-article-body a {
    color: var(--hx-gold-soft);
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.42);
    text-underline-offset: 3px;
}

.hx-article-body a:hover {
    text-decoration-color: var(--hx-gold);
}

.hx-article-body ul,
.hx-article-body ol {
    padding-left: 1.35rem;
}

.hx-article-body li + li {
    margin-top: 0.4em;
}

.hx-article-body blockquote {
    margin: 1.6em 0;
    padding: 0.15rem 0 0.15rem 1.2rem;
    border-left: 3px solid var(--hx-gold);
    color: var(--hx-muted);
    font-style: italic;
}

.hx-article-body blockquote p + p {
    margin-top: 0.8em;
}

.hx-article-body hr {
    margin: 2.2em 0;
    border: 0;
    border-top: 1px solid var(--hx-border);
}

.hx-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hx-article-body code {
    padding: 0.08rem 0.35rem;
    border: 1px solid var(--hx-border);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--hx-gold-soft);
    font-family: var(--hx-mono);
    font-size: 0.85em;
}

.hx-article-body pre {
    overflow-x: auto;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--hx-border);
    border-radius: 10px;
    background: rgba(5, 5, 6, 0.78);
    font-size: 0.85rem;
    line-height: 1.65;
}

.hx-article-body pre code {
    padding: 0;
    border: 0;
    background: transparent;
}

.hx-article-body sup,
.hx-article-body sub {
    line-height: 0;
}

/* ---------- Tag ---------- */

.hx-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.9rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--hx-border);
}

.hx-tags-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.3rem;
    color: var(--hx-muted-2);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hx-tags-label .bi {
    color: var(--hx-gold);
}

.hx-tag {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--hx-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--hx-muted);
    font-size: 0.75rem;
}

a.hx-tag:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--hx-gold-soft);
}

/* ---------- Bagian artikel ---------- */

.hx-article-section {
    margin-top: 3rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--hx-border);
    scroll-margin-top: 6rem;
}

.hx-article-section-head {
    max-width: 72ch;
    margin-bottom: 1.5rem;
}

.hx-article-eyebrow {
    color: var(--hx-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hx-article-section-title {
    margin-top: 0.4rem;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.2;
}

.hx-article-section-sub {
    margin-top: 0.5rem;
    color: var(--hx-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ---------- Tokoh ---------- */

.hx-figure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.9rem;
}

.hx-figure-card {
    display: flex;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--hx-border);
    border-radius: 12px;
    background: rgba(20, 20, 22, 0.7);
}

.hx-figure-card-link {
    color: inherit;
    transition: border-color 150ms ease, transform 150ms ease;
}

.hx-figure-card-link:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: inherit;
    transform: translateY(-1px);
}

.hx-figure-portrait {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    color: var(--hx-gold);
    font-family: var(--hx-serif);
    font-size: 1.4rem;
}

.hx-figure-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-figure-name {
    font-size: 1rem;
}

.hx-figure-life {
    margin-top: 0.15rem;
    color: var(--hx-gold-soft);
    font-family: var(--hx-mono);
    font-size: 0.72rem;
}

.hx-figure-role {
    margin-top: 0.2rem;
    color: var(--hx-muted);
    font-size: 0.78rem;
}

.hx-figure-bio {
    margin-top: 0.45rem;
    color: var(--hx-muted-2);
    font-size: 0.8rem;
    line-height: 1.65;
}

.hx-figure-note {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed var(--hx-border);
    color: var(--hx-muted);
    font-size: 0.76rem;
    font-style: italic;
}

/* ---------- Referensi ---------- */

.hx-ref-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hx-ref {
    display: flex;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--hx-border);
    border-radius: 12px;
    background: rgba(20, 20, 22, 0.66);
}

.hx-ref-number {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--hx-gold);
    font-family: var(--hx-mono);
    font-size: 0.72rem;
}

.hx-ref-body {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    min-width: 0;
}

.hx-ref-type {
    align-self: flex-start;
    padding: 0.14rem 0.45rem;
    border: 1px solid var(--hx-border);
    border-radius: 5px;
    color: var(--hx-muted-2);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hx-ref-title {
    color: var(--hx-text);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.hx-ref-title .bi {
    margin-left: 0.15rem;
    color: var(--hx-muted-2);
    font-size: 0.72rem;
}

.hx-ref-author {
    color: var(--hx-muted);
    font-size: 0.83rem;
}

.hx-ref-meta {
    color: var(--hx-muted-2);
    font-family: var(--hx-mono);
    font-size: 0.72rem;
}

.hx-ref-notes {
    margin-top: 0.2rem;
    color: var(--hx-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.hx-ref-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.9rem;
    margin-top: 0.15rem;
}

.hx-ref-archive {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--hx-gold);
    font-size: 0.76rem;
    font-weight: 600;
}

.hx-ref-accessed {
    color: var(--hx-muted-2);
    font-size: 0.72rem;
}

.hx-article-empty {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border: 1px dashed var(--hx-border-strong);
    border-radius: 12px;
    color: var(--hx-muted);
    font-size: 0.87rem;
    line-height: 1.7;
}

.hx-article-empty .bi {
    color: var(--hx-warn);
    font-size: 1.05rem;
}

/* ---------- Sitasi ---------- */

.hx-cite-box {
    margin: 0;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--hx-border);
    border-left: 3px solid var(--hx-gold);
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.055);
    color: #e9e3d7;
    font-family: var(--hx-serif);
    font-size: 0.98rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.hx-cite-box p {
    margin: 0;
}

.hx-cite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.hx-article .hx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--hx-border-strong);
    border-radius: 9px;
    background: transparent;
    color: var(--hx-text);
    font-family: var(--hx-sans);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.hx-article .hx-btn-gold {
    border-color: rgba(212, 175, 55, 0.55);
    background: linear-gradient(180deg, #dcb848, #c39c2d);
    color: #1b1608;
}

.hx-article .hx-btn-gold:hover {
    background: linear-gradient(180deg, #e8c965, #d4af37);
    color: #141005;
}

.hx-article .hx-btn-ghost:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.08);
    color: var(--hx-gold-soft);
}

.hx-cite-permalink {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.1rem;
    color: var(--hx-muted-2);
    font-size: 0.75rem;
}

.hx-cite-permalink > span {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hx-cite-permalink a {
    color: var(--hx-gold-soft);
    font-family: var(--hx-mono);
    font-size: 0.74rem;
    overflow-wrap: anywhere;
}

.hx-copy-link {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--hx-border);
    border-radius: 6px;
    background: transparent;
    color: var(--hx-muted);
    cursor: pointer;
}

.hx-copy-link:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--hx-gold);
}

/* ---------- Bagikan (kotak) ---------- */

.hx-share-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--hx-border);
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(212, 175, 55, 0.055), rgba(20, 20, 22, 0.66) 55%);
}

.hx-share-title {
    font-size: 1.1rem;
}

.hx-share-sub {
    margin-top: 0.2rem;
    color: var(--hx-muted-2);
    font-size: 0.82rem;
}

.hx-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hx-share-btn.is-wide {
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 0.4rem 0.75rem;
    gap: 0.4rem;
    font-family: var(--hx-sans);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Panel samping ---------- */

.hx-article-aside {
    position: sticky;
    top: 6rem;
    display: grid;
    gap: 1rem;
}

.hx-article-facts {
    padding: 1.3rem;
}

.hx-article-facts .hx-facts {
    margin-top: 0.9rem;
}

.hx-article-facts .hx-facts dd {
    font-family: var(--hx-sans);
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.hx-article-label {
    padding: 1.3rem;
}

.hx-article-label .hx-cred {
    margin-bottom: 0.9rem;
}

.hx-article-label p {
    margin-top: 0.5rem;
    color: var(--hx-muted);
    font-size: 0.84rem;
    line-height: 1.7;
}

.hx-article-label-note {
    padding-top: 0.6rem;
    border-top: 1px solid var(--hx-border);
    color: var(--hx-muted-2) !important;
    font-size: 0.76rem !important;
}

/* ---------- Artikel terkait ---------- */

.hx-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hx-related-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hx-border);
    border-radius: 13px;
    background: linear-gradient(168deg, var(--hx-panel-2), var(--hx-panel));
    color: inherit;
    transition: border-color 160ms ease, transform 160ms ease;
}

.hx-related-card:hover {
    border-color: rgba(212, 175, 55, 0.34);
    color: inherit;
    transform: translateY(-2px);
}

.hx-related-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(122, 31, 31, 0.35), rgba(20, 20, 22, 0.8));
}

.hx-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hx-related-thumb-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(212, 175, 55, 0.55);
    font-size: 1.8rem;
}

.hx-related-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.05rem 1.15rem;
}

.hx-related-meta {
    color: var(--hx-gold);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hx-related-title {
    font-size: 1.02rem;
    line-height: 1.35;
}

.hx-related-text {
    color: var(--hx-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.hx-related-time {
    margin-top: auto;
    padding-top: 0.4rem;
    color: var(--hx-muted-2);
    font-size: 0.72rem;
}

.hx-related-time .bi {
    color: var(--hx-gold);
}

/* ---------- Responsif ---------- */

@media (max-width: 991.98px) {
    .hx-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.6rem;
    }

    .hx-article-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767.98px) {
    .hx-article-container {
        padding-inline: 1.15rem;
    }

    .hx-article-header {
        padding-top: 1.1rem;
    }

    .hx-article-title {
        max-width: none;
    }

    .hx-article-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .hx-article-cover {
        margin-bottom: 1.7rem;
    }

    .hx-article-cover-frame img {
        max-height: 380px;
    }

    .hx-article-cover-caption {
        flex-direction: column;
    }

    .hx-article-body {
        font-size: 1.04rem;
    }

    .hx-article-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .hx-ref {
        padding: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hx-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hx-article-share {
        gap: 0.35rem;
    }

    .hx-article-tools-actions {
        width: 100%;
    }

    .hx-tool-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .hx-cite-actions .hx-btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .hx-share-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ---------- Cetak ---------- */

@media print {
    @page {
        margin: 16mm;
    }

    .hx-body {
        background: #fff;
        color: #111;
    }

    .hx-header,
    .hx-footer,
    .hx-breadcrumb,
    .hx-article-tools,
    .hx-article-share,
    .hx-share-section,
    .hx-related,
    .hx-copy-status,
    .hx-skip-link {
        display: none !important;
    }

    .hx-article-header,
    .hx-article-layout {
        padding: 0;
    }

    .hx-article-layout {
        display: block;
    }

    .hx-article-aside {
        position: static;
        display: block;
        margin-top: 18pt;
    }

    .hx-article-aside .hx-panel + .hx-panel {
        margin-top: 10pt;
    }

    .hx-article-title {
        color: #111;
        font-size: 24pt;
        max-width: none;
    }

    .hx-article-lede,
    .hx-article-byline,
    .hx-article-section-sub,
    .hx-article-label p,
    .hx-figure-bio,
    .hx-ref-author,
    .hx-ref-notes,
    .hx-ref-meta,
    .hx-ref-accessed {
        color: #444;
    }

    .hx-article-body {
        color: #111;
        font-size: 11pt;
        line-height: 1.55;
    }

    .hx-article-body a {
        color: #111;
        text-decoration: none;
    }

    .hx-article-body h2,
    .hx-article-body h3,
    .hx-article-body h4 {
        color: #111;
        break-after: avoid;
    }

    .hx-article-body blockquote {
        color: #333;
        border-left-color: #999;
    }

    .hx-article-body pre,
    .hx-article-body code {
        border-color: #bbb;
        background: #f4f4f4;
        color: #111;
    }

    .hx-cred,
    .hx-article-flag,
    .hx-tag,
    .hx-tool-btn,
    .hx-share-btn,
    .hx-ref,
    .hx-figure-card,
    .hx-panel,
    .hx-content-warning,
    .hx-article-empty,
    .hx-cite-box {
        border-color: #bbb;
        background: #fff;
        color: #111;
        box-shadow: none;
    }

    .hx-content-warning {
        border-left: 3px solid #111;
    }

    .hx-content-warning > .bi,
    .hx-cred .bi,
    .hx-article-flag .bi,
    .hx-byline-item .bi,
    .hx-figure-life,
    .hx-article-eyebrow,
    .hx-ref-number {
        color: #333;
    }

    .hx-article-cover-frame {
        border-color: #bbb;
        box-shadow: none;
    }

    .hx-article-cover-frame img {
        max-height: 9cm;
    }

    .hx-article-cover,
    .hx-cite-box,
    .hx-ref,
    .hx-figure-card {
        break-inside: avoid;
    }

    .hx-article-section {
        break-inside: avoid;
    }

    .hx-cite-actions,
    .hx-copy-link {
        display: none !important;
    }

    .hx-cite-permalink a {
        color: #111;
    }
}
