@font-face {
    font-family: 'Eras Bold ITC';
    src: url('./fonts/eras-itc-bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Eras Demi ITC';
    src: url('./fonts/eras-itc-demi.ttf') format('truetype');
    font-weight: normal;
}

.eras-bold {
    font-family: 'Eras Bold ITC', sans-serif;
    font-weight: bold;
}

.eras-demi {
    font-family: 'Eras Demi ITC', sans-serif;
    font-weight: normal;
}

.yellow {
    color: #FFCA11;
}

/* 确保图片正方形裁剪显示 */
.publication-image {
    width: 5rem; /* 80px, 等同于 w-20 */
    height: 5rem; /* 80px, 等同于 h-20 */
    object-fit: cover;
    object-position: left center; /* 左对齐裁剪 */
    border-radius: 0.5rem; /* 等同于 rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* 等同于 shadow-md */
}