/* --- Reference trong bài --- */
sup.fn {
    vertical-align: baseline !important; /* bỏ superscript */
    font-size: inherit;                  /* đồng bộ với text */
}

sup.fn a {
    text-decoration: none;               /* bỏ underline */
    font-weight: normal;
    color: inherit;
}

sup.fn a::before {
    content: ' [';
}

sup.fn a::after {
    content: ']';
}





/* --- Footnote list --- */
/* Ẩn footnote gốc */
.wp-block-footnotes {
    display: none !important;
}

/* Khung hiển thị footnote inline */
.fn-inline-box {
    border: 1px solid #7a7a7a;
    padding: 0.5em 1em;
    margin: 0.4em 0em 0.4em 1em;
    border-radius: 10px;
    display: none; /* mặc định ẩn */
    font-size: 0.95em;
    position: relative;

}


.fn-inline-title {
    font-weight: bold;
    display: block;
    margin-bottom: 0.4em;
}